Atitit. decompile apk & #160; android source code and prevent decompile apk and atititapk

Source: Internet
Author: User

Atitit. decompile apk android source code and prevent decompiling apk and atititapk

Atitit. decompile apk android source code and prevent decompiling apk

 

1.1. Tool apk reverse assistant 1

1.2. II. Use dex2jar + jd-gui to get the java source code 1 of apk

1.3. Run the command (dex2jar. bat classes. dex) to obtain a jar file 1.

2. Apk file structure 2

 

1.1. Tool apk reverse Assistant

 

1.2. II. Use dex2jar + jd-gui to get the java source code of apk


1. Extract the classes. dex file from the apk package using the decompression tool.

1.3. Run the command (dex2jar. bat classes. dex) to obtain a jar file.


2. decompile the. jar file into a. java file using the jd-gui decompilation tool.

 

However, in some apk files, the characters displayed are not all in the xml file. The original author of the apk wrote some characters in the code. After decompiling, it is stored in the/smali folder. Find them one by one. At last, you will see a lot of Dalvik code files, all with. smali as the file extension. For example, open a. smali file in a text editor and you can see:
Const-string v5, "ServiceMode"

 

 

Author ::★(Attilax)> nickname: old wow's paw (full name: Attilax Akbar Al Rapanui Attila Akba Arla Panui) Chinese name: AI long, EMAIL: 1466519819@qq.com

Reprinted please indicate Source: http://www.cnblogs.com/attilax/

 

 

 

 

2. Apk file structure

Apk adopts the shge zip file...

Classes. dex is the set of all lib jar Classes ..

 

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.