2

Before, my app work fine. Today I rebuild and it show error java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException: I search and find solution is add my admob id in AndroidManifest.xml and I add it and rebuild, but it show same error. enter image description here

How I can fix it?

1 Answer 1

1

Add this line in your project AndroidManifest.xml, inside 'application' tag

<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="[appid here]"/>
0

Not the answer you're looking for? Browse other questions tagged or ask your own question.