Using Proguard with Android without obfuscation
Add !code/allocation/variable
is workaround for ProGuard bug when -dontobfuscate
is set to your -optimizations
For example
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable
You should make sure that you are using the latest version of the Android SDK or at least the latest version of ProGuard (version 4.7 at this time of writing) inside the SDK (android-sdk/tools/proguard/lib/proguard.jar).