Couldn't get connection factory client

久未见 提交于 2019-11-25 19:42:50

I'm getting the same problem when using getFromLocationName, with a 'java.io.IOException:Service not Available' error.

I've done a bit of googling around and it seems this is a bug in the software.

http://code.google.com/p/android/issues/detail?id=8816

I had reinstalled Android dev kit on my new system and the debug.keystore had changed. Once I used the keytool to make a new MD5 and registered that with Google I was back in action with a fresh apiKey.

"Couldn't get connection factory client" is a weird message for an invalid apiKey !

I had the same problem with API level 8 on both emulator and a physical device (2.2) Actually, for me it never worked. Then by chance I tried on emulator API level 10 (with Google API of course), and it worked just fine.

(Before that, I got a new MD5 with the keytool in order to register for a new apikey. However, I got exactly the same as the first time! Maybe I didn't use the keytool correctly.)

I had this error but nothing useful in the Logcat output to determine the AV.

I simply cleaned my project in Eclipse and then I got a proper stack trace of the problem, which was nothing related to MapView. It was just that the MapView was based in the first activity visible.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!