While importing project as gradle have error Cause: unexpected end of block data
. Project has several modules. I'm using Idea 132.719 and 1.8 gradle.
goto Files>Settings in Android Studio. goto Build,Execution,Development>Gradle. choose your gradle path.
I had the same problem. Turned out the build.gradle specified a buildToolsVersion that was not installed:
android {
buildToolsVersion "18.1"
...
}
while I only had 18.1.1 installed. Changing the buildToolsVersion in build.gradle fixed the problem for me. If this doesn't fix it for you, carefully inspecting the Intellij log might reveal the problem.
You can use the Android SDK Manager to see which version of the build tools is installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With