I updated the SDK for the SDK and the target version of the SDK for android P, but after updating the application I can’t install it, a pop-up window appears with the same error even after uninstalling the old version of APK from my device.
My build settings:
compileSdkVersion 'android-P'
defaultConfig {
applicationId "com.my.app"
minSdkVersion 15
targetSdkVersion 'P'
versionCode 31
versionName "1.2.14"
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
}

source
share