Я нашел ссылки на это с более старой версией, но не самой последней. Я обновил Android Studio до 0.4.3 и создал новый проект. Сборка немедленно завершается с ошибкой со следующим:
Could not create an instance of Tooling API implementation using the specified Gradle distribution 'http://services.gradle.org/distributions/gradle-1.10-all.zip'.: Could not create an instance of Tooling API implementation using the specified Gradle distribution 'http://services.gradle.org/distributions/gradle-1.10-all.zip'.
com.intellij.openapi.externalSystem.model.ExternalSystemException: Could not create an instance of Tooling API implementation using the specified Gradle distribution 'http://services.gradle.org/distributions/gradle-1.10-all.zip'.
at org.jetbrains.plugins.gradle.service.project.GradleExecutionHelper.execute(GradleExecutionHelper.java:185)
Я попытался установить JDK 1.7 и настроить JAVA HOME на это (ранее было 1.6), но возникает та же ошибка. Мои GradleWrapper.properties:
#Wed Apr 10 15:27:10 PDT 2013
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.10-all.zip
Есть идеи?
File > Invalidate Cache and Restart, потому что, как вы упомянули, вы можете создавать сборки с помощью командной строки, но не из студии. - person pyus13   schedule 30.01.2014