天天看点

Android 谷歌地图不显示,Android谷歌地图不显示在模拟器

这是我的清单文件,

package="gmap.com"

android:versionCode="1"

android:versionName="1.0">

android:label="@string/app_name">

main.xml中

android:orientation="vertical"

android:layout_width="fill_parent"

android:layout_height="fill_parent"

>

xmlns:android="http://schemas.android.com/apk/res/android"

android:id="@+id/map_view"

android:layout_width="fill_parent"

android:layout_height="fill_parent"

android:clickable="true"

android:enabled="true"

android:apiKey="0YjDTTmg77HeTG-dfdfdfdfdWovpPSnatfUTrp5MQ"

/>

logcat的

07-20 12:55:21.688: DEBUG/AndroidRuntime(389): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<

07-20 12:55:21.688: DEBUG/AndroidRuntime(389): CheckJNI is ON

07-20 12:55:22.086: DEBUG/AndroidRuntime(389): --- registering native functions ---

07-20 12:55:23.576: DEBUG/AndroidRuntime(389): Shutting down VM

07-20 12:55:23.597: DEBUG/dalvikvm(389): Debugger has detached; object registry had 1 entries

07-20 12:55:24.396: DEBUG/AndroidRuntime(397): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<

07-20 12:55:24.396: DEBUG/AndroidRuntime(397): CheckJNI is ON

07-20 12:55:24.686: DEBUG/AndroidRuntime(397): --- registering native functions ---

07-20 12:55:26.046: INFO/ActivityManager(59): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=gmap.com/.GmapActivity }

07-20 12:55:26.156: DEBUG/AndroidRuntime(397): Shutting down VM

07-20 12:55:26.168: DEBUG/dalvikvm(397): Debugger has detached; object registry had 1 entries

07-20 12:55:26.215: INFO/AndroidRuntime(397): NOTE: attach of thread 'Binder Thread #3' failed

07-20 12:55:26.826: WARN/MapActivity(337): Recycling dispatcher [email protected]

07-20 12:55:26.856: VERBOSE/MapActivity(337): Recycling map object.

07-20 12:55:27.146: INFO/MapActivity(337): Handling network change notification:CONNECTED

07-20 12:55:27.186: ERROR/MapActivity(337): Couldn't get connection factory client

07-20 12:55:27.416: INFO/ActivityManager(59): Displayed activity gmap.com/.GmapActivity: 964 ms (total 964 ms)

07-20 12:55:27.965: WARN/InputManagerService(59): Starting input on non-focused client [email protected] (uid=10034 pid=353)

07-20 12:55:33.666: DEBUG/dalvikvm(353): GC_EXPLICIT freed 9539 objects/509864 bytes in 180ms

2011-07-20

Rajeev