반응형
간단하게 데이터 저장할 부분이 있어서 shared_preferences를 추가했더니 워닝 발생.
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.
One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to /Users/.../android/app/build.gradle:
android {
compileSdkVersion 33
...
}
하라는 대로 app/build.gradle 파일에 compileSdkVersion 33 추가를 해줘도 계속 같은 워닝 발생.
targetSdkVersion flutter.targetSdkVersion
-> targetSdkVersion 33
targetSdkVersion 까지 33 으로 바꾸니 해결.
defaultConfig {
applicationId "com.bigwave.rgbtohex"
multiDexEnabled true
minSdkVersion 19
targetSdkVersion 33
compileSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
반응형
'Flutter' 카테고리의 다른 글
Flutter iOS 시뮬레이터가 DVTPortal Error Code=1100 "Your session has expired. Please log in." 에러와 함께 안 열릴 때 (0) | 2023.03.06 |
---|