Kri*_*ena 6 android android-studio android-9.0-pie
我已经将编译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
}
Run Code Online (Sandbox Code Playgroud)
我想到的是,您无法将开发人员预览版本定位为targetSdkVersion具有发布版本的设备或模拟器.如果您确实需要设置targetSdkVersion,则需要在运行android-P开发人员预览的设备/模拟器中运行它.
| 归档时间: |
|
| 查看次数: |
613 次 |
| 最近记录: |