Hi,
We are trying to make a build to strip out verbose and debug logs. Thought 
I could use proguard and tried adding below to Android.mk of an app (just 
for testing with one app)

LOCAL_PROGUARD_FLAG_FILES := proguard.flags

LOCAL_PROGUARD_ENABLED := optimization 


Added corresponding proguard.flags with the content


-assumenosideeffects class android.util.Log {
    public static int v(...);
    public static int d(...);
}


It doesn't work


While Doing this I found that Jack doesn't support optimization 
(https://source.android.com/setup/jack ). Am I doing something wrong or is 
there any other way to do it.


Using the command "mm -B WITH_DEXPREOPT=false" to build the apk

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to