Friday, May 5, 2017

Gradle Failed for Google Guava: transformClassesWithDexForDebug TransformException

Meet the compile issue when adding Google Guava into my Android project:

dependencies {
  compile ''

10:16:43.803 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] >
cess.ProcessException: Error while executing java process with main class with arguments {xxxxxxxxxxx\build\intermediates\multi-dex\debug\componentClasses.jar xxxxxxxxx\build\intermediates\transforms\jarMerging\de

After downgrade guava to version 19 the project passed build successfully:
dependencies {
  compile ''
Have no time to dig into the root cause yet, record here for reference.

1 comment:

  1. You've just saved my day ! Thanks a lot from France !


Enable HP Zbook Thunderbolt 3 Dock on Ubuntu

As mention in previously post, I installed Ubuntu on my HP ZBook. After two days used all things work just fine, but the Thunderbolt 3 Dock ...