Android project obfuscation and Decompilation

Source: Internet
Author: User

I. obfuscation of engineering documents

Mixed File Download: http://download.csdn.net/detail/lxq_xsyu/6328751

1. Add the progard. cfg file to the root directory.

2. Open project. properties and add proguard. config = proguard. cfg below

# This file is automatically generated by Android Tools.# Do not modify this file -- YOUR CHANGES WILL BE ERASED!## This file must be checked in Version Control Systems.## To customize properties used by the Ant build system edit# "ant.properties", and override values to adapt the script to your# project structure.## To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt# Project target.target=android-18proguard.config=proguard.cfg
If no other jar package is added to your project, it will be OK.

Ii. decompilation of apk files

Tool download: http://download.csdn.net/detail/lxq_xsyu/6329011

1. decompress the dex2jar.zip File

2. decompress the apk File


3. Put the classes. dex file into the folder where the dex2jar. bat file is located in the dex2jar package after decompression.

4. ctrl + r

5. Enter cmd.

6. Go to the console and go to the directory where dex2jar. bat is located and run dex2jar. bat classes. dex.

7. Open the classes_dex2jar.jarfile in the directory with jd-gui.exe


In this case, OK.

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.