http://www.cocoachina.com/bbs/read.php?tid=194999&page=1&toread=1#tpc
看了坛子上偶尔e网事发的教程,跟着做了,好不容易运行起来,广告条都出来了,可是…广告内容没出来,坑爹呢,大伙有解决办法没?
在debug下跑了下,logcat 有报错
03-26 00:36:14.476: E/GooglePlayServicesUtil(9562): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
03-26 00:36:14.516: W/Ads(9562): Not enough space to show ad. Needs 960x150 pixels, but only has 954x1073 pixels.
03-26 00:36:14.576: E/GooglePlayServicesUtil(9562): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
03-26 00:36:14.596: E/GooglePlayServicesUtil(9562): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
03-26 00:36:16.018: W/dalvikvm(9562): disableGcForExternalAlloc: false
03-26 00:36:16.078: W/(9562): netstack: LIB_MGR - Error loading lib libsocketpoolextend.so
:904:火龙哥哥,赞!!!
感谢火龙哥
用这种方法还是不显示广告,只显示黑条。
那是广告没有请求出来,到时候你得把黑条去掉,有接口的
同问…
我搞定了,除了 请求到 广告,还要
_appActiviy.adView.setEnabled(true);
_appActiviy.adView.setVisibility(View.VISIBLE);