【发布时间】:2017-04-18 13:36:46
【问题描述】:
我无法在 android 低于 7.0 版本的设备中安装任何内置 android studio 的应用程序
我的构建等级是:
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 项目中也不起作用...
【问题讨论】:
-
您尝试安装什么/如何安装它?您无法安装用于即时运行的 apk。
-
我尝试在android 6上安装它,但它没有再次安装
-
我在我的 android 6 设备上构建和安装
标签: android android-studio gradle