Can't make google maps v2 to work

独自空忆成欢 提交于 2019-12-11 15:07:22

问题


I tried a lot of examples but still can't get it to work! I have a grid with no maps and " couldn't get connection factory client".

I tried here and here and here and many others. I tried to run it and on device but still the same.

Any ideas here?Any other good tutorial?

Thank you!


回答1:


I see that you have tried my tutorial. The problem you describe usually happens when there is a problem with your key.

Please go over the next tutorial as well for getting your key:

Google Map API V2 Key

it this doesn't help you, try to delete the debug.keystore folder and run any android project to recreate a new key, and perform all the process of associating your key to your project using the console all over again.

And check again that you are adding all the permissions from the first tutorial in you manifest file.




回答2:


this occurs when you use different key for the app in the manifest than the actual google project key. Try rechecking the key. I had the same problem, and figured it out the same way. It has nothing to deal with the code. Good Luck!



来源:https://stackoverflow.com/questions/15474241/cant-make-google-maps-v2-to-work

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