问题描述
我目前工作在我的应用程序实施AdMob广告AD浏览报。我同级5个月前做了什么。然而,似乎要与新的SDK的一个问题。每当我用AdManager.setTextDevices,我得到的AdManager一个错误,没有选择要导入的AdManager,如果我手动键入导入,它不会工作。我相信,我已导入的SDK正常。目前有4.3.1林。任何想法?
I am currently working on implementing an admob adview in my app. I did something similar 5 months ago. However, there seemed to be a problem with the new SDK.Whenever I use AdManager.setTextDevices, I get an error on AdManager with no option to import admanager, and if I type the import manually, it wont work. I am sure that I have imported the SDK properly. Im currently with 4.3.1. Any ideas?
推荐答案
有一个在4.3.1 AdMob的SDK没有AdManager.class文件。如果你想设置的测试设备,使用 AdRequest.addTestDevice
或 AdRequest.setTestDevices
和进口com.google.ads.AdRequest
代替。
There is no AdManager.class file in the 4.3.1 AdMob SDK. If you are trying to set test devices, use AdRequest.addTestDevice
or AdRequest.setTestDevices
and import com.google.ads.AdRequest
instead.
这篇关于活动不会导入的AdMob的AdManager的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!