How do I save the pedestrian code when confusing my project?

I am importing a pedestrian crossing in my application. To save the pedestrian crossing code, I add this to 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.** {*;}

      

But that doesn't seem right. Who can help me? Many thanks!

+3


source to share


2 answers


found this:

-keep class org.xwalk.core.** {
*;
}
-keep class org.chromium.** {
*;
}
-keepattributes **

      



from here:

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

+5


source


You need to add another expression:



-keepattributes *

      

+1


source







All Articles