Builds fail with Could not execute build using Gradle distribution

6,832 views
Skip to first unread message

Kevin Smith

unread,
Jul 9, 2013, 12:46:48 PM7/9/13
to adt...@googlegroups.com
After updating Android Studio I get this error when I try to build my projects.

org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.: Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.

Adam Vollmer

unread,
Jul 10, 2013, 10:53:47 AM7/10/13
to adt...@googlegroups.com
I'm having this problem as well.

Additionally, I'd like to know if there's a way to downgrade my version of the plugin in the event of regressions such as this?


On Tue, Jul 9, 2013 at 12:46 PM, Kevin Smith <respect...@me.com> wrote:
After updating Android Studio I get this error when I try to build my projects.

org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.: Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.

--
You received this message because you are subscribed to the Google Groups "adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Pedro Pimenta

unread,
Sep 16, 2013, 4:55:05 PM9/16/13
to adt...@googlegroups.com
I had the same problem and was only able to build my project after deleting a space in the path of one of the environment variables, in this case was in path to java home.

Check your environment variable paths in windows environment variables.

Hope it works! :)

Pedro Pimenta

unread,
Sep 16, 2013, 4:55:37 PM9/16/13
to adt...@googlegroups.com

Vilius Kraujutis

unread,
Oct 13, 2013, 4:17:27 AM10/13/13
to adt...@googlegroups.com
Tried to update to Android Studio 0.2.13 and now I'm getting problems with Gradle:
org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle installation '/Users/viliuskraujutis/.gradle/wrapper/dists/gradle-1.7-all/5umk05jbv30euv1jmij2v6vv0f/gradle-1.7'.: Could not execute build using Gradle installation '/Users/viliuskraujutis/.gradle/wrapper/dists/gradle-1.7-all/5umk05jbv30euv1jmij2v6vv0f/gradle-1.7'.

Still persists even after removing everything and installing previous Android Studio  0.2.12.

Anmin Gong

unread,
Oct 13, 2013, 11:05:45 PM10/13/13
to adt...@googlegroups.com
I have the same problem after upgrading to Android studio 0.2.13.
It is really annoying.
Please please give us a solution.

在 2013年10月13日星期日UTC+8下午4时17分27秒,Vilius Kraujutis写道:

Scott Barta

unread,
Oct 14, 2013, 12:37:14 PM10/14/13
to adt...@googlegroups.com
Try building from the command line. If you don't get enough information to diagnose the problem, use the --stacktrace flag.


--

Anmin Gong

unread,
Oct 14, 2013, 10:55:32 PM10/14/13
to adt...@googlegroups.com
Building using command line is OK, so it is the problem of Android Studio.
Luckily, when switching back to Android Studio 0.2.9, everything works fine.

在 2013年10月15日星期二UTC+8上午12时37分14秒,sbarta写道:

Jigar Brahmbhatt

unread,
Oct 23, 2013, 10:00:07 PM10/23/13
to adt...@googlegroups.com
I'm also having same issue. Did you find a proper and real solution ? Thanks.
Reply all
Reply to author
Forward
0 new messages