I am currently using Flutter V2.5.0. I updated to targetSdkVersion 33, however, I can't open it and am stuck in the APK file installation process.
How can I update to targetSDK 33 and keep Flutter version 2.5.0?
I am currently using Flutter V2.5.0. I updated to targetSdkVersion 33, however, I can't open it and am stuck in the APK file installation process.
How can I update to targetSDK 33 and keep Flutter version 2.5.0?
open build.gradle file
replace
compileSdkVersion flutter.compileSdkVersion
withMath.max(flutter.compileSdkVersion, 33)
replace
targetSdkVersion flutter.targetSdkVersion
withtargetSdkVersion Math.max(flutter.targetSdkVersion, 33)
and
replace
minSdkVersion flutter.minSdkVersion
withminSdkVersion Math.max(flutter.minSdkVersion, 23)
if required.