我不知道为什么,但由于某些原因,当我调用AdView.loadAd(AdRequest)时,我的应用程序输出W/Ads: Required XML attribute "adSize" was missing,然后与java.lang.IllegalStateException: The ad size and ad unit ID must be set before loadAd is called.崩溃,即使在我的xml布局文件中定义了adSize。a
在更新eclipse后,它不能工作,为什么?Unable to start activity ComponentInfo{com.beandroid.androchef/com.beandroid.csipordenone.MainActivity}: java.lang.IllegalStateException: The ad size and ad unit ID must be set before loadAd is called. 01-18 21:48:02.508: E/AndroidR
我一直在尝试将本地广告整合到我的应用程序中。在快递本地广告文档中,我读到它们在显示FULL_WIDTH广告大小时效果最好。我试图将我的广告大小设置为FULL_WIDTH,但是IllegalStateException失败了:
Caused by: java.lang.IllegalStateException: The adsize and ad unit ID must be s
当我构建apk并尝试在我的手机中打开apk时,它给出apk has stoped working.The ad unit ID must be set on InterstitialAd before loadAd is called错误。 setContentView(R.layout.activity_main);
AdRequest adR
logCat窗口显示我已使用res- IllegalStateException - "the ad size and ad unit id must be set before load is called"和ad:Size = "BANNER" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns="@+id<