Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R8混淆,补到文档里吧 #270

Open
CatJason opened this issue Feb 24, 2024 · 0 comments
Open

R8混淆,补到文档里吧 #270

CatJason opened this issue Feb 24, 2024 · 0 comments

Comments

@CatJason
Copy link

尤其是这部分,./gradlew --debug 编译完log缺130多个类
-keep class com.squareup.javapoet.**
-keep class com.squareup.otto.**
-keep class com.ss.android.ugc.effectmanager.**
-keep class java.awt.**
-keep class javax.lang.model.**
-keep class org.springframework.**

完整

Koom

-keep class kshark.internal.aosp.** { ; }
-keep class kshark.internal.hppc.
* { ; }
-keep class kshark.internal.
* { ; }
-keep class kshark.
* { *; }

-keep class com.kwai.koom.fastdump.** { *; }

-keep class com.kwai.koom.javaoom.hprof.** { ; }
-keep class com.kwai.koom.javaoom.monitor.
* { ; }
-keep class com.kwai.koom.javaoom.monitor.analysis.
* { ; }
-keep class com.kwai.koom.javaoom.monitor.analysis.
* { ; }
-keep class com.kwai.koom.javaoom.monitor.tracker.
* { ; }
-keep class com.kwai.koom.javaoom.monitor.tracker.model.
* { ; }
-keep class com.kwai.koom.javaoom.monitor.utils.
* { *; }

-keep class com.kwai.koom.base.** { ; }
-keep class com.kwai.koom.base.loop.
* { *; }

-keep class com.kwai.koom.nativeoom.leakmonitor.** { ; }
-keep class com.kwai.koom.nativeoom.leakmonitor.allocationtag.
* { *; }

-keep class com.kwai.koom.javaoom.hprof.** { ; }
-keep class com.kwai.koom.javaoom.monitor.
* { *; }

#Koom 初始化
-keep class kshark.internal.aosp.** { (...); }
-keep class kshark.internal.hppc.** { (...); }
-keep class kshark.internal.** { (...); }
-keep class kshark.** { (...); }

-keep class com.kwai.koom.fastdump.** { (...); }

-keep class com.kwai.koom.javaoom.hprof.** { (...); }
-keep class com.kwai.koom.javaoom.monitor.** { (...); }
-keep class com.kwai.koom.javaoom.monitor.analysis.** { (...); }
-keep class com.kwai.koom.javaoom.monitor.analysis.** { (...); }
-keep class com.kwai.koom.javaoom.monitor.tracker.** { (...); }
-keep class com.kwai.koom.javaoom.monitor.tracker.model.** { (...); }
-keep class com.kwai.koom.javaoom.monitor.utils.** { (...); }

-keep class com.kwai.koom.base.** { (...); }
-keep class com.kwai.koom.base.loop.** { (...); }

-keep class com.kwai.koom.nativeoom.leakmonitor.** { (...); }
-keep class com.kwai.koom.nativeoom.leakmonitor.allocationtag.** { (...); }

-keep class com.kwai.koom.javaoom.hprof.** { (...); }
-keep class com.kwai.koom.javaoom.monitor.** { (...); }

-keep class com.squareup.javapoet.** { ; }
-keep class com.squareup.otto.
* { ; }
-keep class com.ss.android.ugc.effectmanager.
* { ; }
-keep class java.awt.
* { ; }
-keep class javax.lang.model.
* { ; }
-keep class org.springframework.
* { *; }

-keep class com.squareup.javapoet.** { (...); }
-keep class com.squareup.otto.** { (...); }
-keep class com.ss.android.ugc.effectmanager.** { (...); }
-keep class java.awt.** { (...); }
-keep class javax.lang.model.** { (...); }
-keep class org.springframework.** { (...); }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant