我正在關注本教程:https://developers.google.com/maps/documentation/android/start#overview 關於如何將Google地圖添加到Android SDK中的應用程序。將Google Play服務版本添加到應用的清單中?
唯一的問題,我似乎有是此位時(我所做的一切沒有任何錯誤):
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 Services Library update and missing symbol @integer/google_play_services_version
但我仍然收到相同的錯誤。請幫忙嗎?
如果Eclipse給你帶來麻煩,試試這樣做:http://stackoverflow.com/a/19990244/166921 –