Google Places Autocomplete Can't load search results

两盒软妹~` 提交于 2019-12-30 10:37:08

问题


I am trying to implement the Google Places Autocomplete API sometimes I am able to get location list but sometimes I get "can't load search results" message. Can someone pease help me with the issue.


回答1:


This issue have a few possible reasons:

  • No billing account associated to the project
  • If you are still using the old Places SDK
  • If you reach your quota limit(e.g. self imposed cap usage)
  • If your app is not properly restricted

If any of the above doesn't fix your issue, it would be best to reach out to the support team of the Google Maps Platform as this error commonly has something to do with your configuration in the GCP console wherein only the support team of Google Maps Platform can assist you.

Hope this helps.




回答2:


i already added the billing service also then get the same error then i added the api key in gradle file and then its works for me

Added your api RNGP_ANDRIOD_API_KEY=***** in gradle.properties



来源:https://stackoverflow.com/questions/56400963/google-places-autocomplete-cant-load-search-results

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