flutter run
Launching lib/main.dart on V2060 in debug mode…
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:app:processDebugMainManifest’.
Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not “opens java.io” to unnamed module @686d592a
-
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 23s
Running Gradle task ‘assembleDebug’… 25.2s
Exception: Gradle task assembleDebug failed with exit code 1
This error I’m facing.
How to solve this in MacOs.
Moon Princess is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.