There's a simple solution for this using ProGuard. You can tell it to remove
functions where the return value is not used with -assumenosideffects

See
http://stackoverflow.com/questions/2446248/deactivate-any-calls-to-log-before-publishing-are-there-tools-to-do-this/2466662#2466662


On 15 February 2011 11:35, Marcin Orlowski <[email protected]> wrote:

> On 15 February 2011 02:06, Dianne Hackborn <[email protected]> wrote:
> > Yes you should strip them out.
>
> So what about that statament: "Debug logs are compiled in but stripped
> at runtime"?
> http://developer.android.com/reference/android/util/Log.html
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> 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-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
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-developers?hl=en

Reply via email to