Reply – Gluegen apk won't install on Android 6 (Marshmallow)
Your Name
Subject
Message
or Cancel
In Reply To
Gluegen apk won't install on Android 6 (Marshmallow)
— by philjord philjord
Hi,
I had the Jogl tests running very nicely on my Android phone (HTC M8) last year, the Jogl's Version app was a handy way to see the capabilities of my phone.

However after my phone upgraded to Android 6 Marshmallow none of the Jogamp apps ran anymore with the message  "Unfortunately Jogamps's Jogl Library has stopped"

So I tried to un-install and re-install the apk files using adb, which worked perfectly last time.

The jogl-all-android-armv6.apk and jogl-test-android.apk install without complaint and the icons appear.

However when installing gluegen using this command:
C:\Users\phil\AppData\Local\Android\sdk\platform-tools>adb install c:\temp\jogamp-all-platforms\apk\jogamp-android-launcher.apk

I get this output:
1035 KB/s (33146 bytes in 0.031s)
        pkg: /data/local/tmp/jogamp-android-launcher.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]\

The jogamp files are the latest from here
https://jogamp.org/deployment/jogamp-current/archive/jogamp-all-platforms.7z

So obviously I manually sign the apk file and run zipalign as the internet tells me to
I even run:
"C:\Program Files\Java\jdk1.8.0_25\bin\jarsigner.exe" -verify -verbose -certs c:\temp\jogamp-all-platforms\apk\gluegen-rt-android-armv6.apk

And it says it can see certificates, and it looks very similar to the jogl-all-android-armv6.apk verified output.

However it still gives me the [INSTALL_PARSE_FAILED_NO_CERTIFICATES] error when I attempt to install.

Given that there is no mention of problems elsewhere on the internet I presume I've done something wrong.

Does anyone have any ideas about what my next steps might be?