I want to reduce size of .apk file, so I am checking Enable ProGuard option in Android project\'s property window but getting compile time error
Error &q
Follow below steps
If you are getting warnings then you need to use -dontwarn
attribute like below
-dontwarn com.symbol.emdk.**
-dontwarn org.apache.http.**
-dontwarn com.appdynamics.eumagent.runtime.**
You must need to remove/solve warning because that cause above error. Above code will remove all of your warnings.
If you are getting exception after executing your application you need to use -keep
attribute. like below for required classes
-keep public class android.support.v7.widget.** { *; }