0
我刚刚安装了Android Studio,并且正在从Eclipse移植我的项目。当我尝试运行应用程序时,只能使用我的手机,它是4.4.2(API 19),我收到错误Failure [INSTALL_FAILED_OLDER_SDK]
。我的build.gradle看起来是这样的:Android Studio错误:INSTALL_FAILED_OLDER_SDK
apply plugin: 'com.android.application'
android {
compileSdkVersion 'android-L'
buildToolsVersion "20.0.0"
defaultConfig {
applicationId "com.appuccino.collegefeed"
minSdkVersion 14
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
repositories {
mavenCentral()
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}
而且我AndroidManifest外观采用了以下内容:
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
当我尝试在向下兼容的选择设备对话框它说没有我的设备上运行, minSdk(API 20,L预览)!= deviceSdk(API 19)。