Created
December 3, 2017 21:19
-
-
Save catvec/d89e7ad0284a7f3482325d9b68bfcd4f to your computer and use it in GitHub Desktop.
Flutter run error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ flutter run --debug ⏎ ✹ ✭ | |
| Launching lib/main.dart on Pixel 2 in debug mode... | |
| Initializing gradle... | |
| Resolving dependencies... | |
| * Error running Gradle: | |
| Exit code 1 from: /home/noah/Documents/workspace/go/src/github.com/Noah-Huppert/battery-monitor/app/battery_monitor/android/gradlew app:properties: | |
| BUILD FAILED | |
| Total time: 1.354 secs | |
| WARNING: An illegal reflective access operation has occurred | |
| WARNING: Illegal reflective access by org.gradle.internal.reflect.JavaMethod (file:/home/noah/.gradle/wrapper/dists/gradle-3.3-all/55gk2rcmfc6p2dg9u9ohc3hw9/gradle-3.3/lib/gradle-base-services-3.3.jar) to method java.lang.ClassLoader.getPackages() | |
| WARNING: Please consider reporting this to the maintainers of org.gradle.internal.reflect.JavaMethod | |
| WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations | |
| WARNING: All illegal access operations will be denied in a future release | |
| FAILURE: Build failed with an exception. | |
| * Where: | |
| Build file '/home/noah/Documents/workspace/go/src/github.com/Noah-Huppert/battery-monitor/app/battery_monitor/android/build.gradle' line: 27 | |
| * What went wrong: | |
| A problem occurred evaluating root project 'android'. | |
| > A problem occurred configuring project ':app'. | |
| > Failed to notify project evaluation listener. | |
| > Could not initialize class com.android.sdklib.repository.AndroidSdkHandler | |
| * Try: | |
| Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. | |
| Please review your Gradle project setup in the android/ folder. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment