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

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

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


5주차 광고 배너 넣은 후에 애뮬레이터 실행이 되지 않고 있습니다. 영상에서 오류가 뜨면 정지 후에 run 하라고 하셔서 그렇게 했는데 그 이후 부터 애뮬레이터가 실행되지 않고 있습니다.




스파르타 즉문즉답



작성한 코드 및 에러 메세지

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

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

Tip 2) Ctrl+A(맥의 경우 Command+A) 단축키로 코드를 한 번에 선택할 수 있Launching lib\main.dart on Android SDK built for x86 in debug mode...

main.dart:1

Warning: The plugin google_mobile_ads requires Android SDK version 33.

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

Warning: The plugin shared_preferences_android requires Android SDK version 33.

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

Warning: The plugin webview_flutter_android requires Android SDK version 33.

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:\flutter\mymemo_admob\android\app\build.gradle:

android {

compileSdkVersion 33

...

}



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.7.0' requires 'compileSdkVersion' to be set to 33 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 6s

Exception: Gradle task assembleDebug failed with exit code 1

Exited (sigterm)

어요!




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