Commit ce336b4a9daa8d923c791f50346cb0ec228da584

Authored by wdn127929
1 parent fad09129

升级flutter2.10.5安卓sdudio等

... ... @@ -12,14 +12,14 @@ if (flutterRoot == null) {
}
def flutterVersionCode = "3581"
def flutterVersionCode = "3582"
if (flutterVersionCode == null) {
flutterVersionCode = '3581'
flutterVersionCode = '3582'
}
def flutterVersionName = "3.5.8.1"
def flutterVersionName = "3.5.8.2"
if (flutterVersionName == null) {
flutterVersionName = '3.5.8.1'
flutterVersionName = '3.5.8.2'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
... ... @@ -43,7 +43,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.naji.one_key"
minSdkVersion 21
targetSdkVersion 31
targetSdkVersion 29
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
... ...
... ... @@ -27,24 +27,25 @@
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
tools:replace="android:exported"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize"
android:exported="true"
>
>
<meta-data
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value="true" />
<meta-data
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background" />
<meta-data
<meta-data
android:name="flutterEmbedding"
android:value="2" />
... ...
... ... @@ -5,11 +5,12 @@ buildscript {
google()
jcenter()
maven {url 'http://developer.huawei.com/repo/'}
// maven {url 'http://developer.huawei.com/repo/'}
maven {url 'https://developer.huawei.com/repo/'}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.4'
classpath 'com.android.tools.build:gradle:4.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.huawei.agconnect:agcp:1.0.0.300'
}
... ... @@ -20,7 +21,8 @@ allprojects {
google()
jcenter()
maven {url 'http://developer.huawei.com/repo/'}
// maven {url 'http://developer.huawei.com/repo/'}
maven {url 'https://developer.huawei.com/repo/'}
}
}
... ...