Maalesef işe yaramadı, jdk ekledim ancak aşağıdaki hatayı vermeye devam ediyor;
Launching lib/main.dart on Android SDK built for arm64 in debug mode…
Running Gradle task ‘assembleDebug’…
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:app:compileDebugJavaWithJavac’.
java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0×34673f54) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0×34673f54
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
BUİLD FAILED in 3s
Exception: Gradle task assembleDebug failed with exit code 1