我刚刚将构建版本25增加到28,并在1.8编译中更改了JDK。 在那之后,那个问题发生了,所以伙计们请帮我解决这个问题,浪费了我8个小时的时间........................... ................................................... ........... 。 。 。 。 。 。 。 。 。 。 。 。 。 。
构建脚本{ 储存库{
maven { url "https://jcenter.bintray.com" }
maven { url "http://repo1.maven.org/maven2" }
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://maven.fabric.io/public' }
maven { url "https://jitpack.io" }
maven { url 'http://dl.bintray.com/amulyakhare/maven' }
maven { url "http://dl.bintray.com/glomadrian/maven" }
google()
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
classpath 'com.android.tools.build:gradle:3.1.4'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
repositories {
maven { url "https://jcenter.bintray.com" }
maven { url "http://repo1.maven.org/maven2" }
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://maven.fabric.io/public' }
maven { url "https://jitpack.io" }
maven { url 'http://dl.bintray.com/amulyakhare/maven' }
maven { url "http://dl.bintray.com/glomadrian/maven" }
google()
}
android {
compileSdkVersion 28
buildToolsVersion '27.0.3'
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId "com.picnut.app.picnut"
minSdkVersion 21
targetSdkVersion 28
versionCode 77
versionName "2.81"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
implementation 'com.android.support:recyclerview-v7:28.0.0-rc01'
implementation 'com.google.android.gms:play-services:12.0.1'
implementation files('libs/android-async-http-1.4.6.jar')
implementation files('libs/android-query-full.0.26.8.jar')
implementation files('libs/universal-image-loader-1.9.0.jar')
implementation 'com.android.support:multidex:1.0.1'
implementation 'org.apache.httpcomponents:httpclient-android:4.3.5'
implementation('org.apache.httpcomponents:httpmime:4.3.5') {
exclude module: 'org.apache.httpcomponents:httpclient'
}
implementation files('libs/android-viewbadger.jar')
implementation('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
transitive = true;
}
implementation 'com.koushikdutta.ion:ion:2.1.7'
implementation files('libs/stickygridheaders.jar')
implementation "commons-io:commons-io:2.5"
implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
implementation 'de.hdodenhof:circleimageview:2.0.0'
implementation 'com.github.rahatarmanahmed:circularprogressview:2.4.0'
implementation 'com.github.glomadrian:CodeInput:1.1@aar'
implementation 'com.balysv:material-rip`enter code here`ple:1.0.2'
implementation 'in.srain.cube:grid-view-with-header-footer:1.0.12'
implementation 'com.google.firebase:firebase-core:16.0.3'
implementation 'com.google.firebase:firebase-messaging:17.3.0'
implementation 'com.parse.bolts:bolts-android:1.+'
}
apply plugin: 'com.google.gms.google-services'