Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent Meteor app with crosswalk package crashing during compilation for Android?

So I'm trying to add crosswalk to my Meteor project and I'm getting this compile error. I know its crosswalk causing it because if I remove crosswalk it will go away.

While running Cordova app for platform Android with options --device:
   Error: Command failed:                     
   /Users/EXAMPLE/Documents/example/.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 unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.


   /Users/EXAMPLE/Documents/example/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:126
   throw e;
   ^
   ERROR: Failed to launch application on device: ERROR: Failed to install apk
   to device:     pkg: /data/local/tmp/android-armv7-debug.apk
   Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
   at ChildProcess.exitCallback (/tools/utils/processes.js:137:23)
   at ChildProcess.emit (events.js:98:17)
   at Process.ChildProcess._handle.onexit (child_process.js:820:12)

ExitWithCode:1

Any suggestions? Thanks!

like image 678
kaplanmaxe Avatar asked Dec 29 '25 01:12

kaplanmaxe


1 Answers

I figured it out. You have to full uninstall the application from your device first. Settings->Applications->Application Manager->YOUR APP->Clear Data. Then Uninstall.

like image 83
kaplanmaxe Avatar answered Dec 31 '25 17:12

kaplanmaxe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!