Google Places API Android: Autocompletion closes too quickly

那年仲夏 提交于 2019-12-04 05:30:08

The problem was solved when I noticed that Google had created an .xml file for the API key and that created a conflict with the API that I put in the string.xml

Change the API Key solved my problem.

You can generate new key from here

It does sound like a key problem. Things to double-check:

  • The key is an Android key, not a web key.
  • The package name restrict on the key actually matches the package name of your app, and it is signed correctly.
  • You haven't exceeded the 1000 requests/day limit.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!