ProGuard with Android: java.lang.NoSuchMethodError: android.util.Xml.asAttributeSet

前端 未结 1 1397
不知归路
不知归路 2021-02-07 01:59

My app runs normally when ProGuard is disabled.

After ProGuard is enabled, the app is exported into apk and installed into emulator.

Then when I run it in emulat

相关标签:
1条回答
  • 2021-02-07 02:55

    add one line to proguard-project.txt:

    -keep class org.xmlpull.v1.** { *; }
    
    0 讨论(0)
提交回复
热议问题