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.

Rahul Kushwaha
  • 5,473
  • 3
  • 26
  • 30
  • This is deprected now. I am able to resolve this problem. – Rahul Kushwaha Feb 07 '19 at 07:57
  • I successfully resolve this issue.By using this migration guide https://developers.google.com/places/android-sdk/client-migration – Rahul Kushwaha Feb 20 '19 at 02: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! – harsh pamnani Mar 01 '19 at 04:09
  • @harshpamnani have you studied the migration guide and implemented it in your new code? – Rahul Kushwaha Mar 01 '19 at 05:25
  • 1
    Yes I tried. But it doesn't seem to work. What all steps we need to follow from that guide? – harsh pamnani Mar 01 '19 at 06:35
  • @harshpamnani Actually I have implemented new place library for AutoComplete Place from this documentation. Give some time and try, you will surely implement in your project by following step by step given in that. If you can't ,I will share you code of AutoComplete Place(If problem in implementing AutoComplete ). Thanks..... – Rahul Kushwaha Mar 01 '19 at 09:09
  • Thanks Rahul. I will try today and let you know. – harsh pamnani Mar 01 '19 at 15:13
  • Or else I will send my code. Can you please just have a look at it once and see what am I doing wrong. – harsh pamnani Mar 01 '19 at 15:14
  • I am still not able to do it. Can you please share your email address? I will send my codes. Can you please check what is my error. – harsh pamnani Mar 01 '19 at 21:24
  • @harshpamnani My email Address is rahulkushwaha482@gmail.com – Rahul Kushwaha Mar 02 '19 at 05:00
  • I have sent you a detailed email. Could you please check. Thanks! – harsh pamnani Mar 03 '19 at 00:36
  • ok @harshpamnani I have seen and I will send you feedbacks.Thanks.. – Rahul Kushwaha Mar 03 '19 at 06:23
  • Thanks Rahul. It's working now. Anyways Thanks a lot for the help. – harsh pamnani Mar 03 '19 at 22:56

2 Answers2

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.....

Rahul Kushwaha
  • 5,473
  • 3
  • 26
  • 30
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.

Shivam Yadav
  • 958
  • 11
  • 23
  • 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. – Rahul Kushwaha Feb 20 '19 at 02:19