首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >Android Studio :失败[INSTALL_FAILED_OLDER_SDK]

Android Studio :失败[INSTALL_FAILED_OLDER_SDK]
EN

Stack Overflow用户
提问于 2014-06-28 17:04:19
回答 18查看 133.1K关注 0票数 55

今天我下载了Android Studio 0.8.0测试版。我正在尝试在SDK 17上测试我的应用程序。Android studio error Failure [INSTALL_FAILED_OLDER_SDK]这里是我的android清单

代码语言:javascript
复制
    <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.vahe_muradyan.notes" >
    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".Main_Activity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

看起来android studio使用的是build.gradle.Here is build.gradle中的配置

代码语言:javascript
复制
    apply plugin: 'com.android.application'

android {
    compileSdkVersion 'L'
    buildToolsVersion "20.0.0"

    defaultConfig {
        applicationId "com.vahe_muradyan.notes"
        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.+'
}
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/24465289

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档