How can I prevent JD-GUI and JD-Eclipse from viewing their own code?

Source: Internet
Author: User
I found a jd-gui decompilation tool in my Android learning process. The developer has a way to prevent jd-gui from checking your code! I found a jd-gui decompilation tool in my Android learning process. The developer has a way to prevent jd-gui from checking your code!

Reply content:

I found a jd-gui decompilation tool in my Android learning process. The developer has a way to prevent jd-gui from checking your code!

Java code obfuscation

UseProguardTo confuse the code.

AndroidStuidoA project is automatically created when it is generated.ProguardYou only need to customize the configuration file.

Http://developer.android.com/guide/developing/tools/proguard.html

When using jd-gui to view class files, some methods or classes are often found and cannot be displayed normally.

Enter the image description

We can use this bug to prevent jd-gui from decompiling our class files.
Http://blog.segmentfault.com/aijiami/1190000000635798
App security detection platform (http://safe.ijiami.cn ).

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.