nijuyonkadesu / SAO

Share Arts-by Overlay is an application that uses waifu.pics api. Allowing users to find a pic / gif of their interest and share it to the world!
GNU Affero General Public License v3.0
2 stars 0 forks source link

[configuration] Configure Proguard Rules to compile working release apk #8

Closed nijuyonkadesu closed 1 year ago

nijuyonkadesu commented 1 year ago

Description

Error insights

nijuyonkadesu commented 1 year ago

Gets more annoying !

tried excluding com.google.android.material, entire retrofit and coil too, the minify build doesn't work.

Having this,

or @Keep annotation at dataclass, it fails either way.

Error happens at

It happens on WaifuApiRepositoryImpl. Just remove try {..} catch {...} block when testing

Crash Log

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)