我的理解,这不是很好的做法,发布与日志的应用程序,所以我禁用了所有我的日志的电话。
I understood that it's not good practice to publish an app with logs, so i disabled all my log calls.
现在AdMob的记录每次显示广告的时候,我怎么能取消?我似乎没有找到有关这一主题的文档中的任何信息,我读过您可以使用 ProGuard的但是,似乎是一个不好的解决办法。
Now AdMob logs every time an ad is displayed, How can i cancel that? i don't seem to find any information about this topic in the documentation, and i've read that you can use ProGuard but that seems like a bad solution.
是不是有某种方式来禁用第三方日志?
Isn't there someway to disable 3rd party logs?
推荐答案幸运的是,这已经回答了。做最好的方法是只需打开ProGuard的应用程序中。
Luckily this has already been answered. The best thing to do is simply turn on proguard in your application.
打开Proguard的:打开Proguard的开/关使用属性
Turn on Proguard: Turning Proguard On/Off Using Properties
然后,只需将它添加到这里proguard.cfg:
Then simply add this to the proguard.cfg here:
添加到proguard.cfg:Deactivate任何电话发布之前登录:是否有工具来做到这一点
Add to proguard.cfg: Deactivate any calls to Log before publishing: are there tools to do this?
一Proguard的是,你添加到proguard.cfg,你可以简单地导出签名的应用程序,它就会消失。我只是这个昨天的测试。
One Proguard is on and you add that to the proguard.cfg, you can simply export the signed application and it will be gone. I just tested this yesterday.
问候,
更多推荐
如何禁用AdMob的日志?
发布评论