问题
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