
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
4주차까지 모든 강의를 수강하고 코드도 그대로 인데
앱 종료후 다시 시작 Run without debugging 실행하였을 때 아래와 같은 메시지 와 함께
앱이 작동하지 않습니다.
두번째 캡쳐는 pubspec.yaml 파일인데, 혹시 참고가 될까 하여 올립니다.
webview 패키지 설치했을 때 4.0.1 버전이 설치되었습니다.
그런데 알수없는 오류가 발생해서, 캡처와 같이 버전을 3.0.4 으로 바꾸었더니 해당 오류는 해결되었습니다.


작성한 코드 및 에러 메세지
DEBUG CONSOLE 창의 모든 메시지 입니다.
Launching lib\main.dart on Android SDK built for x86 in debug mode...
lib\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:\00InVision\70private\00spartaApp\flutter\watcha_pedia2\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 5s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
