Incorrect signature trust exists within Google Play services SDK play-services-basement. A debug version of Google Play services is trusted by the SDK for devices that are non-GMS. We recommend upgrading the SDK past the 2022-05-03 release.
Version of ‘play-services-basement’ >= 18.0.2
Ideally the latest version 18.2.0
二选一查看依赖添加依赖,排除原有依赖
// Replace play-services-basement with 18.2.0 version
implementation 'com.google.android.gms:play-services-basement:18.2.0'
// Google Maps
implementation ('com.google.android.gms:play-services-maps:18.1.0'){
exclude module: 'play-services-basement'
}