Hi,
I am using Android Studio 1.3 RC3 with Gradle 2.5.
Whenever I try to sync gradle, it gives the following error:
Gradle sync failed: The target server failed to respond
Consult IDE log for more details (Help | Show Log
I have noticed that this happens whenever I use “+” in calsspath. The following line gives error.
classpath “com.android.tools.build:gradle:1.0.+”
It works fine if I change this to
classpath ‘com.android.tools.build:gradle:1.2.3’
I am new to Gradle and I do not understand why am I getting this error. As far as I understand, “+” can be used whenever we want to use the latest version available.
Could anyone please help me understand this.
Thanks