My google places SDK doesn't seem to work after trying multiple options. What could the issue be?

38 views Asked by At

I'm using the google places SDk which I'm aware has deprecated. I'm using the AutoComplete functionality but constantly get errors that state there is a network error and the resolution is null. Is this because of the deprecation? Does it make a difference if my API Key is in my Manifest or can I store it anywhere I want (Ignore security purposes)?

1

There are 1 answers

0
evan On BEST ANSWER

You cannot use the deprecated Places SDK anymore. You'll need to migrate to the new Places SDK for Android if you want to continue using the Places service; there's no way you can get the deprecated SDK to work by this time.

Check out What are the consequences of not migrating to the new released google places sdk

Note that you'll also need to migrate to AndroidX if you haven't done so yet either.

Hope this helps!