커뮤니티
포인트
로딩중
쿠폰
내 강의실
국비 신청 내역
수강권
증명서
숙제 피드백
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
짝 맞추기 게임 파일 run 하면 에러가 나고 있어요
[왕초보] 플러터(Flutter)로 시작하는 앱개발 종합반
1주차
북마크
김*희
댓글
11
추천
0
조회수
25
조회수
25
답변 완료

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

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


짝 맞추기 게임 파일 run 하면 에러가 나고 있어요

자바17로 버전도 수정하고 안드로이드 sdk도 새로 설치해도 이러네요 ㅜㅜ


스파르타 즉문즉답

스파르타 즉문즉답스파르타 즉문즉답스파르타 즉문즉답스파르타 즉문즉답



작성한 코드 및 에러 메세지

Warning: Flutter support for your project's Android Gradle Plugin version (7.3.0) will soon be dropped. Please upgrade your Android Gradle Plugin version to a version of at least 7.3.1 soon.

Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check.


Potential fix: Your project's AGP version is typically defined in the plugins block of the `settings.gradle` file (C:\workspace\scc-memory-matching-game-main\android/settings.gradle), by a plugin with the id of com.android.application.

If you don't see a plugins block, your project was likely created with an older template version. In this case it is most likely defined in the top-level build.gradle file (C:\workspace\scc-memory-matching-game-main\android/build.gradle) by the following line in the dependencies block of the buildscript: "classpath 'com.android.tools.build:gradle:<version>'".


Warning: Flutter support for your project's Kotlin version (1.7.10) will soon be dropped. Please upgrade your Kotlin version to a version of at least 1.8.10 soon.

Alternatively, use the flag "--android-skip-build-dependency-validation" to bypass this check.


Potential fix: Your project's KGP version is typically defined in the plugins block of the `settings.gradle` file (C:\workspace\scc-memory-matching-game-main\android/settings.gradle), by a plugin with the id of org.jetbrains.kotlin.android.

If you don't see a plugins block, your project was likely created with an older template version, in which case it is most likely defined in the top-level build.gradle file (C:\workspace\scc-memory-matching-game-main\android/build.gradle) by the ext.kotlin_version property.

2


FAILURE: Build failed with an exception.


* What went wrong:

Execution failed for task ':app:processDebugResources'.

> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction

> Android resource linking failed

aapt2.exe E 02-22 01:19:11 12696 5560 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.

aapt2.exe E 02-22 01:19:11 12696 5560 ApkAssets.cpp:149] Failed to load resources table in APK 'C:\Users\MyCom\AppData\Local\Android\Sdk\platforms\android-35\android.jar'.

error: failed to load include path C:\Users\MyCom\AppData\Local\Android\Sdk\platforms\android-35\android.jar.

2


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


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

│ [!] Using compileSdk 35 requires Android Gradle Plugin (AGP) 8.1.0 or higher. │

│ Please upgrade to a newer AGP version. The version of AGP that your project uses is likely │

│ defined in: │

│ C:\workspace\scc-memory-matching-game-main\android\settings.gradle, │

│ in the 'plugins' closure (by the number following "com.android.application"). │

│ Alternatively, if your project was created with an older version of the templates, it is likely │

│ in the buildscript.dependencies closure of the top-level build.gradle: │

│ C:\workspace\scc-memory-matching-game-main\android\build.gradle, │

│ as the number following "com.android.tools.build:gradle:". │

Error: Gradle task assembleDebug failed with exit code 1

│ │

│ Finally, if you have a strong reason to avoid upgrading AGP, you can temporarily lower the │

│ compileSdk version in the following file: │

│ C:\workspace\scc-memory-matching-game-main\android\app\build.gradle │

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


Exited (1).

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

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

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




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