Android调用GoogleMap出现Couldn't get connection factory client
来源:互联网 发布:李炯浩被诱拐事件 知乎 编辑:程序博客网 时间:2024/04/30 08:17
0
Android调用GoogleMap出现Couldn't get connection factory client 10
之前的写的一些调用GoogleMap的小程序,能够正常调用GoogleMap,但是我另外新写的另外一个调用GoogleMap的程序报以下错误,
11-20 07:21:01.103: E/MapActivity(305): Couldn't get connection factory client
(备注:都是使用的同样的apiKey)
请遇到和我相似问题的Android童鞋解答,不胜感激~~~~~~~~~~~~~~~
Android
2011年11月21日 09:53
weihan1314 weihan1314
10
0 0 0
* Comment添加评论
* 关注(0)
1个答案 按时间排序 按投票排序
0 0
这是在官方网上的答案,试试看看
For instructions, read Obtaining a Maps API Key. For the purpose of this tutorial, you should register with the SDK debug certificate, which will only be valid while your application is signed with the debug key (once you sign with your private key, you will need a new API key). When you get your key, insert it for the value of android:apiKey.
大概是说,调试时候使用的apikey跟最终发布版本时候的apikey是不一样的,而apikey的使用是必须与当前生成app的keystore相匹配的。因此debug模式,需要重新生成apikey。首先找到debug.keystore的位置:
•
Windows Vista: C:\Users\<user>\.android\debug.keystore
•Windows XP: C:\Documents and Settings\<user>\.android\debug.keystore
•OS X and Linux: ~/.android/debug.keystore调用以下命令生成新的md5:
$ keytool -list -alias androiddebugkey \ -keystore <path_to_debug_keystore>.keystore \ -storepass android -keypass android
再到google官方申请apiKey,然后在mapview中,指定使用该apikey即可。
Android调用GoogleMap出现Couldn't get connection factory client 10
之前的写的一些调用GoogleMap的小程序,能够正常调用GoogleMap,但是我另外新写的另外一个调用GoogleMap的程序报以下错误,
11-20 07:21:01.103: E/MapActivity(305): Couldn't get connection factory client
(备注:都是使用的同样的apiKey)
请遇到和我相似问题的Android童鞋解答,不胜感激~~~~~~~~~~~~~~~
Android
2011年11月21日 09:53
weihan1314 weihan1314
10
0 0 0
* Comment添加评论
* 关注(0)
1个答案 按时间排序 按投票排序
0 0
这是在官方网上的答案,试试看看
For instructions, read Obtaining a Maps API Key. For the purpose of this tutorial, you should register with the SDK debug certificate, which will only be valid while your application is signed with the debug key (once you sign with your private key, you will need a new API key). When you get your key, insert it for the value of android:apiKey.
大概是说,调试时候使用的apikey跟最终发布版本时候的apikey是不一样的,而apikey的使用是必须与当前生成app的keystore相匹配的。因此debug模式,需要重新生成apikey。首先找到debug.keystore的位置:
•
Windows Vista: C:\Users\<user>\.android\debug.keystore
•Windows XP: C:\Documents and Settings\<user>\.android\debug.keystore
•OS X and Linux: ~/.android/debug.keystore调用以下命令生成新的md5:
$ keytool -list -alias androiddebugkey \ -keystore <path_to_debug_keystore>.keystore \ -storepass android -keypass android
再到google官方申请apiKey,然后在mapview中,指定使用该apikey即可。
- Android调用GoogleMap出现Couldn't get connection factory client
- Android Exception MapActivity: Couldn't get connection factory client
- MapActivity:Couldn't get connection factory client
- geo commmand , 【Error] MapActivity Couldn't get connection factory client.
- ERROR/MapActivity(258): Couldn't get connection factory client
- android+-+MapView+couldn't+get+connection+from+fatory+client问题
- android google map 开发中的常见问题及解决(无法获取 google map apiKey 和Couldn't get connection factory client)
- android google map 开发中的常见问题及解决(无法获取 google map apiKey 和Couldn't get connection factory client)
- Couldn't get connection because we are at maximum connection count (10/10) a
- 在android studio导入应用原码出现的error: protocol fault (couldn't read status): Connection reset by peer
- Couldn't get host name
- java.sql.SQLException: Couldn't get connection because we are at maximum connection count (50/50) an
- java.sql.SQLException: Couldn't get connection because we are at maximum connection count (50/50) an
- Couldn't get connection because we are at maximum connection count (150/150) and there are none 异常解决
- Couldn't get connection because we are at maximum connection count (50/50) and there are none av
- Android Studio 加载 .so库出现couldn't find "*.so"
- Android Studio 加载 .so库出现couldn't find "*.so"
- yum install 出现 Couldn't resolve host
- Cookies欺骗与防御
- 基于Web的DDos攻击与防御
- hibernate group by
- 跨站脚本攻击(XSS)
- VC知识库人物专访:搜狗CEO兼任搜狐CTO王小川
- Android调用GoogleMap出现Couldn't get connection factory client
- windows消息钩子
- 软件开发中最流行的错误观点有哪些?
- ubuntu mysql远程连接
- mongodb常用命令和基本知识
- 翻开新的一页 从现在开始
- 客户端自动化技术漫谈
- [转]MongoDB学习笔记
- 接口