abd2191b0e
* Add READMEs to Maven modules * Address feedback |
||
---|---|---|
.. | ||
res | ||
src/com/google/gson/examples/android | ||
AndroidManifest.xml | ||
default.properties | ||
proguard.cfg | ||
README.md |
android-proguard-example
Example Android project showing how to properly configure ProGuard. ProGuard is a tool for 'shrinking' and obfuscating compiled classes. It can rename methods and fields, or remove them if they appear to be unused. This can cause issues for Gson which uses Java reflection to access the fields of a class. It is necessary to configure ProGuard to make sure that Gson works correctly.
Also have a look at the ProGuard manual for more details on how ProGuard can be configured.