Android 12 SDK seems to be stable now
if
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
minSdkVersion 23
targetSdkVersion 30
then Play Services Location works fine
but if
compileSdkVersion 31
buildToolsVersion "31.0.0"
defaultConfig {
minSdkVersion 23
targetSdkVersion 31
then
p.s. Play Services Location version:
implementation 'com.google.android.gms:play-services-location:18.0.0'