커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
3-17 수강 중 에뮬레이터 실행 안됨 오류
[왕초보] 플러터(Flutter)로 시작하는 앱개발 종합반
3주차
북마크
손*빈
댓글
11
추천
0
조회수
23
조회수
23
답변 완료

* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.

* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.


이전까지는 잘 되다가 갑자기 에뮬레이터가 안됩니다. 어떻게 해결할 수 있을까요..?






작성한 코드 및 에러 메세지

Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...

e: C:/Users/Seungbin/.gradle/caches/transforms-3/1883941d2759c467b016d46a917ad5be/transformed/jetified-kotlin-stdlib-1.9.24.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.

e: C:/Users/Seungbin/.gradle/caches/transforms-3/1883941d2759c467b016d46a917ad5be/transformed/jetified-kotlin-stdlib-1.9.24.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.

e: C:/Users/Seungbin/.gradle/caches/transforms-3/1883941d2759c467b016d46a917ad5be/transformed/jetified-kotlin-stdlib-1.9.24.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.

e: C:/Users/Seungbin/.gradle/caches/transforms-3/c1bf03c31e3167f7272950769245b854/transformed/jetified-annotation-jvm-1.9.1.jar!/META-INF/annotation.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.


FAILURE: Build failed with an exception.


* What went wrong:

Execution failed for task ':app:compileDebugKotlin'.

> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction

> Compilation error. See log for more details


* 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 8s


┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────┐

│ [!] Your project requires a newer version of the Kotlin Gradle plugin. │

│ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then │

│ update the │

│ version number of the plugin with id "org.jetbrains.kotlin.android" in the plugins block of │

│ C:\sdk\workspace\thread_app_sample\android\settings.gradle. │

│ │

│ Alternatively (if your project was created before Flutter 3.19), update │

│ C:\sdk\workspace\thread_app_sample\android\build.gradle │

│ ext.kotlin_version = '<latest-version>' │

└──────────────────────────────────────────────────────────────────────────────────────────────┘

Error: Gradle task assembleDebug failed with exit code 1


Exited (1).

오류 발생 시, 작성한 코드 전체와 에러 메시지를 첨부해 주세요.

Tip 1) </> 아이콘을 눌러 코드박스를 만들어 보세요.

Tip 2) Ctrl+A(맥의 경우 Command+A) 단축키로 코드를 한 번에 선택할 수 있어요!




취소
 공유
취소
댓글 0
댓글 알림
나의얼굴