Flutter Gradle Issue on Brand New Install

1,145 views
Skip to first unread message

Claude Grecea

unread,
Oct 24, 2018, 12:54:50 PM10/24/18
to Flutter Dev
I am receiving the following error when I try to run the default app on brand new install. 

Any thoughts on resolving this issue is much appreciated. 


Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
* Error running Gradle:
ProcessException: Process "/Users/rz3t64/Documents/Development/flutter_projects/flutter_app/android/gradlew" exited abnormally:
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

* Where:


Build file '/Users/rz3t64/Documents/Development/flutter_projects/flutter_app/android/app/build.gradle' line: 25

* What went wrong:
A problem occurred evaluating project ':app'.
> Could not resolve all files for configuration 'classpath'.
   > Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
     Searched in the following locations:

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 0s
  Command: /Users/rz3t64/Documents/Development/flutter_projects/flutter_app/android/gradlew app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.

Todd Volkert

unread,
Oct 24, 2018, 4:30:11 PM10/24/18
to claude...@gmail.com, flutt...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

far...@abiresearch.com

unread,
Oct 24, 2018, 5:01:08 PM10/24/18
to Flutter Dev

Claude Grecea

unread,
Oct 24, 2018, 7:03:43 PM10/24/18
to Flutter Dev
Thanks that worked...
Reply all
Reply to author
Forward
0 new messages