Hi all,
After I’d update ‘Apple Software Update’ today (4/17/2013).
I could not install with apk binary.
Here are the java version information and out error from adb.
$ java -version java version "1.6.0\_43" Java(TM) SE Runtime Environment (build 1.6.0\_43-b01-447-11M4203) Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode) $ $ adb devices List of devices attached LG-F240S-ccc7889a device $ adb install IBKGG-ng.apk 5064 KB/s (12345500 bytes in 2.380s) pkg: /data/local/tmp/IBKGG-ng.apk Failure [INSTALL\_PARSE\_FAILED\_CERTIFICATE\_ENCODING]
However, I could install successfully on the other computer(pc) with java version 1.6.0_24.
So I did compare one of file from APK pakages.
diff -urN IBKGG-ng/META-INF/MANIFEST.MF IBKGG-ok/META-INF/MANIFEST.MF --- IBKGG-ng/META-INF/MANIFEST.MF 2013-04-17 17:02:36.000000000 +0900 +++ IBKGG-ok/META-INF/MANIFEST.MF 2013-04-17 13:07:12.000000000 +0900 @@ -1,5 +1,5 @@ Manifest-Version: 1.0 -Created-By: 1.6.0\_43 (Apple Inc.) +Created-By: 1.6.0\_24 (Sun Microsystems Inc.)
Here are the logs of adb:
$ adb devices List of devices attached LG-F240S-ccc7889a device $ adb install IBKGG-ok.apk 4770 KB/s (12327190 bytes in 2.523s) pkg: /data/local/tmp/IBKGG.apk Success
I use Corona SDK 2013 build 2086 on mac, 2080 on pc.
Could anyone knows about these?
Should I downgrade java runtime environment?
Hi @neoroman,
I’d suggest reinstalling/repairing JDK6 as the first step, and see what happens. If that doesn’t help, please report back here and we’ll try to narrow it down further.
Thanks,
Brent
I am pretty sure about this. I found my MacBook Air not install that version of java 1.6.0_45 (17 Apr).
The build binary from my MacBook Air completely OK for this matter.
Here is a screen shot of the apple software update.

If you install that software update from Apple you would meet install error [INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING] from Android devices.
Hi @neoroman,
I’d suggest reinstalling/repairing JDK6 as the first step, and see what happens. If that doesn’t help, please report back here and we’ll try to narrow it down further.
Thanks,
Brent
I am pretty sure about this. I found my MacBook Air not install that version of java 1.6.0_45 (17 Apr).
The build binary from my MacBook Air completely OK for this matter.
Here is a screen shot of the apple software update.

If you install that software update from Apple you would meet install error [INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING] from Android devices.
I found a following URL for change JDK 7 to 6 for building Android.
http://support.apple.com/kb/HT5559?viewlocale=en_US&locale=en_US
However my android app from Corona Simulator still have “Created-By: 1.6.0_43 (Apple Inc.)”.
How to reinstall JAVA SDK 6 on mac os x (Mountain Lion 10.8.3)?
Hi @neoroman,
This version should be JDK 6, unless I’m reading the release notes incorrectly:
http://www.oracle.com/technetwork/java/javase/6u43-relnotes-1915290.html
I apologize, I’m not an expert on JDK/Java, but you should now have the correct version. Is there some other issue that’s occurring when you try to build with Corona? If there is, I can ask the higher authorities on this and let you know.
Brent
Hi Brent,
I did install JDK 7 from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html on my Mac OS X (Mountain Lion 10.8.3).
I still met failure [INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING].
So I try it on my window machine with same source of lua then it’s fine for installing on Android device.
It’s happened only on Mac OS X machine and I used the default debug.keystore for building APK for google play store.
Please let me out of it…!
Hi @neoroman,
I’m a bit confused now… if you followed the Apple support article (http://support.apple.com/kb/HT5559), your computer should be reverted to JDK6… that is version “1.6.0_43” or similar. Did the uninstall process (of JDK7) not work for some reason?
Brent
I found a following URL for change JDK 7 to 6 for building Android.
http://support.apple.com/kb/HT5559?viewlocale=en_US&locale=en_US
However my android app from Corona Simulator still have “Created-By: 1.6.0_43 (Apple Inc.)”.
How to reinstall JAVA SDK 6 on mac os x (Mountain Lion 10.8.3)?
Hi @neoroman,
This version should be JDK 6, unless I’m reading the release notes incorrectly:
http://www.oracle.com/technetwork/java/javase/6u43-relnotes-1915290.html
I apologize, I’m not an expert on JDK/Java, but you should now have the correct version. Is there some other issue that’s occurring when you try to build with Corona? If there is, I can ask the higher authorities on this and let you know.
Brent
Hi Brent,
I did install JDK 7 from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html on my Mac OS X (Mountain Lion 10.8.3).
I still met failure [INSTALL_PARSE_FAILED_CERTIFICATE_ENCODING].
So I try it on my window machine with same source of lua then it’s fine for installing on Android device.
It’s happened only on Mac OS X machine and I used the default debug.keystore for building APK for google play store.
Please let me out of it…!
Hi @neoroman,
I’m a bit confused now… if you followed the Apple support article (http://support.apple.com/kb/HT5559), your computer should be reverted to JDK6… that is version “1.6.0_43” or similar. Did the uninstall process (of JDK7) not work for some reason?
Brent