我遵循这个教程: < a href = “ https://developers.google.com/map/document/android/start # view”rel = “ norefrer”> https://developers.google.com/maps/documentation/android/start#overview 关于如何将谷歌地图添加到 Android SDK 中的应用程序。
我唯一遇到的问题似乎就是这段时间(我做其他所有事情都没有出错) :
Edit your application's AndroidManifest.xml file, and add the following declaration within the
<application> element. This embeds the version of Google Play services that the app was compiled with.
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
The error is:
No resources found that match the given name (at 'value' with value '@integer/
google_play_services_version').
我试图按照这个人的解决方案来解决同一个问题: Google Play 服务库更新和丢失符号@int/Google _ Play _ Services _ version
但是我仍然得到同样的错误。请帮助吗?