From d61d376b7dd30482f4627aeec024c2c885ec866d Mon Sep 17 00:00:00 2001 From: haozi Date: Wed, 17 Apr 2019 15:04:25 +0800 Subject: [PATCH] sdkversion --- Toastlib/build.gradle | 6 +++--- app/build.gradle | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Toastlib/build.gradle b/Toastlib/build.gradle index c772d9c..5e01159 100644 --- a/Toastlib/build.gradle +++ b/Toastlib/build.gradle @@ -1,13 +1,13 @@ apply plugin: 'com.android.library' android { - compileSdkVersion 28 + compileSdkVersion 26 defaultConfig { minSdkVersion 16 - targetSdkVersion 28 + targetSdkVersion 26 versionCode 1 versionName "1.0" @@ -27,7 +27,7 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'com.android.support:appcompat-v7:28.0.0' + implementation 'com.android.support:appcompat-v7:26.0.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' diff --git a/app/build.gradle b/app/build.gradle index 694ad4b..0e00f93 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,11 +1,11 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 28 + compileSdkVersion 26 defaultConfig { applicationId "com.android.toasttest" minSdkVersion 16 - targetSdkVersion 28 + targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -20,11 +20,12 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'com.android.support:appcompat-v7:28.0.0' + implementation 'com.android.support:appcompat-v7:26.0.0' implementation 'com.android.support.constraint:constraint-layout:1.1.3' - implementation 'com.android.support:design:28.0.0' + implementation 'com.android.support:design:26.0.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' implementation project(':Toastlib') +// implementation 'com.github.haozi5460:Toastlib:1.0.0' }