Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by bzvestey · Jul 25, 2012 at 06:02 PM · androidjavaapkcertificate

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?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bzvestey · Aug 28, 2012 at 03:43 PM 0
Share

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

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges