<p dir="auto"><strong>Glide Version</strong>:<br>
4.80</p>
<p dir="auto"><strong>Integration libraries</strong>:<br>
nothing</p>
<p dir="auto"><strong>Device/Android Version</strong>:<br>
API 27</p>
<p dir="auto"><strong>Gradle File</strong>:</p>
<div class="highlight highlight-source-groovy-gradle notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="apply plugin: 'com.android.application'

allprojects {
    repositories {
        google()
        jcenter()
        maven{
            url &quot;https://maven.google.com&quot;
        }
    }
}

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId &quot;com.seuchild.smallseedlings&quot;
        minSdkVersion 23
        targetSdkVersion 28
        versionCode 1
        versionName &quot;1.0&quot;
        testInstrumentationRunner &quot;android.support.test.runner.AndroidJUnitRunner&quot;
    }
    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 &quot;com.google.android.material:material:1.0.0-rc01&quot;
    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'
}"><pre class="notranslate">apply <span class="pl-c1">plugin</span>: <span class="pl-s"><span class="pl-pds">'</span>com.android.application<span class="pl-pds">'</span></span>

<span class="pl-en">allprojects</span> {
    repositories {
        google()
        jcenter()
        maven{
            url <span class="pl-s"><span class="pl-pds">"</span>https://maven.google.com<span class="pl-pds">"</span></span>
        }
    }
}

<span class="pl-en">android</span> {
    compileSdkVersion 28
    defaultConfig {
        applicationId <span class="pl-s"><span class="pl-pds">"</span>com.seuchild.smallseedlings<span class="pl-pds">"</span></span>
        minSdkVersion <span class="pl-c1">23</span>
        targetSdkVersion <span class="pl-c1">28</span>
        versionCode <span class="pl-c1">1</span>
        versionName <span class="pl-s"><span class="pl-pds">"</span>1.0<span class="pl-pds">"</span></span>
        testInstrumentationRunner <span class="pl-s"><span class="pl-pds">"</span>android.support.test.runner.AndroidJUnitRunner<span class="pl-pds">"</span></span>
    }
    buildTypes {
        release {
            minifyEnabled <span class="pl-c1">false</span>
            proguardFiles getDefaultProguardFile(<span class="pl-s"><span class="pl-pds">'</span>proguard-android.txt<span class="pl-pds">'</span></span>), <span class="pl-s"><span class="pl-pds">'</span>proguard-rules.pro<span class="pl-pds">'</span></span>
        }
    }
}

