Open binarysmith1719 opened 1 year ago
I recently faced this issue and I am able to fix this issue by downgrading the Android Services Location dependency.
To fix this just downgrade your Services Location dependency.
This works for me.
implementation "com.google.android.gms:play-services-location:20.0.0"
Thanks
these are my dependencies=> dependencies { implementation 'com.google.android.gms:play-services-location:21.0.0' implementation 'androidx.core:core-ktx:1.7.0' implementation 'androidx.appcompat:appcompat:1.5.1' implementation 'com.google.android.material:material:1.6.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' implementation('com.mapbox.maps:android:10.5.0') { exclude group: 'group_name', module: 'module_name' transitive = true } implementation 'com.mapbox.navigation:android:2.8.0' implementation ('com.mapbox.navigation:ui-dropin:2.8.0')
}