zhaoyi лет назад: 8
Родитель
Сommit
6cfc794283
2 измененных файлов с 12 добавлено и 3 удалено
  1. 11 2
      app/build.gradle
  2. 1 1
      build.gradle

+ 11 - 2
app/build.gradle

@@ -2,12 +2,12 @@ apply plugin: 'com.android.application'
 
 
 android {
-    compileSdkVersion 26
+    compileSdkVersion 24
     buildToolsVersion '26.0.2'
     defaultConfig {
         applicationId "com.sheep.jiuyan.samllsheep"
         minSdkVersion 18
-        targetSdkVersion 26
+        targetSdkVersion 24
         versionCode 1
         versionName "1.0"
         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -49,6 +49,9 @@ dependencies {
 //        exclude group: 'com.android.support', module: 'support-annotations'
 //    })
     compile 'com.android.support.constraint:constraint-layout:1.0.2'
+   /* compile ('com.android.support:support-v4:23.4.0'){
+        force = true;
+    }*/
     testCompile 'junit:junit:4.12'
     //    compile 'com.shark:screencapture:1.0.0'
     compile 'com.google.code.gson:gson:2.7'
@@ -68,5 +71,11 @@ dependencies {
     compile 'com.mylhyl:acp:1.1.7'
     compile 'cn.yipianfengye.android:zxing-library:2.2'
 
+    compile 'com.android.support:appcompat-v7:24.2.1'
+    compile 'com.android.support:design:24.2.1'
+    compile 'com.android.support:support-v13:24.2.1'
+    compile 'com.android.support:recyclerview-v7:24.2.1'
+    compile 'com.android.support:support-v4:24.0.0'
+
 
 }

+ 1 - 1
build.gradle

@@ -6,7 +6,7 @@ buildscript {
     }
     dependencies {
         classpath 'com.android.tools.build:gradle:2.3.3'
-        classpath 'com.didi.virtualapk:gradle:0.9.1'
+//        classpath 'com.didi.virtualapk:gradle:0.9.1'
         // NOTE: Do not place your application dependencies here; they belong
         // in the individual module build.gradle files
     }