- Home /
Issue installing apk using old Cert
I have been trying to upload an update to my android game made in unity, but it seems that nothing is able to sign the apk properly with the old certificate.
To start out with, I was using Unity 3.5.3f2 and Java7u3 when I made the first build, and now that I can not get my hands on that version of unity anymore It seems that everything is unable to quite properly sign my apk made with a certificate made under unity with that setup.
I consistently get this when I try to install to the device:
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Things I have tried:
different versions of java (6u32, 7u2, 7u3, 7u4).
different versions of unity (3.5.2f2, 3.5.3f3, 3.4f1)
multiple different certs (only the java 6 cert was installable, can not upload to store using a different cert unfortunately)
Device and Emulator installs (both failed)
build using my mac instead of windows.
Signing and aligning the apk with the android tools and installing with adb.
The problem seems to be with the certificate, unfortunately I can not just use a different one to upload to Google Play as it requires me to use the same cert as last time.
Does anyone know a way to make the cert work with a new build? maybe the difference in the command the Unity uses to sign the apk?
Answer by clockstone · Aug 28, 2012 at 10:24 AM
I had the same issue and I found out that is was a problem with the generated key in the keystore. Unity seems to create an incorrect key when using the JDK 7. I solved it by generating the key on a different computer that had only JDK 6 installed. You can then use JDK 7 to sign the APK with Unity.
Ya, the problem is that I had already released the app with the old cert, so I had to republish the app with a new certificate...
Your answer
Follow this Question
Related Questions
Android signed APK Installation failed 1 Answer
Android - Failed to sign APK package: Unsupported major.minor version 52.0 {SOLVED} 1 Answer
Export key certificate to PEM format 0 Answers
Android app is not building in Unity, Error “Gradle initialization failed.” 1 Answer
Getting this error when trying to run a game on android 2 Answers