breautek commented on issue #1791:
URL: 
https://github.com/apache/cordova-android/issues/1791#issuecomment-2744268145

   Can you provide your full `config.xml`?
   
   > im was using the correct npm cordova-serve-android command to serve on 
emulator, but i was building with cordova build android --release instead npm 
cordova-build-android, maybe this is the problem, i'll wait the update to see 
if it works. Thanks for the help!
   
   `cordova build android --release` / `cordova run android --release` should 
make the app with release mode, and `run` command will run on device or 
emulator. Actually publishing to Google Play shouldn't be necessary to test 
release builds.
   
   the `npm cordova-serve-android` / `npm cordova-build-android` commands are 
not part of a typical cordova project so I'm not familiar with them or what 
they do behind the scenes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to