【发布时间】:2015-08-25 20:48:08
【问题描述】:
我在安卓控制台出现这个错误:
08-25 21:27:10.446 11891-11924/com.example.mamnay.map D/Volley﹕ [555] a.a: HTTP response for request=<[ ] https://clients4.google.com/glm/mmap/api 0x99e6744e NORMAL 2> [lifetime=5900], [size=231188], [rc=200], [retryCount=0]
08-25 21:27:10.456 11891-11891/com.example.mamnay.map D/Volley﹕ [1] p.b: 5910 ms: [ ] https://clients4.google.com/glm/mmap/api 0x99e6744e NORMAL 2
08-25 21:27:10.626 11891-11942/com.example.mamnay.map E/PGA﹕ [11942] Connection closed by host (err = 104), possibly due to exception: App cannot continue with current context. Exiting.
08-25 21:27:10.626 11891-11942/com.example.mamnay.map A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000123 (code=1), thread 11942 (Thread-570)
08-25 21:27:10.636 11891-11932/com.example.mamnay.map D/dalvikvm﹕ GC_FOR_ALLOC freed 1015K, 20% free 4913K/6116K, paused 20ms, total 20ms
【问题讨论】:
-
您的连接似乎被主机拒绝了。你应该重新检查你的
keys and credentials。 -
感谢您的回复
-
我是 android 新手,我不知道该怎么做
-
你打算做什么?
-
我在 android studio 中创建了一个新项目,带有选项 google map(在 android studio 中提供)和 android studio 提取我的 SHA1+我的包以及与此信息的链接。您为您的项目生成了一个 android api 密钥,最后我在我的项目中复制了这个密钥(就像我在网络中关注的一些教程一样)并且我构建了我的项目,感谢您的回复
标签: android api google-maps