transformClassesWithDesugar build error after updating to AS 3.0 Canary 6
With Android Studio 3.1, com.android.tools.build:gradle:3.1.0
and gradle-4.4-all.zip
this issue resolving with adding
android.enableD8.desugaring = true
in gradle.properties file.
I had that issue when moved to Android Studio 3.0
Ensure that you have same versions of firebase-core and play-services, e.g.:
compile 'com.google.android.gms:play-services-ads:11.0.4'
compile 'com.google.firebase:firebase-core:11.0.4'