0
我使用这个代码:在应用程序中添加广告?
<com.google.android.gms.ads.AdView android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ads:adUnitId="MY_AD_UNIT_ID"
ads:adSize="BANNER"/>
不过是错误的:
Description Resource Path Location Type error: No resource identifier found for attribute 'loadAdOnCreate' in package 'com.teste.teste1' activity_teste.xml /Teste/res/layout line 120 Android AAPT Problem
是的,我创建帐户并tnho ID。 – Rodolfo 2015-02-05 23:05:09
@Rodolfo检查我的编辑 – domi 2015-02-05 23:08:38
以及删除错误,但没有显示横幅 – Rodolfo 2015-02-05 23:28:55