커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
sdk version 오류
[왕초보] 플러터(Flutter)로 시작하는 앱개발 종합반 v0
4주차
북마크
김*주
댓글
15
추천
0
조회수
41
조회수
41
답변 완료

Launching lib\main.dart on Android SDK built for x86 in debug mode...

main.dart:1

Warning: The plugin webview_flutter_android requires Android SDK version 32.

One or more plugins require a higher Android SDK version.

Fix this issue by adding the following to C:\src\flutter\watch_pedia\android\app\build.gradle:

android {

compileSdkVersion 32

...

}


For more information about build configuration, see https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.


FAILURE: Build failed with an exception.


* What went wrong:

Execution failed for task ':app:checkDebugAarMetadata'.

> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction

> One or more issues found when checking AAR metadata values:


Dependency 'androidx.webkit:webkit:1.5.0' requires 'compileSdkVersion' to be set to 32 or higher.

Compilation target for module ':app' is 'android-31'


* 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

Exited (sigterm)




run with out debbuging 을 했는데 저런오류가 떠서 android/app/src/build.gradle 에서 버전도 19에서 32 33다 바꿔 보고

안드로이드 스튜디오로 데이터와이퍼까지해봤는데 뭐가 문제인지 모르겠습니다

코드는 에러가 없어요








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