에뮬레이터 에러 생겨서
구글 설명대로
일주일 동안 여러가지 방법 다 했는데 다 안되네요.
안드로이드 스튜디오 구버전 3개 정도 바꾸어 가며 해도 안되고
플로터 도 구버전 여러개 가지고 깔아도 안되고
자바도 8버전 깔라는 말이 있어 했는데 안되고
시스템 환경변수 바꾸어 봐도 안되고
암튼 안되네요.
좀전에 다 밀어버리고
안드로이드 최신버전 android-studio-2022.2.1.20-windows.exe
플러터는 3.10.6
자바는 17 버전 jdk-17_windows-x64_bin.exe
으로 해서 하니 터미널창에서 좀 맟추어 주니
안드로이드 우측상단 맨 좌측 박스에 Pixel 5 API 32 (mobile) 가 올라가고 조금 나아진거 같두만
결국 에러 나오네요.
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
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 @73248824
* 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 5s
Exception: Gradle task assembleDebug failed with exit code 1
에러 메세지 입니다,
이건 구글 검색해도 안나오는데 뭐가 문제 일까요 ???