How to fix these proguard warnings

后端 未结 3 2210
Happy的楠姐
Happy的楠姐 2021-02-20 12:59

I am using a third party library in my project, since then proguard is issuing me these warnings, which I can\'t relate to that library, Here is the library I am using: Lollipin

3条回答
  •  无人及你
    2021-02-20 13:56

    I had same issue,so I added below change into my proguard.cfg

    -dontwarn android.databinding.**
    -keep class android.databinding.** { *; }
    
    -dontwarn okio.**
    -dontwarn retrofit2.Platform$Java8
    -keepclasseswithmembers class * {
        @retrofit2.http.* ;
    }
    

提交回复
热议问题