I just updated Android Studio, and now when I try to build my app, I get the following Gradle error:
Information: Compilation completed with 2 e
I had same issue, because my office PC is 32-bit and my home PC is 64 bit. In the local.properties file, I changed
local.properties
sdk.dir=C:/Program Files/Android/android-studio/sdk
to
sdk.dir=C:/Program Files (x86)/Android/android-studio1/sdk
note the x86 version of Program Files