Summary of Android keystore Problems

Source: Internet
Author: User

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.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.