[android-developers] Re: Problem stripping Log calls with ProGuard

2012-04-24 Thread jtoolsdev
BTW, this method no longer works with the new scheme of using Proguard. Anyone know why? On Wednesday, March 9, 2011 5:29:50 AM UTC-8, Marcin Orlowski wrote: Hi, I try to strip all log calls from release app using proguard (-assumenosideeffects) i noticed not all is removed. Some cases

[android-developers] Re: Problem stripping Log calls with ProGuard

2011-03-19 Thread Eric Lafortune
Your approach sounds right. E.g., the following configuration will let ProGuard remove Log calls: -assumenosideeffects class android.util.Log { methods; } The logging methods have return values, but that shouldn't matter if your code ignores them. If it doesn't work, you should make sure that