-1

我遇到了谷歌地图无法加载 2 周的问题,但仍然在这里等待。

我导入到源代码并将 google-play-services_lib 添加到 lib

sdk\extras\google\google_play_services\samples\maps sdk\extras\google\google_play_services\libproject\google-play-services_lib

使用 google API 17 和 google 源代码,但模拟器不显示任何内容

http://dl2.iteye.com/upload/attachment/0085/3047/48240d53-5091-37c3-9cca-174feb6815c6.gif http://dl2.iteye.com/upload/attachment/0085/3049/79986c6a-acb6 -39c9-abe4-c43ed27e8f2a.gif

日志

06-01 10:49:50.558: I/Choreographer(1955): Skipped 43 frames!  The application may be doing too much work on its main thread.
 06-01 10:49:50.808: I/Choreographer(1955): Skipped 314 frames!  The application may be doing too much work on its main thread.
 06-01 10:49:50.838: D/gralloc_goldfish(1955): Emulator without GPU emulation detected.
 06-01 10:49:51.078: I/Choreographer(1955): Skipped 136 frames!  The application may be doing too much work on its main thread.
 06-01 10:49:51.863: I/Choreographer(1955): Skipped 86 frames!  The application may be doing too much work on its main thread.
 06-01 10:50:09.360: I/Choreographer(1955): Skipped 232 frames!  The application may be doing too much work on its main thread.
 06-01 10:50:10.338: D/dalvikvm(1955): GC_CONCURRENT freed 125K, 10% free 2707K/2976K, paused 7ms+64ms, total 406ms
 06-01 10:50:14.528: D/dalvikvm(1955): GC_CONCURRENT freed 265K, 13% free 2829K/3236K, paused 76ms+6ms, total 414ms
 06-01 10:50:14.728: E/Google Maps Android API(1955): Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and above
 06-01 10:50:15.848: D/dalvikvm(1955): GC_CONCURRENT freed 247K, 12% free 3015K/3404K, paused 71ms+82ms, total 244ms
 06-01 10:50:16.158: I/Choreographer(1955): Skipped 55 frames!  The application may be doing too much work on its main thread.
 06-01 10:50:16.648: D/libEGL(1955): Emulator without GPU support detected. Fallback to software renderer.
 06-01 10:50:16.658: D/libEGL(1955): loaded /system/lib/egl/libGLES_android.so 
06-01 10:50:16.848: I/Choreographer(1955): Skipped 718 frames!  The application may be doing too much work on its main thread.
 06-01 10:50:17.588: D/dalvikvm(1955): GC_FOR_ALLOC freed 257K, 14% free 3085K/3576K, paused 49ms, total 59ms
4

2 回答 2

0

使用 Android Map Api v2 时,无法在 Android 模拟器上运行;您必须使用设备进行测试。

按照这个链接

于 2013-06-03T09:55:11.287 回答
0

使用您的手机而不是您的模拟器进行测试,因为错误是“没有检测到 GPU 支持的模拟器。回退到软件渲染器。” 并且必须支持openGl 2.0或以上版本。

于 2013-06-03T09:57:35.747 回答