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 androidx.versionedparcelable.VersionedParcelable { (); } uses extends but actually matches implements.
I know warning is related with my proguard rules. So, I double checked my proguard rule file, but I am sure I didn't add that rule and it is not in my proguard rule file.
Below is the warning when I build the project.
My project is using AndroidX. Can anyone know that warning can be skipped or where that warning came from? Any ideas or alternative ways will be appreciating..
VersionedParcelable
is aninterface
, which can be only implemented, not extended. Are you using the default proguard rules file in addition to your one? – HyperbolagetDefaultProguardFile(..)
. It has some proguard rules too. This line is likely from it – Hyperbolaproguard-android.txt
located somewhere in Android SDK dir – HyperbolagetDefaultProguardFile
loads the default proguard rules file located in Android SDK directory in addition to your custom rules file – Hyperbola