Android APK package obfuscation Encryption

Source: Internet
Author: User

Write down and share it. It is too easy to decompile androidapk. If your SDK is old enough, you can bypass it. If the SDK is new, okay. Obfuscation of APK. It does not mean that ndk should at least encrypt Java, if it is not an open-source project.

The progurad provided by the latest R15 is 4.4. Anyway, I have a problem. What is the RP problem ?, I can't export the APK and keep prompting for errors. Conversion to Dalvik format failed with error 1

If Java is not obfuscated, there will be no problem. The SDK provides the progurad script, but some of the scripts still need to be written by myself. I am not very familiar with it. Note: java files such as reflection cannot be confused and keep is released, otherwise, an error will be reported (Google's ).

See the figure below: Add proguard. Config = proguard. cfg in the property. It will be OK. Android development tools may be quite retarded and you can just study them yourself.

Continue, the current SDK provides version 4.4, cannot export obfuscation package, okay, Update file, http://proguard.sourceforge.net/This URL to download 4.6, don't flip the wall, download, decompress the file directly to Android-SDK-Windows \ tools \ proguard to overwrite the original one.

After obfuscation, You Can decompile it to see if a. Class B. Class is OK. No. Saves csdn resources. If you have any questions, please leave a message, study hard, and make progress together.

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.