Another INSTALL_PARSE_FAILED_NO_CERTIFICATES ANDROID JDK 1.6

I can confirm that the only thing that worked for me was to add martin.scott4’s set-debug-mode stuff to build.xml, and then manually sign it using jarsigner:

jarsigner -verbose -keystore home/.android/debug.keystore pathto/myapp-debug.apk androiddebugkey

I just want to reiterate that this is STILL a problem. The sample build.xml specified for debug builds will successfully build the apk, but the apk WILL NOT install on the device and errors out with:

Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

 

Is it even possible to have a debug build of a corona enterprise app? If it is possible, why are the samples provided by Corona wrong? Very frustrating…

@martin.scott4

I noticed in one of your responses that you mentioned you can modify the build.xml file to produce a debug apk but that it will not be signed. Is there a way to further modify it so that it is automatically signed with the android sdk debug store?

For debug builds, what I did was create a “build_debug.sh” script beside the build.sh script changing the “ant” line near the end:

ant debug -D"CoronaEnterpriseDir"="$CORONA_PATH"

Change the release to debug.

It should produce a bin/yourapp-debug.apk file that you can install.

Rob

Hi rob, 

Thanks for your reply. I have done just that. It produces a debug apk, but when you try to install it, you will get the error as described:

Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

That is why I was saying the sample build files for debug are broken :frowning:

I’m checking with Engineering.  This should be working.

Hi Rob,

Any word back?

Thanks

Not yet.

I can confirm that the only thing that worked for me was to add martin.scott4’s set-debug-mode stuff to build.xml, and then manually sign it using jarsigner:

jarsigner -verbose -keystore home/.android/debug.keystore pathto/myapp-debug.apk androiddebugkey