Why should I sign?
With so many people developing Android, it's entirely possible that we all put the class name, the package name, in the same name, how do you differentiate it? Signature is a distinguishing function.
Since the developer may be confused by using the same package name to replace the installed program, the signature can guarantee a considerable name, but the signature of different packages is not replaced.
APK If you use a key signature, a file signed by another key when it is published will not install or overwrite the old version, preventing your installed app from being overwritten or replaced by a malicious third party.
This signature is actually a developer's identity. When something happens in a transaction, a signature can prevent it from happening.
Eclipse+adt build Android app signature ( signature is stored in Eclipse 's root directory by default) )
1. Right-click Project in Eclipse Project, select android tool in the pop-up option - generate signature app package:
2. Select the android Project project that needs to be packaged:
3. If you have a private key file, select the private key file to enter the password, if you do not see steps 6 and 7 to create a private key file:
4. Enter the private key alias and password:
5. Select the location of the APK store and complete the setup to start the build:
6. If you do not have a private key file, create a private key file:
7. Enter the required information for the private key file and create:
*own a little add:Sdkthe installation directory finally do not have Chinese and white space, otherwise there will be unnecessary errors. If your installation path containsProgram Files(with spaces), withADTpacking will be an error,Antthe way the package will also be error-free, no reload, workaround: ConfigureSDkenvironment variables and theEclipsein the configurationSDKpath to the time to putProgram Filesinsteadprogra~1can be. (And it's not going to change to anything else, it's onlyprogra~1, do not believe to try, this isDosspecifications).
Android APK Signature