Fix prompt signing conflict when Android app installs quickly, Android signature file generation (GO)

Source: Internet
Author: User

Recently developed an Android phone application, its own installation with Eclipse debugging no problem, using other people debugging generated under the bin of the APK will be a problem, install to the last prompt "Install signature conflict" error, think of the estimate is not to give the APK unified signature caused, Here's how to solve this problem.

Reprinted from http://www.cnblogs.com/zhoujg/p/3455674.html generate KeyStore file

Command:keytool-genkey-v-keystore "C:\android\release\relase.keystore"-alias androidbook–storepass paxxword-keyalg Rsa-validity 14000

To sign an application

There are many ways to sign an application, this article does not introduce more, the most convenient is to directly use the ADT tool to export the signature package. Right-click Project menu-->android Tools--Export Signed application package

The workaround is as follows:

Remove the run full error check when the exporting app is in front of you.

If there is a similar "" Your_string_name "is not translated in AF, AM, AR, be, BG, CA, CS, Da, DE, El, En-rgb, ES, Es-rus, ET, fa, Fi, fr , Hi, HR, Hu, in, it, IW, Ja, ko, lt, lv, MS, NB, NL, pl, PT, pt-rpt, RO, Ru, SK, SL, SR, SV, SW, TH, TL, TR, UK, VI, ZH-R TW, zu strings.xml/projectname/res/values line Android Lint problem "error, in Will"missingtranslation"from "fatal" is changed to "warning" or "warning" option below.

Go on

After solving the above problem should be no problem, continue to export the signature package, the following dialog may appear, meaning that you need to set the debugable

However, only android:debuggable= "true" can we debug the Android program on the phone. Fortunately, when you run this way with Eclipse, its Debug property is True, and its Debug property is false when packaged with eclipse export, so it's best not to set Android in Androidmainifest.xml: The Debuggable property is set, but the value is determined by the packaging method.

Now the androidmainifest.xml in the android:debuggable= "true" Delete, this time there is no error

Select the KeyStore file and enter the password

Set the key alias and enter the password. This is the password that was entered when the Keytools was generated earlier.

If there is an export times error: Conversion to Dalvik format failed with Error1, right-click Project, Properties, Java Build Path, Libraries-> ; Remove all jars, and then right-click Project---Fix project Properties

Fix prompt signing conflict when Android app installs quickly, Android signature file generation (GO)

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.