Android proguard issues for release

后端 未结 2 1699
傲寒
傲寒 2021-01-18 19:48

I\'m able to create builds for my android app, but when I turn on proguard i\'m getting numerouos warnings, and then the build fails. The warnings are like the ones below:

2条回答
  •  迷失自我
    2021-01-18 20:19

    inspect the jars , creating a packages list in libs you are using.

    Then try adding following for those packages in the list in your proguard config file:

    -dontwarn org.codehaus.jackson.**
    
    ...
    
    -keep        class org.codehaus.jackson.** { *; }
    

提交回复
热议问题