Hello LiveCoders
I'm trying to do a simple test by building a "Hello world" Android app on a x86 AVD, a featured achievement on LIveCode 9.5
However, it always fails in this stage:
Installation of app failed: adb: failed to install
/tmp/fileuhoo4r.apk: Failure
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Failed to collect certificates from
/data/app/vmd/10435579641.tmp/base.apk
/data/app/vmd/10435579641.tmp/base.apk failed
verification of META-INF/CERT.SF: IO exception
verifying jar cert: Unable to parse the encoded bytes:
Encoding bytes too short]
Performing streamed Install
I already tried by using "Sign for development only", "Do not sign" and even "Sign with my key" and put my path to a "release.keystore", this key created as shown in your tutorials. Nothing worked.
My computer has been used on previous LiveCode versions to test Android apps, so I'm fairly sure it was configured properly...
Please help, I cannot figure out how to solve this...
INSTALL_PARSE_FAILED_NO_CERTIFICATES error
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: INSTALL_PARSE_FAILED_NO_CERTIFICATES error
I'll answer to myself, as it might be useful for other livecoders that could face the same error message.
It turned out that in Edit -> Preferences -> Mobile Support, at "JDK path" I had to remove the path that was pointing to a JDK 8 setup that always worked fine before 9.5 AFAIK, and put the path of the JRE that is included in Android Studio (in my setup, to /usr/local/android-studio/jre). That did the trick at least for me...
It turned out that in Edit -> Preferences -> Mobile Support, at "JDK path" I had to remove the path that was pointing to a JDK 8 setup that always worked fine before 9.5 AFAIK, and put the path of the JRE that is included in Android Studio (in my setup, to /usr/local/android-studio/jre). That did the trick at least for me...