I am working with Android sdk ver-8. (But in manifest I gave android:minSdkVersion="6")
I am developing an app. For publishing I want to optimize it. Through ProGuard how can I optimize the code? Please give me steps of using ProGuard.
I am working with Android sdk ver-8. (But in manifest I gave android:minSdkVersion="6")
I am developing an app. For publishing I want to optimize it. Through ProGuard how can I optimize the code? Please give me steps of using ProGuard.
See http://proguard.sourceforge.net/ section "Manual" -> "Examples" -> "A complete Android application"
From documentation:
ProGuard is integrated into the Android build system, so you do not have to invoke it manually. ProGuard runs only when you build your application in release mode, so you do not have to deal with obfuscated code when you build your application in debug mode.