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.
Cause: unexpected end of block data
I also had the same problem. I resolved this issue by setting ANDROID_HOME environmental variable. export ANDROID_HOME=/android_sdk_root_dir
export ANDROID_HOME=/android_sdk_root_dir
Hope this helps.