• 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 Nekoyoubi · Jul 27, 2011 at 02:18 PM · androidapksigning

Android APK signing

I'm not really sure how the APK signing is supposed to work really, so I thought I'd ask here and see if others might be willing to impart some advice.

When signing with Unity, I have a keystore setup (took me a bit of digging around on the web, but I got it). Should this keystore be used for everything or just for this one game?

Also, there are the public and private keys that I need to sign with a particular password. Should these be the same, different, or is it mostly irrelevant? Also, does one or more of these need to change between projects?

Sorry to be such a noob on this, but I'm mostly used to internal corporate development, where signing just doesn't ever take place.

Thanks much in advance for any and all advice anyone can provide.

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
0

Answer by kimstock · Sep 16, 2011 at 10:12 PM

Hi, I would also like some info on this as i signed my apk using unity and uploaded it to the android market and when i try to download and install it, it says "Installation error: Package file was not signed correctly"

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
avatar image
0

Answer by MD_Reptile · Sep 26, 2012 at 07:00 PM

@kimstock thats not an answer, use comments or even better, ask your own question for help.

@Nekoyoubi you use it for that particular game - most generally, and its VERY important you remember that password information later, TRUST ME! write that keystore password/username password down!

now as for making a single game, you use a single signature (keystore, all that stuff) and when you make another unique game (or sequel or expansion pack...idk) then you use a different keystore and password and such...and again DO NOT FORGET THAT PASSWORD OR YOUR APP MUST BE RE-UPLOADED THUS LOSING ALL DOWNLOADS (atleast the figure of your downloads) AND FORCING YOU TO USE A NEW KEYSTORE!!! I cant stress this enough!

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Export key certificate to PEM format 0 Answers

Problem when building/signing .apk 0 Answers

Can't sign APK for google play store export,How to use Keystore with unity after update? 0 Answers

Error when trying to make a signed build in Unity3D 0 Answers

Android - Failed to sign APK package: Unsupported major.minor version 52.0 {SOLVED} 1 Answer

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