[英]React native Admob Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:
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. 今天,我重建并显示错误
java.lang.RuntimeException: Unable to get provider com.google.android.gms.ads.MobileAdsInitProvider: java.lang.IllegalStateException:
我搜索并找到解决方案是在AndroidManifest.xml
添加我的admob ID和我添加并重建,但显示相同的错误。
How I can fix it? 我该如何解决?
在您的项目AndroidManifest.xml中的“ application”标签内添加此行
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="[appid here]"/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.