Android ProGuard error with org.xmlpull.v1.XmlPullParser

前端 未结 8 942
我寻月下人不归
我寻月下人不归 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

    The dependency already exist on your folder,

    exclude it like below:

    dependencies {
      configurations {
          all*.exclude group: 'xmlpull', module: 'xmlpull'
    
      }
    }
    

提交回复
热议问题