[英]Android studio and emulator
Hello i'm trying to add ad to my android studio project but when I start my emulator, the application keeps stopping.
您好,我正在尝试将广告添加到我的 android studio 项目中,但是当我启动模拟器时,应用程序一直停止。 I did everything like I have to do it, 5 times I restarted but always an error.
我做了我必须做的一切,我重新启动了 5 次,但总是出错。 Please help me thanks
请帮助我谢谢
This documentation will help you according to your problem.本文档将根据您的问题为您提供帮助。 https://developers.google.com/admob/android/quick-start
https://developers.google.com/admob/android/quick-start
You should add this code to your manifest.xml
file.您应该将此代码添加到您的
manifest.xml
文件中。
<application
...>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-3940256099942544~3347511713"/>
</application>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.