<span class="pl-en">dependencies</span> {
    implementation fileTree(<span class="pl-c1">dir</span>: <span class="pl-s"><span class="pl-pds">'</span>libs<span class="pl-pds">'</span></span>, <span class="pl-c1">include</span>: [<span class="pl-s"><span class="pl-pds">'</span>*.jar<span class="pl-pds">'</span></span>])
    implementation <span class="pl-s"><span class="pl-pds">'</span>androidx.constraintlayout:constraintlayout:1.1.0<span class="pl-pds">'</span></span>
    implementation <span class="pl-s"><span class="pl-pds">'</span>androidx.appcompat:appcompat:1.0.0-rc01<span class="pl-pds">'</span></span>
    testImplementation <span class="pl-s"><span class="pl-pds">'</span>junit:junit:4.12<span class="pl-pds">'</span></span>
    androidTestImplementation <span class="pl-s"><span class="pl-pds">'</span>androidx.test:runner:1.1.0-alpha1<span class="pl-pds">'</span></span>
    androidTestImplementation <span class="pl-s"><span class="pl-pds">'</span>androidx.test.espresso:espresso-core:3.1.0-alpha1<span class="pl-pds">'</span></span>
    implementation <span class="pl-s"><span class="pl-pds">"</span>com.google.android.material:material:1.0.0-rc01<span class="pl-pds">"</span></span>
    implementation <span class="pl-s"><span class="pl-pds">'</span>com.github.bumptech.glide:glide:4.8.0<span class="pl-pds">'</span></span>
    annotationProcessor <span class="pl-s"><span class="pl-pds">'</span>androidx.annotation:annotation:1.0.0-rc01<span class="pl-pds">'</span></span>
    annotationProcessor <span class="pl-s"><span class="pl-pds">'</span>com.github.bumptech.glide:compiler:4.8.0<span class="pl-pds">'</span></span>
}</pre></div>
<p dir="auto"><strong>App</strong>:<br>
Nothing,just dependencies</p>
<p dir="auto"><strong>Error Message:</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="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)}"><pre class="notranslate"><code class="notranslate">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)}
</code></pre></div>
<p dir="auto">Getting the following error in Android Studio 3.0 Beta 4 with the following deps:</p>
<p dir="auto">implementation 'com.github.bumptech.glide:glide:4.1.0'<br>
implementation 'com.github.bumptech.glide:okhttp3-integration:4.1.0'<br>
annotationProcessor 'com.github.bumptech.glide:compiler:4.1.0'</p>
<p dir="auto">Gradle file:<br>
android {<br>
compileSdkVersion 26<br>
buildToolsVersion "26.0.1"<br>
defaultConfig {<br>
minSdkVersion 21<br>
targetSdkVersion 26<br>
...............</p>
<p dir="auto">gradle.properties as follows:<br>
android.enableAapt2=true<br>
#android.enableD8=true<br>
#org.gradle.caching=true<br>
org.gradle.jvmargs=-Xmx1536m</p>
<p dir="auto">Tried multiple cleans and rebuilds. Dropping back down to Glide 4.0.0 on all deps and everything works again. Any ideas?</p>
<blockquote>
<p dir="auto">:app:transformClassesWithAndroidGradleClassShrinkerForDebug<br>
-allowaccessmodification is ignored by the built-in class shrinker.<br>
com/bumptech/glide/integration/okhttp/R$integer references unknown class: com/bumptech/glide/integration/okhttp/R<br>
com/bumptech/glide/integration/okhttp/R$style references unknown class: com/bumptech/glide/integration/okhttp/R<br>
com/bumptech/glide/integration/okhttp/R$color references unknown class: com/bumptech/glide/integration/okhttp/R<br>
com/bumptech/glide/integration/okhttp/R$string references unknown class: com/bumptech/glide/integration/okhttp/R<br>
com/bumptech/glide/R$drawable references unknown class: com/bumptech/glide/R<br>
com/bumptech/glide/R$layout references unknown class: com/bumptech/glide/R<br>
com/bumptech/glide/integration/okhttp/R$layout references unknown class: com/bumptech/glide/integration/okhttp/R<br>
com/bumptech/glide/R$bool references unknown class: com/bumptech/glide/R<br>
com/bumptech/glide/integration/okhttp/R$bool references unknown class: com/bumptech/glide/integration/okhttp/R<br>
com/bumptech/glide/R$string references unknown class: com/bumptech/glide/R<br>
com/bumptech/glide/integration/okhttp/R$drawable references unknown class: com/bumptech/glide/integration/okhttp/R<br>
com/bumptech/glide/R$color references unknown class: com/bumptech/glide/R<br>
com/bumptech/glide/R$style references unknown class: com/bumptech/glide/R<br>
com/bumptech/glide/R$integer references unknown class: com/bumptech/glide/R<br>
:app:transformClassesWithAndroidGradleClassShrinkerForDebug FAILED</p>
</blockquote>
<p dir="auto">FAILURE: Build failed with an exception.</p>
<ul dir="auto">
<li>What went wrong:<br>
Execution failed for task ':app:transformClassesWithAndroidGradleClassShrinkerForDebug'.</li>
</ul>
<blockquote>
<p dir="auto">Warnings found during shrinking, please use -dontwarn or -ignorewarnings to suppress them.</p>
</blockquote>
<ul dir="auto">
<li>
<p dir="auto">Try:<br>
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.</p>
</li>
<li>
<p dir="auto">Get more help at <a href="https://help.gradle.org" rel="nofollow">https://help.gradle.org</a></p>
</li>
</ul>
<p dir="auto">BUILD FAILED in 38s</p>
<p dir="auto">39 actionable tasks: 15 executed, 24 up-to-date</p>