File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ android {
4343        targetSdkVersion 28 
4444        versionCode flutterVersionCode. toInteger()
4545        versionName flutterVersionName
46-         testInstrumentationRunner " android.support .test.runner.AndroidJUnitRunner" 
46+         testInstrumentationRunner " androidx .test.runner.AndroidJUnitRunner" 
4747    }
4848    //  配置安卓打包
4949    signingConfigs {
@@ -65,6 +65,9 @@ android {
6565            useProguard true 
6666
6767            proguardFiles getDefaultProguardFile(' proguard-android.txt' ' proguard-rules.pro' 
68+             dependencies {
69+                 implementation ' com.android.support:support-fragment:28.0.0' 
70+             }
6871        }
6972    }
7073}
@@ -75,6 +78,6 @@ flutter {
7578
7679dependencies  {
7780    testImplementation ' junit:junit:4.12' 
78-     androidTestImplementation ' com.android.support. test:runner:1.0.2 ' 
79-     androidTestImplementation ' com.android.support. test.espresso:espresso-core:3.0.2 ' 
81+     androidTestImplementation ' androidx. test:runner:1.1.1 ' 
82+     androidTestImplementation ' androidx. test.espresso:espresso-core:3.1.1 ' 
8083}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
55    }
66
77    dependencies {
8-         classpath ' com.android.tools.build:gradle:3.2.1 ' 
8+         classpath ' com.android.tools.build:gradle:3.3.0 ' 
99    }
1010}
1111
Original file line number Diff line number Diff line change 11org.gradle.jvmargs =-Xmx1536M
2+ android.enableJetifier =true
3+ android.useAndroidX =true
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments