出现错误代码2的Admob广告(不显示) [英] Admob ads giving error code 2 (not displaying)
问题描述
我正在尝试制作一个基本的libgdx应用,但没有显示广告. 我正在遵循以下指南: https://developers.google.com/android/guides/setup
I'm trying to make a basic libgdx app and the ads are not being displayed. I'm following these guides: https://developers.google.com/android/guides/setup
https://developers.google.com/admob/android/eclipse
https://github.com/libgdx/libgdx/wiki/Admob -in-libgdx
该代码非常基础,只是从libgdx指南复制而来的代码. 该代码有效,但没有显示广告.
The code is very basic, just the one copied from the libgdx guide. The code works but the ads are not being displayed.
推荐答案
禁用广告拦截器.确保您没有安装adBlock之类的应用.
Disable your Ad blocker. Make sure you don't have an app like adBlock installed.
无论如何,该错误表示等待广告响应超时",因此请检查您的Internet连接并尝试从Wi-Fi更改为移动网络
Anyway, that error means "Timed out waiting for ad response", so check your Internet connection and try changing from Wi-Fi to Mobile Network
这篇关于出现错误代码2的Admob广告(不显示)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!