title: Gradle Project Sync failed in Android Studio
body: <p>I open my project in android studio by importing the build.gradle, the project used to work fine before but now I get an error that says that the gradle project sync failed. I tried a build and it says Task '' not found in the root project 'projectname'. </p>
  
  <p>This what shows up in log files. </p>
  
  <p>2015-01-20 11:50:03,315 [  58495]   WARN - radle.project.ProjectSetUpTask -<br>
  2015-01-20 11:50:03,316 [  58496]   INFO - radle.project.ProjectSetUpTask - Cause: unexpected end of block data</p>
  
  <p>org.gradle.tooling.GradleConnectionException: Could not run build action using Gradle installation '/home/avidbot/android-studio/gradle/gradle-2.2.1'.</p>