| # Adding optimization introduces certain risks, since for example not all optimizations performed by |
| # ProGuard works on all versions of Dalvik. The following flags turn off various optimizations |
| # known to have issues, but the list may not be complete or up to date. (The "arithmetic" |
| # optimization can be used if you are only targeting Android 2.0 or later.) Make sure you test |
| # thoroughly if you go this route. |
| -optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/* |
| -optimizationpasses 5 |
| -allowaccessmodification |