Skip to content

Commit 24d59a5

Browse files
author
committed
fix bug
1 parent e650e83 commit 24d59a5

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

android/app/build.gradle

+6-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def keystoreProperties = new Properties()
3030
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
3131

3232
android {
33-
compileSdkVersion 27
33+
compileSdkVersion 28
3434

3535
lintOptions {
3636
disable 'InvalidPackage'
@@ -40,10 +40,11 @@ android {
4040
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4141
applicationId "com.ngu.wanandroidngu"
4242
minSdkVersion 16
43-
targetSdkVersion 27
43+
targetSdkVersion 28
4444
versionCode flutterVersionCode.toInteger()
4545
versionName flutterVersionName
46-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
46+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
47+
multiDexEnabled true
4748
}
4849

4950
signingConfigs {
@@ -68,6 +69,6 @@ flutter {
6869

6970
dependencies {
7071
testImplementation 'junit:junit:4.12'
71-
androidTestImplementation 'com.android.support.test:runner:1.0.2'
72-
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
72+
androidTestImplementation 'androidx.test:runner:1.1.0'
73+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
7374
}

android/gradle.properties

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
android.enableJetifier=true
2+
android.useAndroidX=true
13
org.gradle.jvmargs=-Xmx1536M

0 commit comments

Comments
 (0)