Skip to content
Discussion options

You must be logged in to vote

There's nothing wrong with the project. It looks like we need to improve the generation of @Keep annotations for Skip Codables.

Android's R8 (or Proguard) is a build step for optimizing and shrinking the Java bytecode for release builds. In some cases, this can cause issues when types need to be looked up by name (also known as "reflection"). Skip does need to sometimes do this for encoding/decoding as well as access to static members.

You can read all about customizing the R8/Proguard settings at https://developer.android.com/topic/performance/app-optimization/keep-rules-overview, but to make a long story short, you are probably safe with just sticking with the modifications you made to …

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@vdkdamian
Comment options

@vdkdamian
Comment options

@vdkdamian
Comment options

@marcprux
Comment options

Answer selected by vdkdamian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants