x


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)
more ▼

asked Aug 04, 2012 at 06:36 AM

FunctionR gravatar image

FunctionR
153 5 6 11

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

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.

more ▼

answered Aug 04, 2012 at 09:50 AM

drawcode gravatar image

drawcode
456 1 5 5

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

Aug 04, 2012 at 01:14 PM FunctionR

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 JDK 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

Aug 04, 2012 at 07:31 PM drawcode
Aug 05, 2012 at 01:44 AM FunctionR
(comments are locked)
10|3000 characters needed characters left

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

more ▼

answered Dec 29, 2013 at 12:41 PM

Malik Ab gravatar image

Malik Ab
0

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x4876
x163
x146
x28
x7

asked: Aug 04, 2012 at 06:36 AM

Seen: 8230 times

Last Updated: Dec 29, 2013 at 12:41 PM