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

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

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


강의 영상 그대로 따라하였는데 android > build.gradle > 50 번째 줄의 flutter.minSdkVersion19 로 수정 후 앱을 정지 하고 run without debugging 눌러 실행할때 에뮬레이터가 실행이안되고 debug console에 해당에러 코드가 나옵니다.







작성한 코드 및 에러 메세지

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

main.dart:1
Warning: The plugin webview_flutter_android requires Android SDK version 32.

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

One or more plugins require a higher Android SDK version.

Fix this issue by adding the following to C:\watcha_pedia\watcha_pedia\android\app\build.gradle:
android {
  compileSdkVersion 32
  ...
}




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 2s

Exception: Gradle task assembleDebug failed with exit code 1

Exited (sigterm)

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

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




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