Skip to content

Instantly share code, notes, and snippets.

@daler445
Created September 15, 2020 06:27
Show Gist options
  • Save daler445/0e8942405610812a58ae7152800a4e79 to your computer and use it in GitHub Desktop.
Save daler445/0e8942405610812a58ae7152800a4e79 to your computer and use it in GitHub Desktop.
Android build with minify null pointer exception fix
-keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName <fields>;
}
-keep,allowobfuscation @interface com.google.gson.annotations.SerializedName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment