Error while Setting of Proguard and Exporting APK

后端 未结 3 562
遥遥无期
遥遥无期 2020-12-10 18:33

I am doing first-time Proguard setting on My Android Project and Exporting My APK File but I got Following errors: (I also not found any proguard.cfg file in my

3条回答
  •  时光说笑
    2020-12-10 18:48

    Using Maven in my case, google-api-client brought guava-jdk5 as a dependency, causing similar problems.

    Guava wiki page on Proguard suggests: https://code.google.com/p/guava-libraries/wiki/UsingProGuardWithGuava

    -dontwarn sun.misc.Unsafe
    -dontwarn com.google.common.collect.MinMaxPriorityQueue
    

提交回复
热议问题