如何禁用AdMob的日志? [英] How to disable AdMob logs?

查看:113
本文介绍了如何禁用AdMob的日志?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的理解,这不是很好的做法,发布与日志的应用程序,所以我禁用了所有我的日志的电话。

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:<一href="http://stackoverflow.com/questions/2446248/deactivate-any-calls-to-log-before-publishing-are-there-tools-to-do-this">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的日志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