Browse Source

update sdk to 33

git@yoqi.me 1 year ago
parent
commit
e5adc3e6c7
2 changed files with 3 additions and 2 deletions
  1. 2 2
      android/app/build.gradle
  2. 1 0
      android/app/src/main/AndroidManifest.xml

+ 2 - 2
android/app/build.gradle

@@ -25,7 +25,7 @@ apply plugin: 'com.android.application'
 apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
 
 android {
-    compileSdkVersion 31
+    compileSdkVersion 33
     signingConfigs {
         release {
             storeFile file("../sign/release.jks")
@@ -42,7 +42,7 @@ android {
     defaultConfig {
         applicationId "me.yoqi.flutter.tracker"
         minSdkVersion 19
-        targetSdkVersion 31
+        targetSdkVersion 33
         versionCode flutterVersionCode.toInteger()
         versionName flutterVersionName
     }

+ 1 - 0
android/app/src/main/AndroidManifest.xml

@@ -29,6 +29,7 @@
             android:name=".MainActivity"
             android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
             android:hardwareAccelerated="true"
+            android:exported="true"
             android:launchMode="singleTop"
             android:theme="@style/LaunchTheme"
             android:windowSoftInputMode="adjustResize">