我已将编译 SDK 和目标 SDK 版本更新为 android P,但更新应用程序后无法安装,即使从我的设备上卸载了旧版本的 APK,它也会弹出相同的错误消息。
我的 build.gradle 设置:
compileSdkVersion 'android-P'
defaultConfig {
applicationId "com.my.app"
minSdkVersion 15
targetSdkVersion 'P'
versionCode 31
versionName "1.2.14"
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
}