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

混淆报错 #114

Open
SSSSunrise opened this issue Sep 3, 2020 · 2 comments
Open

混淆报错 #114

SSSSunrise opened this issue Sep 3, 2020 · 2 comments

Comments

@SSSSunrise
Copy link

image
image

@JeremyLiao
Copy link
Owner

-dontwarn com.jeremyliao.liveeventbus.**
-keep class com.jeremyliao.liveeventbus.** { ; }
-keep class android.arch.lifecycle.
* { ; }
-keep class android.arch.core.
* { ; }
for androidx:
-dontwarn com.jeremyliao.liveeventbus.
*
-keep class com.jeremyliao.liveeventbus.** { ; }
-keep class androidx.lifecycle.
* { ; }
-keep class androidx.arch.core.
* { *; }

@luowenyue
Copy link

混淆还是有问题,用了作者提供的混淆,发现还是会混淆liveeventbus,
而报错就是putIfAbsent找不到
分析混淆后的apk发现内部不存在com.jeremyliao.liveeventbus包
希望作者能提供帮助
@JeremyLiao

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

3 participants