<?xml version ="1.0" encoding ="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.google.android.maps.Mapview
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clickable="true"
android:id="@+id/themap"
android:apikey = "AIzaSyDc9ac67bCYPqhVYz9pxhTJsK9shZH3iQg"/>
</LinearLayout>
屬性「apikey」沒有資源標識符這是我activity_main.xml中的文件... BT它顯示上面提到的錯誤......我也包括機器人:名字=「COM .google.android.maps」在我的清單file..plz幫助發現在包「機器人」
錯誤是不言自明的。看看https://developers.google.com/maps/documentation/android/start#getting_the_google_maps_android_api_v2 – Raghunandan 2014-09-26 11:26:53
包括jar文件或運行谷歌api的應用程序 – 2014-09-26 11:29:23
我跟着那個鏈接bt它對我沒有幫助... 。我是新的android和follwing tuturials,並做同樣的.... plz對待我作爲一個初學者..thankx – 2014-09-26 11:35:38