While I was trying to build my working project in the updated Android Studio (0.3.6), I got the below error message. It works fine when I build via CLI.
java
You can try this :
Invalidate caches
Here is a better solution so you do not have to import the project again.
Go to: File > Invalidate Caches/Restart
and select Invalidate and Restart
Or update The SDK Build Tools, in Android SDK.
Worked for me.
Just remove .idea files from project. And import project again.