Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cordova] Can't start run android-device anymore #8424

Closed
dnish opened this issue Feb 24, 2017 · 4 comments
Closed

[Cordova] Can't start run android-device anymore #8424

dnish opened this issue Feb 24, 2017 · 4 comments

Comments

@dnish
Copy link

@dnish dnish commented Feb 24, 2017

After upgrading to 1.4.3.1 I was forced to update my SDK tools. If I now try to run

meteor run android-device the building proccess exits with the following error:

cordova-build/platforms/android/build/outputs/apk/android-debug.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1108650963.tmp/base.apk using APK Signature Scheme v2: SHA-256 digest of contents did not verify]]

I'm trying to run the app on a Android 7.0 device.

@abernix
Copy link
Member

@abernix abernix commented Feb 24, 2017

Have you tried deleting your .meteor/local/cordova-build and trying again? It's an entirely new platform, so you may want to consider doing:

meteor remove-platform android
meteor add-platform android

(and for ios, if necessary).

@dnish
Copy link
Author

@dnish dnish commented Mar 4, 2017

@abernix Just tried it, but that didn't work on the first run. I need also to reboot my dev machine to make it work. The funny thing is that I need to reboot for every upgraded Meteor project. So when I've upgraded my project, I need to do:

meteor remove-platform android
meteor add-platform android

-> reboot.

@dnish dnish closed this Mar 4, 2017
@dnish
Copy link
Author

@dnish dnish commented Mar 8, 2017

Have to reopen it, it happens from time to time again, without changing any configuration. Didn't happen before the Meteor update.

@hwillson
Copy link
Member

@hwillson hwillson commented Nov 14, 2017

This should be fixed as of Meteor 1.5.2. Thanks!

@hwillson hwillson closed this Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants