Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

INSTALL_PARSE_FAILED_NO_CERTIFICATES when using with #151

Open
ligi opened this issue Apr 2, 2017 · 5 comments
Open

INSTALL_PARSE_FAILED_NO_CERTIFICATES when using with #151

ligi opened this issue Apr 2, 2017 · 5 comments

Comments

@ligi
Copy link
Contributor

ligi commented Apr 2, 2017

I want to use spoon on my release builds with this:

testBuildType "release"

unfortunately when running spoon I get INSTALL_PARSE_FAILED_NO_CERTIFICATES. The signing config for release is set in the build.gradle

@vbarthel-fr
Copy link

It might be a little too late, but it seems that gradle is not configured for signing your apk in release. Correct me if I'm wrong, but I guess when you want to build a release version you are using the wizard of AndroidStudio to provide the keystore and password information?

See https://developer.android.com/studio/publish/app-signing.html#gradle-sign section Configure Gradle to sign your APK

@ligi
Copy link
Contributor Author

ligi commented May 16, 2017

thanks for the follow-up. But it is configured correctly - if I do a assembleRelease I am getting a signed apk

@vbarthel-fr
Copy link

Erf, my bad :( I will try to change the test build type on one of my project and see if I have the same error =)

@vbarthel-fr
Copy link

It took me more than expected to make my androidTest build with the "release" build types, but it seems to work for the project I tested on.

Note that I did not run the "spoon" task but rather the "spoonMyVariantReleaseAndroidTest" task since I have a multiple flavors and dimensions.

What version of the spoon-gradle-plugin are you using?

@ligi
Copy link
Contributor Author

ligi commented May 17, 2017

Thanks for the info - then I will try this again - currently I am on 1.2.2 - but I think I was on an older version at this point in time

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants