Summarize some issues with Android keystore.
Problems with debug. keystore of Android may cause the following problems:
1. Eclipse clean cannot generate the APK File
This problem occurs because the Debug. keystore of Android has a problem. By default, eclipse automatically generates
Debug. keystore (C: \ Documents ents and Settings \ Administrator \. Android \ Debug. keystore), and
The bin directory generates an APK file with a signature (Debug. keystore). If the clean project cannot generate an APK file, the solution is as follows:
It is to delete Debug. keystore. After cleaning, debug. keystore can be generated again. The date is the current time. Delete the original Debug. keystore Application
ProgramYou need to uninstall or the new APK file cannot be installed (you can change the main directory structure and then install it) because the signatures are inconsistent.
2. Use Google map to display squares
Refer to the previous article.ArticleSolve the problem of using Google for Android
If the keyapi problem cannot be solved
Debug. keystore Delete to obtain the generated key API again. Note that when you release an application, you must generate a new keyapi for the new keystore file.
3. Unable to install new software online (APK)
When a software (APK) needs to be downloaded, updated, installed online, and replaced with the original file, the original and new versions must have the same signature.
Otherwise, the installation fails (re-installation failed due to different application signatures .). Therefore, you need to generate a new keystore file when you release a new application.
Yes), repackage the new APK file. Note: When you use a simulator to test the online software update function, you must note that
The simulator uses the Debug. keystore signature, and the download may be a re-generated keystore file, resulting in installation.
Failed.
4. keystore was tampered with, or password was incorrect
This is an error message when trying to replace Debug. keystore with a new keystore. Therefore, do not try to change the default
Debug. keystore. If you try to generate a new keystore, name it Debug. keystore and place it in c: \ Documents ents and
Settings \ Administrator \. Android \ directory. This will only cause eclipse clean to fail to generate the APK file. If you are not
To change Debug. keystore, you only need to delete Debug. keystore and then clean it in eclipse to generate a new Debug. keystore.