1) Open the project.properties file in our andoid app.
there is a option to enable the proguard.
sample:
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
just delete the " # " symbol from the above line.
result will be like this:
proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
2) Suppose,if we are using any external jar files then we will be facing some problems,To avoid such problems we
have to use the keep,dontwarn option.
-keep class javax.** { *; }
-keep class org.** { *; }
-keep class twitter4j.** { *; }
-dontwarn javax.management.**
-dontwarn java.lang.management.**
-dontwarn org.apache.log4j.**
-dontwarn org.apache.commons.logging.**
-dontwarn org.slf4j.**
-dontwarn org.json.**
For more Details, Visit the below link:
http://developer.android.com/tools/help/proguard.html
http://www.simpligility.com/2010/12/hints-for-using-proguard-on-your-android-app/