From 48c947d0151b5a7ea62a8a952ba57b87ffa7bc01 Mon Sep 17 00:00:00 2001 From: zhangbaosong Date: Wed, 2 Aug 2017 18:25:10 +0800 Subject: 适配低版本 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/build.gradle | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'library') diff --git a/library/build.gradle b/library/build.gradle index 8d8d745..a752f5e 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -8,11 +8,11 @@ android { defaultConfig { - minSdkVersion 21 + minSdkVersion 15 targetSdkVersion 26 versionCode 1 versionName "1.0" - + vectorDrawables.useSupportLibrary = true testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } @@ -26,8 +26,9 @@ android { dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') - compile 'com.android.support:animated-vector-drawable:26.0.0' + compile 'com.android.support:animated-vector-drawable:26.0.0-beta1' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:0.5' androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2' + implementation 'com.android.support:appcompat-v7:26.0.0-beta1' } -- cgit v1.2.3-70-g09d2