Gradle execution fails: Unknown command-line option '--daemon'
android, android-studio, gradle
Solution
The answer is very simple. It seems that new version of Android studio imported all setting from previous one. Some of old options added additional options to compiler
Problem
I use latest Android Studio (0.8.2). On my other PC the same code is successfully builded. It means that build scripts are correct. So I assume that it is something with Gradle configuration, but I double rechecked all configs: - I completely removed .gradle folder under C:\Windows\Users{MyUser}.gradle to delete old configurations; - gradle.properties file doesn`t have any uncommented options What do I miss? NOTE! I have not specified '--daemon' option. Or I only think so:( I can`t find it in Gradle default and project specific settings Also I created absolutely new project in the studio. It didn`t help - the same error(