开发者

Is it neccessary to remove Log and Debugging before app release?

开发者 https://www.devze.com 2023-04-11 12:45 出处:网络
In the Android docs it talks about getting an application ready for the market. It says that you should deactivite L开发者_JAVA技巧og and debugging.

In the Android docs it talks about getting an application ready for the market.

It says that you should deactivite L开发者_JAVA技巧og and debugging.

Is this totally neccessary? Or just an suggestion?

Also how do you go about doing this?


You can remove all logging by running progruard with the correct options.

Android Proguard, removing all Log statements and merging packages

Has some of the options needed. Takes some understanding of Proguard but allows the source to keep the log messages while not worrying about them in a released application. Additionally, you can add the other methods to the config as well to remove logging completely. Not all applications do this. Many of Google's own applications are fairly chatty on the log in release.

0

精彩评论

暂无评论...
验证码 换一张
取 消