when use gradle to build Android, i forgot to add a “-” minus character before clean task, and the gradle raise an error as what the topic title showed.
E:\prc\FileBrowser>gradle -clean
To honour the JVM settings for this build a new JVM will be forked. Please consi
der using the daemon: https://docs.gradle.org/2.9/userguide/gradle_daemon.html.
FAILURE: Build failed with an exception.
-
What went wrong:
Could not read settings file ‘E:\prc\FileBrowser\lean’ as it does not exist. -
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
Total time: 7.574 secs