安卓开发,在我的eclipse中新建了安卓工程但是没有GoogleAPI的MapView这个控件,求助。
首先我建立的安卓工程buildtarget选择了googleAPI
而且我在manifest中也导入了库 <uses-library android:name="com.google.android.maps"></uses-library>
但是在xml中应用MapView控件的时候根本引用不出来,还是只有安卓的基本控件。
这是什么原因!!??
求助啊,纠结我一天了!!eclipseandroidxml
首先我建立的安卓工程buildtarget选择了googleAPI
而且我在manifest中也导入了库 <uses-library android:name="com.google.android.maps"></uses-library>
但是在xml中应用MapView控件的时候根本引用不出来,还是只有安卓的基本控件。
这是什么原因!!??
求助啊,纠结我一天了!!eclipseandroidxml
<com.google.android.maps.MapView
android:id="@+id/mapView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clickable="true"
android:apiKey="0AGkgJO3XApZXR0NLQKLg5I_9ipj4upGXtAIzRw"/>
1.DOS模式下生产MD5值 c:\java\jdk1.6.0_01\jre\bin 输入 keytool -list -alias androiddebugkey -keystore "保存路径" -storepass android -keypass android
2.取得md5编码去 google map api signup 网站 输入md5值 取得签名地图