When I meteor run android-device
, with my attached phone with debug-mode enabled, I consistently get the below:
While running Cordova app for platform Android with options --device:
Error: Command failed: /Users/me/Meteor/tmoy/.meteor/local/cordova-build/platforms/android/cordova/run --device
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
{ CordovaError: Failed to install apk to device: [ 0%] /data/local/tmp/android-debug.apk
[ 0%] /data/local/tmp/android-debug.apk
...
[ 14%] /data/local/tmp/android-debug.apk
[ 14%] /data/local/tmp/an
at ChildProcess.exitCallback (/tools/utils/processes.js:151:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
/Users/me/.meteor/packages/coffeescript/.1.0.17.1nqxujc.8yuxj++os+web.browser+web.cordova/plugin.compileCoffeescript.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:116
throw error;
^
ExitWithCode:1
When I…
meteor build --server=https://myapp.meteorapp.com/ ../../myfolder
followed by jarsigner
and zipalign
, followed by uploading the .apk to Google Play, downloading it and starting the app on my phone, I get, as a popup on top of the splash screen, …
Application Error
There was a network error. (http://localhost:12264)
All this is preventing me from updating my app on Google Play.
How to resolve this?