Showing
3 changed files
with
15 additions
and
12 deletions
| @@ -12,14 +12,14 @@ if (flutterRoot == null) { | @@ -12,14 +12,14 @@ if (flutterRoot == null) { | ||
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | -def flutterVersionCode = "3581" | 15 | +def flutterVersionCode = "3582" |
| 16 | if (flutterVersionCode == null) { | 16 | if (flutterVersionCode == null) { |
| 17 | - flutterVersionCode = '3581' | 17 | + flutterVersionCode = '3582' |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | -def flutterVersionName = "3.5.8.1" | 20 | +def flutterVersionName = "3.5.8.2" |
| 21 | if (flutterVersionName == null) { | 21 | if (flutterVersionName == null) { |
| 22 | - flutterVersionName = '3.5.8.1' | 22 | + flutterVersionName = '3.5.8.2' |
| 23 | } | 23 | } |
| 24 | apply plugin: 'com.android.application' | 24 | apply plugin: 'com.android.application' |
| 25 | apply plugin: 'kotlin-android' | 25 | apply plugin: 'kotlin-android' |
| @@ -43,7 +43,7 @@ android { | @@ -43,7 +43,7 @@ android { | ||
| 43 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | 43 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). |
| 44 | applicationId "com.naji.one_key" | 44 | applicationId "com.naji.one_key" |
| 45 | minSdkVersion 21 | 45 | minSdkVersion 21 |
| 46 | - targetSdkVersion 31 | 46 | + targetSdkVersion 29 |
| 47 | versionCode flutterVersionCode.toInteger() | 47 | versionCode flutterVersionCode.toInteger() |
| 48 | versionName flutterVersionName | 48 | versionName flutterVersionName |
| 49 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | 49 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| @@ -27,24 +27,25 @@ | @@ -27,24 +27,25 @@ | ||
| 27 | android:icon="@mipmap/ic_launcher"> | 27 | android:icon="@mipmap/ic_launcher"> |
| 28 | <activity | 28 | <activity |
| 29 | android:name=".MainActivity" | 29 | android:name=".MainActivity" |
| 30 | + android:exported="true" | ||
| 31 | + tools:replace="android:exported" | ||
| 30 | android:launchMode="singleTop" | 32 | android:launchMode="singleTop" |
| 31 | android:theme="@style/LaunchTheme" | 33 | android:theme="@style/LaunchTheme" |
| 32 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" | 34 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
| 33 | android:hardwareAccelerated="true" | 35 | android:hardwareAccelerated="true" |
| 34 | android:windowSoftInputMode="adjustResize" | 36 | android:windowSoftInputMode="adjustResize" |
| 35 | - android:exported="true" | ||
| 36 | - > | 37 | + > |
| 37 | 38 | ||
| 38 | 39 | ||
| 39 | <meta-data | 40 | <meta-data |
| 40 | android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" | 41 | android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" |
| 41 | android:value="true" /> | 42 | android:value="true" /> |
| 42 | 43 | ||
| 43 | - <meta-data | 44 | + <meta-data |
| 44 | android:name="io.flutter.embedding.android.SplashScreenDrawable" | 45 | android:name="io.flutter.embedding.android.SplashScreenDrawable" |
| 45 | android:resource="@drawable/launch_background" /> | 46 | android:resource="@drawable/launch_background" /> |
| 46 | 47 | ||
| 47 | - <meta-data | 48 | + <meta-data |
| 48 | android:name="flutterEmbedding" | 49 | android:name="flutterEmbedding" |
| 49 | android:value="2" /> | 50 | android:value="2" /> |
| 50 | 51 |
| @@ -5,11 +5,12 @@ buildscript { | @@ -5,11 +5,12 @@ buildscript { | ||
| 5 | google() | 5 | google() |
| 6 | jcenter() | 6 | jcenter() |
| 7 | 7 | ||
| 8 | - maven {url 'http://developer.huawei.com/repo/'} | 8 | + // maven {url 'http://developer.huawei.com/repo/'} |
| 9 | + maven {url 'https://developer.huawei.com/repo/'} | ||
| 9 | } | 10 | } |
| 10 | 11 | ||
| 11 | dependencies { | 12 | dependencies { |
| 12 | - classpath 'com.android.tools.build:gradle:3.5.4' | 13 | + classpath 'com.android.tools.build:gradle:4.2.0' |
| 13 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | 14 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
| 14 | classpath 'com.huawei.agconnect:agcp:1.0.0.300' | 15 | classpath 'com.huawei.agconnect:agcp:1.0.0.300' |
| 15 | } | 16 | } |
| @@ -20,7 +21,8 @@ allprojects { | @@ -20,7 +21,8 @@ allprojects { | ||
| 20 | google() | 21 | google() |
| 21 | jcenter() | 22 | jcenter() |
| 22 | 23 | ||
| 23 | - maven {url 'http://developer.huawei.com/repo/'} | 24 | + // maven {url 'http://developer.huawei.com/repo/'} |
| 25 | + maven {url 'https://developer.huawei.com/repo/'} | ||
| 24 | } | 26 | } |
| 25 | } | 27 | } |
| 26 | 28 |
-
Please register or login to post a comment