Using the latest Android Studio 3.0 Canary 5
Here\'s the error:
Error:(1, 1) A problem occurred evaluating project \':app\'.
Failed to app
This worked for me:
Deactivate Configuration On Demand
In gradle.properties
:
org.gradle.configureondemand=false
Then stop the daemon in a terminal window:
gradlew.bat --stop
Now everything works again.
Versions used:
gradle-4.1-milestone-1
com.android.tools.build:gradle:3.0.0-alpha5
UPDATE
After upgrading to Android Studio 3.0 Beta 2 I can reactivate Configuration on Demand and everything works fine.