JEWEL
June 18, 2021, 9:23am
1
Hello Everyone, I need help with proguard rules..
I've some java projects which is for making extensions.
But I want to protect my code from decompiler.
Also I want to change classes name like this except main class.
I've did this manually but I want to learn that, how can I do this with proguard automatically.
If anyone know about this proguard rules, please help me?
(Thanks for your valuable time)
Try using this..
-verbose
-dontnote **
-optimizationpasses 3
-allowaccessmodification
-dontskipnonpubliclibraryclasses
-mergeinterfacesaggressively
-overloadaggressively
-useuniqueclassmembernames
-repackageclasses ''
-keep public class * {
public protected *;
}
JEWEL
June 18, 2021, 1:01pm
3
I'm already using this rules which rules you wrote here, it's not working with public classes which are not main class but related with package name.
That's why I've create this topic get any solution. By the way thanks for your time.
3 Likes
So, I tried and found this diving my java file in parts, try this once
-verbose
-dontnote **
-optimizationpasses 3
-allowaccessmodification
-dontskipnonpubliclibraryclasses
-mergeinterfacesaggressively
-keep class com.facebook.ads.** { *; }
-overloadaggressively
-useuniqueclassmembernames
-repackageclasses ''
-keep public class * {
public protected ;
}
-keepattributes InnerClasses
-dontshrink
-dontoptimize
-keep class com.yourpackagename. * { *; }
system
Closed
November 7, 2024, 9:24am
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.