To re-sign the APK using Re-sign.jar

Source: Internet
Author: User

Get ready:

①re-sign.jar re-signing Tool: ( for: Http://troido.de/downloads/category/1);

② to be re-signed APK;

    re-signing steps:① Right- Re-sign.jar, in "Open with", select "Java (TM) Platform SE binary" option, after opening, display as follows:    ②Next, the image has been marked, drag your apk into the;③ Select a save location and click on the "Save" button in the diagram to finish. The following prompt will pop up:

This interface shows that your apk has been re-signed successfully, and the signature method here is the debug signature. also found the package name and main class name of the apk you want to test:Package Name: Com.wandoujia.phoenix2Main class name: Com.wandoujia.p4.activity.ExploreActivityonce the signature is successful, you can install the debug-signed apk into the real machine or simulator.

?. To install the re-signed APK file in the simulator, the steps are as follows: (similar to the simulator installed in the real machine, specific operation, Google or Baidu can be)

1) Open the Android SDK installation directory

2) Locate the Platform-tools directory under the SDK

3) put the re-signed APK file in this directory

4) Open command prompt: cmd

5) CD .../sdk/platform-tools

6) Open the simulator to install APK

7) Run command:adb install testedapp.apk. See success, the APK has been installed successfully.

Ps: Before installing the APK, make sure the old version of the app has been uninstalled in the simulator. Otherwise, executing the command will prompt that the installation failed.

Resources:

http://fengbohaishang.blog.51cto.com/5106297/999764

To re-sign the APK using Re-sign.jar

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.