Closed nijuyonkadesu closed 1 year ago
tried excluding com.google.android.material
, entire retrofit and coil too, the minify build doesn't work.
Having this,
-keepclasseswithmembernames class one.njk.sao.models.** { *; }
-keepclasseswithmembernames class one.njk.sao.data.ApiResult { *; }
or @Keep
annotation at dataclass, it fails either way.
It happens on WaifuApiRepositoryImpl
. Just remove try {..} catch {...}
block when testing
https://paste.evolution-x.org/xnibFb
msg: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
stacktrace: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
at q7.u.b(Unknown Source:2490)
at q7.w0.b(Unknown Source:30)
at q7.v0.invoke(Unknown Source:44)
at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
Description
minifyEnabled true
, the application crashesproguard.txt
to exclude obfuscation of certain classesError insights
ParameterizedType
may not be possible