• 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
1
Question by FunctionR · Aug 04, 2012 at 06:36 AM · androidapkpackagekeystore

Package file was not signed correctly.

alt textalt text

Error: Package file was not signed correctly.

My apk works in debug mode and installs just fine. However, it gives me that error after I sign it. Trying to install the apk produces the error, even from the Android app store.

What I am using: Unity 3.5.4f1, free version with the free Android publishing license that Unity gave away for free a few months back.

Windows 7, 64 and 32 bit computers, both running Unity as admin.

Android SDK 4.0 (API 14)

The pictures have the Unity settings I tried.

What I tried: I tried using JDK 6 Update 33 instead of 7. I deleted all java, including the JDKs, from my computers and installed them again. I tried different devices, and they all failed to install the apk. I got emails from people as well saying it failed. I discontinued the first apk, created a different Keystore, and uploaded a new one to the Android store and got the same error.

Link to the game, if you want to see the error (free download): https://play.google.com/store/apps/details?id=com.SBE.SC&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5TQkUuU0MiXQ..

I’d appreciate any help.

0.jpg (114.0 kB)
1.png (37.6 kB)
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

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by drawcode · Aug 04, 2012 at 09:50 AM

Your public key is wrong. It cannot be 'soundchallenge' it needs to be your publisher key from the Google Play! store (the last input in your screenshots 'Android Market Licensing (LVL) input labeled 'public key'). Sign up for Google Play and it will give you a public key to paste in (really long block of base64 text) or setup a developer key.

If you have a play account just login at play.google.com/apps/publish and click on 'Edit Profile' then you will see your store public key under 'Licensing & In-app Billing'. Paste that badboy in there and it will sign.

Also be sure your passwords are correct and no spaces, you get strange random errors if that is the case.

Comment
Add comment · Show 3 · 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 FunctionR · Aug 04, 2012 at 01:14 PM 0
Share

I tried that and still cannot install it -- same error.

avatar image drawcode · Aug 04, 2012 at 07:31 PM 0
Share

I'd try to recreate your keystore then. Seems like it is not valid.

http://forum.unity3d.com/threads/62137-Android-Signing

You need to install the JD$$anonymous$$ and have it in your path since it uses 'keytool' but you can also do it manually here: http://developer.android.com/tools/publishing/app-signing.html

avatar image FunctionR · Aug 05, 2012 at 01:44 AM 0
Share

I made a new key in a mac and got it to work. Thanks for your help!

https://play.google.com/store/apps/details?id=com.SBE.SC2&feature=search_result#?t=W251bGws$$anonymous$$SwxLDEsImNvbS5TQkUuU0$$anonymous$$yIl0.

avatar image
0

Answer by Malik Ab · Dec 29, 2013 at 12:41 PM

Hi, I'm facing an issue key --> ALIAS. When I removed it I mean select the default option... my facebook login work correctly and when I assigned my own new one, facebook not work. Please help me if u can.. Thanks

Comment
Add comment · 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

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

9 People are following this question.

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

Related Questions

Error building Player: UnityException: APK Signing Failed! Failed to sign APK package. See the Console for details. 1 Answer

App Doesnt install on device (Android) 1 Answer

Package file not signed correctly 0 Answers

Failed to sign APK package (Unity 2017) 1 Answer

Keystore was tampered with, or password was incorrect 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges