android studio 3.5 Warning: The rule `-keep public class * extends androidx.versionedparcelable.VersionedParcelable { (); }` uses extends

前端 未结 2 2125
感情败类
感情败类 2020-12-14 01:47

Today, I updated my Android Studio to 3.5. After updated, I found below warning when I try to run the app.

The rule -keep public class * extends and

2条回答
  •  北海茫月
    2020-12-14 02:27

    Why not do this for that project:

    1. Disable minify in "build.gradle (Module: app)" file:
    minifyEnabled false
    
    1. and you use proguard for optimization, such as:
    proguardFiles getDefaultProguardFile ('proguard-android-optimize.txt')
    

提交回复
热议问题