Use the Signapk.jar tool to sign the APK file

Source: Internet
Author: User

Signapk.jar is a signature tool in the Android source package.

The code is located in: Android source directory, Signapk.jar can compile build/tools/signapk/get.

Signature files are required when using Signapk.jar signature, we can use testkey.pk8 with Testkey.x509.pemprovided in Android source code, they are located in Android source code build/ Target/product/security directory.

Use the Android-powered signature tool Signapk.jar and the source testkey.x509.pem,testkey.pk8 to re-sign the APK.

Execution:java-jar signapk.jar testkey.x509.pem testkey.pk8 old.apk new.apk is executed after new.apk is the signed file.

(Note: When executing a command, all files are placed in the same directory , if not in the same directory, modify the path).

Meaning: by Signapk.jar This executable jar package, TESTKEY.X509.PEM this public key file and testkey.pk8 this private key file to the OLD.APK signature, the signed file is saved as old.apk.

Use the Signapk.jar tool to sign the APK file

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.