You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation does not mention allowing com.ryanharter.auto.value.gson.GsonTypeAdapterFactory with Proguard, but cannot minify app with this library included.
#139
Open
sonrohan opened this issue
Oct 30, 2024
· 0 comments
I included the affirm SDK in my Android code. When I build debug everything is fine. But when I build in release mode, the compiler warns that
Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/<user>/repos/<project>/app/build/outputs/mapping/debug/missing_rules.txt.
I didn't see this mentioned anywhere in the documentation. Should I mark this as keep or do not warn? Also can this be fixed on the SDK side? I am worried this will crash at run time.
Steps to reproduce:
Start a new project
Create 2 build variants if they do not already exist. debug and release
Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/<user>/repos/<project>/app/build/outputs/mapping/debug/missing_rules.txt.
The text was updated successfully, but these errors were encountered:
sonrohan
changed the title
Documentation does mention allowing com.ryanharter.auto.value.gson.GsonTypeAdapterFactory with Proguard, but cannot minify app with this library included.
Documentation does not mention allowing com.ryanharter.auto.value.gson.GsonTypeAdapterFactory with Proguard, but cannot minify app with this library included.
Oct 30, 2024
I included the affirm SDK in my Android code. When I build debug everything is fine. But when I build in release mode, the compiler warns that
Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/<user>/repos/<project>/app/build/outputs/mapping/debug/missing_rules.txt.
I didn't see this mentioned anywhere in the documentation. Should I mark this as
keep
ordo not warn
? Also can this be fixed on the SDK side? I am worried this will crash at run time.Steps to reproduce:
debug
andrelease
debug
You will see
Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/<user>/repos/<project>/app/build/outputs/mapping/debug/missing_rules.txt.
The text was updated successfully, but these errors were encountered: