4

Friends, I was getting this error while implementing google map API in my APP. I was getting this issue:

Error getting autocomplete prediction API call: Status{statusCode=PLACES_API_ACCESS_NOT_CONFIGURED, resolution=null}

While searching result for these issues, I got a solution that "open google play console and enable Google Place SDK for Android". But while opening GOOGLE PLAY SDK FOR ANDROID ,I was unable to open it and got these issues as shown in figure below. Now I able to resole this issues.See my answer given below in the link to implement new SDk released. Thanks.

Error While Enabling Google Place SDK For Android.

13
  • This is deprected now. I am able to resolve this problem. Commented Feb 7, 2019 at 7:57
  • I successfully resolve this issue.By using this migration guide developers.google.com/places/android-sdk/client-migration Commented Feb 20, 2019 at 2:32
  • 1
    I removed implementation 'com.google.android.gms:play-services-places:16.0.0' and added implementation 'com.google.android.libraries.places:places-compat:1.0.0'. Did the gradle sync. I don't have any "Powered by Google" assets. So, I did not change anything for that. My minSdkVersion is 23 (which is above 14). After following all these steps, I am still getting the error. Could you please tell me how did you resolve the error. It would be of great help to me. Thanks! Commented Mar 1, 2019 at 4:09
  • @harshpamnani have you studied the migration guide and implemented it in your new code? Commented Mar 1, 2019 at 5:25
  • 1
    Yes I tried. But it doesn't seem to work. What all steps we need to follow from that guide? Commented Mar 1, 2019 at 6:35

2 Answers 2

5

Hi Friends I have successfully resolve this issue.I was implementing Auto Complete Goole places in my app. This was provided by Google play services. Now the main issue is that Place SDK for Android is deprecated from Google play services on 29 Jan.Now,A new SDK is released instead of. Place sdk for Android. Now you can use this migration guide to implement place sdk in your project. Link is available here.

Place SDK for Android migration guide.

Also see the step by step guide how to implement AutoComplete in your project .Look here this linkstep by step guide to implement Autocomplete in our app.

Hope this will help you.Thanks.....

2
  • Is this the solution? Commented Mar 18, 2019 at 19:43
  • @IgorGanapolsky ,Yes after using Migration guide and implementing in my project .I have written these steps.Hope you will better understand from Migration Guide. Commented Mar 19, 2019 at 4:55
1

Please check if you have created the project from old site- https://code.google.com/apis/console/?noredirect

You need to enable the service from there.

1
  • Hello Shivam Yadav.Perhaps you haven't know yet that Place SDK for Android is deprecated now.So that the given issues occurs . Now I have implemented new Place API in my project and is successful working. Commented Feb 20, 2019 at 2:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.