1
By adding the admob to my project , when running the application , he follows with this error , I did not understand why
XML from ad
com.google.android.gms.ads.Adview android:id="@+id/adView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" ads:adSize="BANNER" ads:adUnitId="@string/banner_ad_unit_id">
Strings: ca-app-pub- 1770401303076452/3069328127
Edit the question and enter the error that is in the log.
– viana
@Acklay Ready, I put
– Paiva
Did you notice that you have important information cutting in your image? Try to put here the writing and not the image.
– viana
at br.com.paivasdev.fazendocafe.Mainactivity.onCreate(Mainactivity.java:50)
– Paiva
it is giving error on line 50 which corresponds to mAdView.loadAd(adRequest);
– Paiva
Paiva has been bad the mistake I found was a gap between the pub-177. My ads do not appear. Only the test so I found your doubt, I do not know if they only appear after publishing the app if you know something let me know! vlw. The code below is without space! ca-app-pub-1770401303076452/3069328127
– Vando Sep
I already solved it was dependency error, but thank you!!
– Paiva