在將我的頂級build.gradle改爲使用Android Plugin for Gradle 3.0.0-beta3
以及Gradle 4.1
之後,AirWatch
無法從APK中讀取信息(如versionCode和versionName) 。AirWatch似乎與Android插件不兼容Gradle 3.0.0-beta1
// 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'
}
這是已知問題嗎?任何解決方法?
這似乎是AW領域中的一個已知問題。看起來他們在路線圖上有它,但沒有明確的日期。有些人希望9.2.3 –