Open nealsanche opened 9 years ago
I'm experiencing the same on Build Tools 0.13.1, Gradle 2.1.
I just tried reproducing your issue by deleting the build tools using the SDK Manager. Afterwards I tried compiling, however, Build Tools 20 download just fine.
OS X 10.9.5 Android Studio 0.8.11 Android Gradle Plugin 0.13.2 Gradle 2.1
Here are my configs:
// build.gradle
apply plugin: 'android-sdk-manager'
apply plugin: 'com.android.application'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.13.+'
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'
}
}
android {
…
buildToolsVersion "20"
…
}
@aried3r I agree, I have been using a similar configuration on a build server. @nealsanche Are you still having this issue?
In fact, I am no longer having this issue. Thanks for asking, I just tested it by deleting my sdk/build-tools/20.0.0 and running my build, and it downloaded the tools once again.
I've been finding that Build Tools 20.0.0 never downloads. So I ran my gradle build in debug to see what might be going on and I find things like the following:
It seems that the URLs that are being polled for the lists of tools and repositories don't contain build tools at all. Any idea what I can do to get my builds working (other than installing everything manually)?