0 0

Android开发:google map无法显示0

项目中要用google map,已经按sdk中自带的google map demo做好了准备,可就是显示不了地图,一片白,logcat信息如下:
06-26 14:05:41.767: W/ActivityThread(24276): Application com.example.pmudemo can be debugged on port 8100...
06-26 14:05:41.797: V/Activity(24276): onCreate com.example.pmudemo.activity.MapActivity@41853878: null
06-26 14:05:41.877: I/u(24276): Making Creator dynamically
06-26 14:05:41.907: I/Google Maps Android API(24276): Google Play services client version: 4452000
06-26 14:05:41.917: I/Google Maps Android API(24276): Google Play services package version: 4452038
06-26 14:05:42.137: I/fpp(24276): Making Creator dynamically
06-26 14:05:42.137: I/Google Maps Android API(24276): Google Play services client version: 4452000
06-26 14:05:42.337: V/Activity(24276): onStart com.example.pmudemo.activity.MapActivity@41853878
06-26 14:05:42.347: V/Activity(24276): onResume com.example.pmudemo.activity.MapActivity@41853878
06-26 14:05:42.418: I/Adreno200-EGL(24276): <qeglDrvAPI_eglInitialize:294>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB.04.01.01.00.036_msm8960_JB_CL2644550_release_AU (CL2644550)
06-26 14:05:42.418: I/Adreno200-EGL(24276): Build Date: 07/31/12 Tue
06-26 14:05:42.418: I/Adreno200-EGL(24276): Local Branch: 
06-26 14:05:42.418: I/Adreno200-EGL(24276): Remote Branch: quic/master
06-26 14:05:42.418: I/Adreno200-EGL(24276): Local Patches: NONE
06-26 14:05:42.418: I/Adreno200-EGL(24276): Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.036 +  NOTHING
06-26 14:05:42.498: D/OpenGLRenderer(24276): Enabling debug mode 0
06-26 14:05:42.668: I/ActivityManager(24276): Timeline: Activity_idle id: android.os.BinderProxy@4184d408 time:53491244
06-26 14:05:42.938: W/ActivityThread(24276): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());
06-26 14:05:43.739: I/Google Maps Android API(24276): Failed to contact Google servers. Another attempt will be made when connectivity is established.
06-26 14:05:58.934: E/Google Maps Android API(24276): Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors).


PS:我在测试机上跑sdk自带的map demo也一样提示这些信息,网络用的日本代理,谷歌服务都能正常访问。
2014年6月26日 14:14
目前还没有答案

相关推荐

Global site tag (gtag.js) - Google Analytics