I\'m having this error whilst compiling Instrumentation tests.
Error:com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/rafa
If you're using guava, tou can try to upgrade it to the latest android-specific build
implementation 'com.google.guava:guava:23.0-android'
This fixed the error for me when I was using the non-android guava build.