在混淆我的项目时如何保持人行横道代码?

fra*_*ust 3 android proguard

我在我的应用程序中导入了人行横道 为了保留人行横道代码,我在proguard-project.txt中添加:

-dontwarn org.chromium.**
-dontwarn org.xwalk.core.**

-keep class com.google.common.** {*;}
-keep class com.googlecode.eyesfree.braille.** {*;}
-keep class javax.annotation.** {*;}
-keep class org.chromium.** {*;}
-keep class org.xwalk.core.** {*;}
Run Code Online (Sandbox Code Playgroud)

但是,这似乎是错误的.谁能帮我?非常感谢!

Vit*_*sky 5

发现了这个:

-keep class org.xwalk.core.** {
*;
}
-keep class org.chromium.** {
*;
}
-keepattributes **
Run Code Online (Sandbox Code Playgroud)

从这里:

https://crosswalk-project.org/documentation/about/faq.html