Android apk use debug signature to repackage Eclipse change default debug Signature _android

Source: Internet
Author: User
Tags pack

To repackage existing APK files, the previous Android signature mechanism: Generating KeyStore, signing, and viewing signature information has been introduced. This article describes two other requirements.

Package with the default debug signature

If you are using eclipse to develop a new program, the default will be a debug signature, which is known to the Earth, but what if you want to repack someone and want to use the debug signature?

First need to find your local default signature, generally located under the C:\Users\ username \.android\debug.keystore, copy out, and then pack, pack Order:

Copy Code code as follows:

Jarsigner-verbose-keystore%1-signedjar%2%3 androiddebugkey-digestalg sha1-sigalg Md5withrsa

Where%1 is your debug.keystore location,%2 is the apk after the re-sign, such as 1.signed.apk,%3 is unsigned apk (this is done using Android-apktool to reverse (decompile) using APK) for repackaging. Obviously this is a bat script, so save it as. bat will be very high next time.

The password is: Android

Change Eclipse's default debug signature

The eclipse default generated APK is signed with debug, and if you want to replace it with your own signature, you can change:

Eclipse->preferences->android->build->custom Debug KeyStore, I think it's helpful to develop apps for a multiplayer team.

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.