广告仅在 Android 模拟器上显示
我尝试过集成 mobclix 和 admob。它们都没有出现在我的 Android 手机上。不过它们在模拟器上显示得很好。我认为这可能是广告拦截器,因为我买了一部二手的 root 手机。如何判断我是否安装了广告拦截器?如果我这样做,我该如何摆脱它们?还有哪些其他原因可能导致此情况?
I have tried integrating mobclix and a admob. Both of them dont not show up on my android phone. They show up fine on the emulator though. I was thinking it could be ad blockers because I bought a used rooted phone. How do I tell if I have ad blockers? If I do, how do I get rid of them? What other things could be causing this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将手机连接到电脑(使用 USB),并在手机上运行应用程序时观看
LogCat
,AdMob
库会打印在LogCat< /code>,有关从互联网上提取广告的信息,如果您有广告屏蔽的手机,您会在
LogCat
中注意到一些有关Can't Connect to Server
或类似信息,在某些情况下它会告诉你,没有 ,在这种情况下,请转到您在AdMob
上的帐户,并在应用程序设置
中激活Google Ad Sense
。有足够多的广告可以在您的应用中展示 code>LogCat 窗口可以在
Eclipse IDE
的Window
菜单下的Android
子类别下找到。或阅读此答案以显示LogCat
在 Eclipse 上运行 logcat致以诚挚的问候
Connect your mobile phone to your pc(using USB), and watch the
LogCat
when you run the app on the mobile, theAdMob
library prints on theLogCat
, informations about pulling ads from the internet, if you have ad blocked phone, you will notice in theLogCat
some information aboutCan't Connect to Server
or equivalent, in some cases it tells you, there is no enough ads to show in your app, in this case go to your account onAdMob
and activateGoogle Ad Sense
in theApplication Settings
..LogCat
window can be found underWindow
menu inEclipse IDE
, under sub category forAndroid
. or read this answer to showLogCat
running logcat on EclipseBest Regards