Google place API for android to find city

梦想的初衷 提交于 2019-12-04 03:49:28

Please check if you have added INTERNET permission in your manifest.

<uses-permission android:name="android.permission.INTERNET"></uses-permission>

This error happened to me today. I figured it out by following these steps: 1: Check that you add the INTERNET permission in manifest.

2: Make sure that your laptop or the device you are testing your app on could access the internet.

FYI, as for the key for places API, you should use "Key for browser apps (with referers)", not the Key for Android apps.

Good luck.

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