将我的顶级 build.gradle 更改为使用Android Plugin for Gradle 3.0.0-beta3
withGradle 4.1
后,AirWatch
无法从 APK 中读取信息(如 versionCode 和 versionName)。
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-beta3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
roomVersion = '1.0.0-alpha9'
supportLibVersion = '26.0.1'
}
这是一个已知的问题?任何解决方法?