I am trying to use this dependency, implementation "com.google.android.libraries.maps:maps:3.1.0-beta", but it keeps throwing the above error.
I have added google() in my repositories list, but still it still shows the same warning while syncing and it fails to build the project siting the same error.
I have also tried invalidating caches and restarting and I get the same error.
"com.google.android.libraries.maps:maps:3.1.0-beta" has been deprecated. you can use this guide by Google to use map platform
https://developers.google.com/maps/documentation/android-sdk/start
first add this to your project level build.gradle file :
then in build.gradle (app) add this to plugins :