Issue 1:
Glide Version:

4.80

Integration libraries:

nothing

Device/Android Version:

API 27

Gradle File:

apply plugin: 'com.android.application'

allprojects {
repositories {
google()
jcenter()
maven{
url "https://maven.google.com"
}
}
}

android {
compileSdkVersion 28
defaultConfig {
applicationId "com.seuchild.smallseedlings"
minSdkVersion 23
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.constraintlayout:constraintlayout:1.1.0'
implementation 'androidx.appcompat:appcompat:1.0.0-rc01'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0-alpha1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha1'
implementation "com.google.android.material:material:1.0.0-rc01"
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'androidx.annotation:annotation:1.0.0-rc01'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
}

App:

Nothing,just dependencies

Error Message:

Program type already present: android.support.v4.app.INotificationSideChannel$Stub$Proxy
Message{kind=ERROR, text=Program type already present: android.support.v4.app.INotificationSideChannel$Stub$Proxy, sources=[Unknown source file], tool name=Optional.of(D8)}

Issue 2:
Getting the following error in Android Studio 3.0 Beta 4 with the following deps:

implementation 'com.github.bumptech.glide:glide:4.1.0'

implementation 'com.github.bumptech.glide:okhttp3-integration:4.1.0'

annotationProcessor 'com.github.bumptech.glide:compiler:4.1.0'

Gradle file:

android {

compileSdkVersion 26

buildToolsVersion "26.0.1"

defaultConfig {

minSdkVersion 21

targetSdkVersion 26

...............

gradle.properties as follows:

android.enableAapt2=true

#android.enableD8=true

#org.gradle.caching=true

org.gradle.jvmargs=-Xmx1536m

Tried multiple cleans and rebuilds. Dropping back down to Glide 4.0.0 on all deps and everything works again. Any ideas?

:app:transformClassesWithAndroidGradleClassShrinkerForDebug

-allowaccessmodification is ignored by the built-in class shrinker.

com/bumptech/glide/integration/okhttp/R$integer references unknown class: com/bumptech/glide/integration/okhttp/R

com/bumptech/glide/integration/okhttp/R$style references unknown class: com/bumptech/glide/integration/okhttp/R

com/bumptech/glide/integration/okhttp/R$color references unknown class: com/bumptech/glide/integration/okhttp/R

com/bumptech/glide/integration/okhttp/R$string references unknown class: com/bumptech/glide/integration/okhttp/R

com/bumptech/glide/R$drawable references unknown class: com/bumptech/glide/R

com/bumptech/glide/R$layout references unknown class: com/bumptech/glide/R

com/bumptech/glide/integration/okhttp/R$layout references unknown class: com/bumptech/glide/integration/okhttp/R

com/bumptech/glide/R$bool references unknown class: com/bumptech/glide/R

com/bumptech/glide/integration/okhttp/R$bool references unknown class: com/bumptech/glide/integration/okhttp/R

com/bumptech/glide/R$string references unknown class: com/bumptech/glide/R

com/bumptech/glide/integration/okhttp/R$drawable references unknown class: com/bumptech/glide/integration/okhttp/R

com/bumptech/glide/R$color references unknown class: com/bumptech/glide/R

com/bumptech/glide/R$style references unknown class: com/bumptech/glide/R

com/bumptech/glide/R$integer references unknown class: com/bumptech/glide/R

:app:transformClassesWithAndroidGradleClassShrinkerForDebug FAILED

FAILURE: Build failed with an exception.

What went wrong:

Execution failed for task ':app:transformClassesWithAndroidGradleClassShrinkerForDebug'.

Warnings found during shrinking, please use -dontwarn or -ignorewarnings to suppress them.

Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Get more help at https://help.gradle.org

BUILD FAILED in 38s

39 actionable tasks: 15 executed, 24 up-to-date