You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"// NOTE: Do not place your application dependencies here; they belong// in the individual module build.gradle files
}
app module build.gradle:
dependencies {
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
testImplementation 'junit:junit:4.12'
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "com.android.support:appcompat-v7:$android_support_version"
implementation "com.android.support:cardview-v7:$android_support_version"
implementation "com.android.support:design:$android_support_version"
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation "org.jetbrains.anko:anko-commons:$anko_version"
implementation 'io.reactivex.rxjava2:rxjava:2.1.3'
implementation 'io.reactivex.rxjava2:rxkotlin:2.0.2'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
implementation 'com.google.code.gson:gson:2.8.2'
implementation project(':net')
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0'
implementation 'com.github.bumptech.glide:glide:4.4.0'//if I add this dependency,It will crash.
annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'//if I add this dependency,It will crash.
implementation 'org.jsoup:jsoup:1.10.2'
}
Glide Version:4.4.0
Integration libraries:RxJava/RxAndroid/RxKotlin,Retrofit,okhttp3-3.8.0,gson,jsoup.
Device/Android Version:Huawei 6X/Android 7.0
Issue details / Repro steps / Use case background:
Issue details:
I init a android project with kotlin.when I add Glide dependenies,it crash at
setSupportActionBar(toolbar)
inMainActivity
.Repro steps:
2.add Glide dependenies,run app,crash.
Glide load line /
GlideModule
(if any) / list Adapter code (if any):I'd even not use any code with Glide.
Something maybe helpful:
gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
root build.gradle:
app module build.gradle:
Layout XML:
I'd even not use any code with Glide.
Stack trace / LogCat:
And,here is my code:
setSupportActionBar in MainActivity
dependencies for Glide
The text was updated successfully, but these errors were encountered: