qpython
qpython copied to clipboard
build fail
gradle sync failed:The "android" command is no longer included in the SDK. Any references to it (e.g. by third-party plugins) should be removed.
I think section "subprojects" from root build.gradle file must be removed. gradle newer than 2.2.0 supports auto updating sdk and "SDK Manager Plugin" is deprecated according to this: https://github.com/JakeWharton/sdk-manager-plugin
diff --git a/build.gradle b/build.gradle
index 9d8df85..4dca8f6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -35,17 +35,6 @@ task clean(type: Delete) {
delete rootProject.buildDir
}
-
-subprojects {
- def androidHome
-
- if ((androidHome = System.env.'ANDROID_HOME')
- && (androidHome = androidHome as File).exists()
- && androidHome.canWrite())
- apply plugin: 'android-sdk-manager'
-}
-
-
def supportVersion = "26.0.2"
def rxVersion = "1.2.1"