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

默认的 consumer-rules.pro 将导致使用者在不知情的情况下无法混淆整个工程 #2

Closed
drakeet opened this issue Aug 10, 2020 · 1 comment

Comments

@drakeet
Copy link

drakeet commented Aug 10, 2020

-dontobfuscate

@AndroidInternal
Copy link
Contributor

好吧,原来consumer-rules.pro只是简单的合并。之前主要考虑到报bug方便,以为consumer-rules.pro只会影响单个模块,手滑加了这条(:,感谢反馈。

consumer-rules.pro的代码注释里有这段,是必须Keep的,可以先使用:

# keep fork dump related jni function,   must needed
-keep class com.kwai.koom.javaoom.dump.ForkJvmHeapDumper {*;}

# keep heap report json format,          must needed
-keep class com.kwai.koom.javaoom.report.HeapReport { *; }
-keep class com.kwai.koom.javaoom.report.HeapReport$* { *; }
-keep class com.kwai.koom.javaoom.report.HeapReport$*$* { *; }

@drakeet drakeet closed this as completed Aug 10, 2020
@Res2013 Res2013 mentioned this issue Sep 14, 2022
@tianshaokai tianshaokai mentioned this issue Mar 13, 2023
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

2 participants