The My Proguard configuration file uses the following to delete log statements:
-assumenosideeffects class android.util.Log { public static *** d(...); public static *** e(...); }
Apparently, this only takes effect when optimizations are enabled, so I refer to proguard-android-optimize.txt in the project properties file instead of proguard-android.txt .
Is this a minor change? proguard-android-optimize.txt says: โAdding optimization leads to certain risks, because, for example, not all optimizations performed by ProGuard work with all versions of Dalvik.โ What exactly does this mean, and can I not use proguard-android-optimize. txt and instead add only the optimization instructions that are needed for my own configuration file to delete the log?
Thanks. Total newcomers to Proguard.
source share