Я пытаюсь запустить тесты Espresso в выпуске
android {
defaultConfig {
...
}
testBuildType "release"
}
, и когда я запускаю
./gradlew assembleAndroidTest
Эта задача не выполняется
:app:transformClassesAndResourcesWithR8ForAdminReleaseAndroidTest
Я сталкиваюсь с этим иЯ понятия не имею, как избавиться от этого. Может быть, у кого-то есть подсказка, как ее решить
R8: Missing class: org.easymock.IArgumentMatcher
R8: Missing class: org.jmock.core.Constraint
R8: Missing class: org.objectweb.asm.ClassVisitor
R8: Missing class: org.objectweb.asm.MethodVisitor
R8: Missing class: java.lang.ClassValue
R8: 'android.support.customtabs.ICustomTabsCallback asInterface(android.os.IBinder)' already has a mapping
R8: 'void onRelationshipValidationResult(int,android.net.Uri,boolean,android.os.Bundle)' already has a mapping
R8: 'void extraCallback(java.lang.String,android.os.Bundle)' already has a mapping
R8: 'android.support.customtabs.ICustomTabsService asInterface(android.os.IBinder)' already has a mapping
R8: 'boolean validateRelationship(android.support.customtabs.ICustomTabsCallback,int,android.net.Uri,android.os.Bundle)' already has a mapping
R8: 'android.support.customtabs.IPostMessageService asInterface(android.os.IBinder)' already has a mapping
R8: 'void onPostMessage(android.support.customtabs.ICustomTabsCallback,java.lang.String,android.os.Bundle)' already has a mapping
R8: 'android.support.v4.app.INotificationSideChannel asInterface
...
...
R8: 'retrofit2.Converter requestBodyConverter(java.lang.reflect.Type,java.lang.annotation.Annotation[],java.lang.annotation.Annotation[],retrofit2.Retrofit)' already has a mapping
R8: 'void <clinit>()' already has a mapping
R8: 'void plant(timber.log.Timber$Tree[])' already has a mapping
R8: 'void prepareLog(int,java.lang.Throwable,java.lang.String,java.lang.Object[])' already has a mapping
> Task :app:transformClassesAndResourcesWithR8ForAdminReleaseAndroidTest FAILED
FAILURE: Build failed with an exception.