Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的应用程序上使用 Admobs,并且最近获得了更多手机来帮助进行测试。问题是我似乎只能输入一个设备 ID 作为测试客户端。有谁知道我是否可以添加超过 1 个?
如果在布局文件 (XML) 中设置它们,只需使用逗号分隔 id:
<com.google.ads.AdView [...] ads:testDevices="TEST_EMULATOR,D6A5B1F6DE9E1261C8C2A178418CFD52" ads:loadAdOnCreate="true" />