Android ProGuard error with org.xmlpull.v1.XmlPullParser

前端 未结 8 994
我寻月下人不归
我寻月下人不归 2021-02-05 09:36

When my application is build with ProGuard, it fails with following message. I use a default proguard.cfg generated by Android SDK with some -libraryjars. What can I do for it?<

8条回答
  •  没有蜡笔的小新
    2021-02-05 10:02

    add this line to proguard-project.txt

    -dontwarn org.xmlpull.v1.**
    

    and this line to project.properties

    proguard.config=proguard-project.txt
    

提交回复
热议问题