Eclipse Import Android Signature

Source: Internet
Author: User
Tags pk12 pkcs 12 pkcs12

This article mainly refers to http://blog.csdn.net/wuxy_shenzhen/article/details/20946839

A similar install_failed_shared_user_incompatible error is often encountered when installing an Android apk, which is a signature error. Especially when you push into the system when you want to build the apk in eclipse, it's more cumbersome to manually sign in to eclipse, which is especially important when creating an APK with automatic signature.

First, generate a signature

1.android Source directory build\target\product\security take platform.pk8 Platform.x509.pem into a directory

2. Enter the directory

3. Perform OpenSSL pkcs8-in platform.pk8-inform der-outform pem-out shared.priv.pem-nocrypt//Generate SHARED.PRIV.PEM

4. Perform OpenSSL pkcs12-export-in platform.x509.pem-inkey shared.priv.pem-out shared.pk12-name androiddebugkey//Generate PKCS 12

Enter Export Password: (Enter password Android, default is Android, as the key you made, enter the corresponding password)
Verifying-enter Export Password: (Enter password Android)

5. Generate Debug.keystore

Execute Keytool-importkeystore-deststorepass android-destkeypass android-destkeystore debug.keystore-srckeystore Shared.pk12-srcstoretype Pkcs12-srcstorepass Android-alias Androiddebugkey

Ii. importing Debug.keystore into eclipse

Set "Custom Debug KeyStore" to the keystore you just generated in Eclipse's windows/preferences/android/build.

It is best to clean the project and regenerate the APK after the import is complete.

Eclipse Import Android Signature

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.