-Keep class com. badlogic. gdx. backends. android. ** {*;} is like this, but it is not obfuscated: the class under this package (excluding the sub-Package) will use the class in the third article to store the package of this class, like the above
Code obfuscation in Android programming
What is code obfuscation
Java is a cross-platform and interpreted language. Java source code is compiled into an intermediate "bytecode" and stored in class files. Because of cross-platform requirements, Java
Some native classes cannot be found when the apk is compiled by mm in Android4.4, because it is optimized by produard. I have not encountered this problem in Android4.2.1. What does proguard do? ProGuard is a free java File compression, optimization,
Obfuscation packaging for Android applications1. Add the following proguard.config=proguard.cfg in the project.properties of the engineering document, as shown below:Target=android-8
Proguard.config=proguard.cfg
Eclipse will generate proguard.cfg
Anti-compilation tool : Summed up the Linux, Windows, Mac version, put together on the CSDN download;-- CSDN :[Email protected]:~/decompiler$ tree-l 2.├──linux│├──apktool│├──dex2jar-0.0.9.15│└──jd-gui├──mac│├──apk tool│├──dex2jar-0.0.9.15│└──jd-gui-0
# to enable Proguard in your project, edit project.properties# to define the Proguard.config property as described file.## ADD Project specific Proguard rules here.# by default, the ' flags in ' This file is appended to ' flags specified# in ${sdk.
The previous blog post has written about the apk of the method, the result is really shocking, their hard-working code, the result is so easily by the ulterior motives of the people to steal, crying no place to cry. What should we do in the face of
The need for code confusion must be known to all. Can see this article, explain the code confusion logic, the way is very familiar, here is no longer introduced from 0.Here are just a few common problems and workarounds for using the obfuscation
Receive a new task to code-mix existing projects. There has been some understanding of the confusion, but not enough detail and completeness, knowing that some things are tricky to mix up. But fortunately the current project is not too complex (for
To prevent the code from being deserialized, you need to add confusion. Confusion can also be confused by a third-party apk, or by Proguard in Android.Obfuscation steps:1, configuration confusion file, the name can be arbitrary, here to use proguard-
1. Setting ConfusionLocate the Project.Properties file under engineeringAdd Proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt to the file this is the system.You can also use your own confusing files (so that you can
To prevent the code from being deserialized, you need to add confusion. Confusion can also be confused by a third-party apk, or by Proguard in Android.Obfuscation steps:1, configuration confusion file, the name can be arbitrary, here to use proguard-
Due to work needs, these two days and colleagues in the study of the use of Proguard tools under Android, by looking at the Android website on the introduction of the tool and other relevant information on the network, coupled with their own
Obfuscation and packaging of android applications 1. in the project file. add proguard to properties. config = proguard. cfg, as shown below: target = android-8 proguard. config = proguard. cfg Eclipse generates proguard in the project directory
Android prevents decompilation and Android Decompilation
as we all know, Android is easily decompiled, even though it prevents many code decompiling, currently, the most widely used method is jni, which puts the core code in c ++ and then makes
ProGuard IntroductionProGuard is a well-known open-source project on SourceForge. Official Website: http://proguard.sourceforge.net /.
Java bytecode is generally very easy to decompile. To protect the Java source code, we often confuse compiled
Before this, looked at the next Proguard official website introduction, and searched the relevant information.Proguard IntroductionProguard is a very well-known open source project on SourceForge. Website website is: http://proguard.sourceforge.net/.
What is code obfuscationJava is a cross-platform, interpreted language in which Java source code is compiled into an intermediate "bytecode" stored in a class file. Because of the cross-platform requirements, Java bytecode contains a lot of source
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.