Failed to load map. Error contacting Google servers. This is probably an authentication issue
2014-08-13 16:38
519 查看
搞个google地图,搞了一天,按照官网的一句一句的打,结果没显示出来,运行的时候,logcat里输出这句:
后面终于发现了,原来真的是验证的问题,我使用的是打包apk的时候的SHA1 去生成的map key ,所以我在调试的时候直接点击运行于真机设备,是不支持这个key的。解决方法是,把应用打包好,再放到真机上运行,才是可行的。至于测试的时候,就要用系统生成一个default.keystore,再去申请一个key,才能运行于调试环境。希望能帮助到大家
参考于此:http://stackoverflow.com/questions/17667935/failed-to-load-map-error-contacting-google-servers-this-is-probably-an-authent
Solution:
I found the solution!!!
If you use private keystore to apply API_KEY. You cannot upload and install application with eclipse.
You need to upload .apk file to your device by yourself and install it!
Thanks Tarsem and srikanth gr help!!
Failed
to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors).
后面终于发现了,原来真的是验证的问题,我使用的是打包apk的时候的SHA1 去生成的map key ,所以我在调试的时候直接点击运行于真机设备,是不支持这个key的。解决方法是,把应用打包好,再放到真机上运行,才是可行的。至于测试的时候,就要用系统生成一个default.keystore,再去申请一个key,才能运行于调试环境。希望能帮助到大家参考于此:http://stackoverflow.com/questions/17667935/failed-to-load-map-error-contacting-google-servers-this-is-probably-an-authent
Solution:
I found the solution!!!
If you use private keystore to apply API_KEY. You cannot upload and install application with eclipse.
You need to upload .apk file to your device by yourself and install it!
Thanks Tarsem and srikanth gr help!!
相关文章推荐
- The call to LoadLibrary(YourExtensionName) failed, Win32 error 0n14001, “This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”
- Google Map无法显示:Error contacting Google servers. XXX authentication issue
- Error: Failed to fetch plugin E:_My_File______workMyCodemyCodecordova-workspaceplugman-testMyMath via registry. Probably this is either a connection problem, or plugin spec is incorrect.
- Error: Failed to fetch platform ios Probably this is either a connection problem, or platform speci
- -canOpenURL: failed for URL: "xx" - error:"This app is not allowed to query for scheme xx"
- -canOpenURL: failed for URL: "kindle://home" - error: "This app is not allowed to query for scheme k
- Ios9.0 canOpenURL: failed for URL: "xx" - error:"This app is not allowed to query for scheme xx"
- The installer cannot read the mwinstall.dll file, This is probably due to a CD reader which can only read files with an eight.th
- 小米手机调试报Installation failed with message Failed to establish session. It is possible that this issue
- iOS 9 failed for URL: "XXX://@" - error: "This app is not allowed to query for scheme XXX" iOS 从APP里
- canOpenURL: failed for URL: "xx" - error:"This app is not allowed to query for scheme xx"
- Ios9.0 canOpenURL: failed for URL: "xx" - error:"This app is not allowed to query for scheme xx"
- -canOpenURL: failed for URL: "wechat://" - error: "This app is not allowed to query for scheme wech
- 【iOS开发】-canOpenURL: failed for URL: "xx" - error:"This app is not allowed to query for scheme xx"
- canOpenURL: failed for URL: "xx" - error:"This app is not allowed to query for scheme xx"
- iOS开发-canOpenURL: failed for URL: "mqq://" - error: "This app is not allowed to query for scheme mqq
- an android virtual device that failed to load click 'details' to see the error
- An error occurred during local report processing.Failed to load expression host assembly. Details: Request for the permission of
- iOS9.0 canOpenURL: failed for URL: "xx" - error:"This app is not allowed to query for scheme xx"
- Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: Split lib_slice_8_apk was defined multiple times. It is possible that this issue is resolved by uninstalling a