Thank you @Eric Lafortune for the reply. I wonder why the assumenosideeffect configuration is not working? Other optimization configurations are works properly. I checked the proguard version in both android studio and aosp build tree both are using proguard 4.7 version.
I am trying to compile my application with AOSP and which build properly. I have an issue with make use of the proguard flag. -assumenosideeffects. I am trying to strip out the Log statements in my final build,After build the application the Logs are still available in the application. I am using the following in my proguard file, -assumenosideeffects class android.util.Log { public static *** d(...); public static *** v(...); } and my Android.mk file entries look like these LOCAL_PROGUARD_ENABLED...