android - Android Studio 中的失败 [INSTALL_FAILED_OLDER_SDK]

标签 android

所以我知道很多其他人都遇到过这个问题,但我的有点不同。我试过在装有 Android 4.4.4 的 LG G2 和装有 Android 4.4.2 的 Note 3 上运行我的应用程序,但都没有用。我已经安装了 API 18、19 和 20 SDK。

失败 [INSTALL_FAILED_OLDER_SDK]

build.gradle:

 apply plugin: 'com.android.application'

android {
    compileSdkVersion 'android-L'
    buildToolsVersion "20.0.0"

    defaultConfig {
        applicationId "com.ween.control"
        minSdkVersion 8
        targetSdkVersion 'L'
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            runProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:19.+'
}

最佳答案

您无法在 API 较低的设备上测试 Android-L 应用。 看看here .

关于android - Android Studio 中的失败 [INSTALL_FAILED_OLDER_SDK],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24469754/

相关文章:

Android 无法在我的测试手机 Pixel XL 上安装从 Eclipse 移植到 Android Studio 的应用程序

android - 如何衡量我的应用程序的数据使用情况

android - 为 FileProvider 动态生成文件路径

java - getPlaceById() 无法返回 Android 上的数据 google place API/resultCallback 未被调用

android - 如何以编程方式验证 Play 商店上的应用程序版本?

java - Android : com. google.maps :google-maps-services:0. 1.7 给出构建错误

android - 当我更改手机语言设置时,Platform.device.language 返回错误的语言

java - Firebase token 生成器在 APN 中失败

android - Kotlin:如何在不使用 getter 和 setter 的情况下更改 ViewModel 中 MutableLiveData 的值

java - 通过 WiFi-Direct 在两个 Android 设备之间发送一个字符串