when i debug app in flutter IDE IntelliJ IDEA Community Edition 2017.1.3 x64.
Launching lib\main.dart on Android SDK built for x86 64 in debug mode...
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\RAHUL BALHARA\IdeaProjects\myfluttersandbox\android\build.gradle' line: 20
* What went wrong:
A problem occurred evaluating root project 'android'.
> A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
> com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error running gradle: Exit code 1 from: C:\ProgramFilesand\Android\AndroidStudioPreview\gradle\gradle-4.0-milestone-1\bin\gradle.bat app:properties
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\RAHUL BALHARA\IdeaProjects\myfluttersandbox\android\build.gradle' line: 20
* What went wrong:
A problem occurred evaluating root project 'android'.
> A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
> com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Finished with error: Gradle build failed: 1