One Idea, If you implement JAVA 8 library with your android projects, then it is impossible to decompile by any tools available. I will show you how you implement that.
There is 2 types of gradle files:
1. Project's gradle.build and
2. App's gradle.build
For point. 1 you make changes like:
There is 2 types of gradle files:
1. Project's gradle.build and
2. App's gradle.build
For point. 1 you make changes like:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
// ADD THIS classpath 'me.tatarka:gradle-retrolambda:3.2.5'
} Then For point 2, there are some additions are required like:apply plugin: 'com.android.application' // ADD THIS apply plugin: 'me.tatarka.retrolambda' android { // ADD THIS compileOptions { targetCompatibility 1.8 sourceCompatibility 1.8 } } Yupp, thats all. My friend. Your codes are secured from any type of reverse engineering. Note: Plus point is you can use LAMBDA with your logic now. And addition with compile 'com.annimon:stream:1.0.9' You can use JAVA STREAM as well.. ;)
No comments:
Post a Comment