我无法在Android设备上安装任何内置android studio而不是7.0版
的应用程序我的构建gradle是:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.tests.ahmadkhan.myapplication"
minSdkVersion 19
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
testCompile 'junit:junit:4.12'
compile 'com.android.support:support-annotations:25.3.1'
}
该项目是一个简单的项目...... 即使在hello world项目中,这也不起作用......
答案 0 :(得分:0)
你已经将minSdkVersion设置为19,这意味着你的应用程序将在api级别19及以上工作,即Android OS 4.4到7.1(假设7.1是迄今为止的最新版本)