Autocomplete Status Places 9001

I tried to get a place prediction using the autofill API from Google Play Services, but this is the status I got:

Status{statusCode=unknown status code: 9001, resolution=null} 

Any idea what is going on?

+7
android google-places-api
source share
2 answers

Here is the solution

  • Enable Android Place APIs in the API Console

Note. Somehow, the switch for inclusion can only be found in the old style console.

Update You can find this option by typing "Places API for Android" in the search bar.

+12
source share

I have the same problem too. I also see these logs:

03-26 08: 58: 48.564 26494-3999 /? W / Places: fa: 633: gLocReplyElement failed status: 1 03-26 08: 58: 48.564 26494-3999 /? W / Places: fa: 660: gPlaceQueryResult failed responseCode: 27

Maybe it will be helpful. I just want to tell you that you are not alone and make you feel better.

Updated:

I just noticed that I am getting this message on all the devices that I have:

03-26 10: 22: 33,774 26494-26721 /? E / MDM: [20882] b.run: Failed to connect to the Google API client: ConnectionResult {statusCode = API_UNAVAILABLE, permission = null}

Perhaps there is currently a problem with the Google Places API. This library seems to be still raw. For example, for place types, there are only 3 constants (PlaceTypes.ALL, PlaceTypes.zzanS and PlaceTypes.zzanR), and the last 2 do not make sense to me.

+2
source share

All Articles