Android P 应用程序未安装在 KitKat 上

标签 android android-studio android-9.0-pie

我最近安装了 android Studio 3.2 Canary 14 来开发 Android P。我的 minSDK 是 15,目标是“P”,但在 Kitkat 上运行应用程序失败并出现错误

Failure [INSTALL_FAILED_OLDER_SDK] Installation failed since app's minSdkVersion is newer than device's API level (API 19). Please update your apps minSdkVersion. Error while Installing APK

最佳答案

Google 将其设置为针对 android-P 编译的应用程序只能在 Android P 设备上运行,直到我们今年晚些时候退出开发者预览版。构建工具会覆盖您的 minSdkVersion 并为其赋予值 P。您也许可以在 Android Studio 的“合并 list ”选项卡中看到这一点。

关于Android P 应用程序未安装在 KitKat 上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50401848/

相关文章:

iphone - 如何对 jQuery Mobile iOS/Android Web 应用程序进行性能调优

java - Android SQLite : Fast insert/update

安卓 P - 警告 : "incompatible version of the Android OS"

android - SQLite: No Such Table Error Android P问题

android - 如何在android中获取目录设备中的文件?

javascript - 对象 #<Controller> 没有方法 addEventListener

java - 如何解决这个 gradle 同步问题

Android Studio - 无法连接到设备或模拟器

安卓工作室 : Layout Preview gives "native typeface cannot be made"

android - 带 DisplayCutout 的全屏应用程序