多个dex文件定义Ljavax / annotation / Generated;

时间:2017-06-14 14:17:22

标签: android gradle

我在运行测试时遇到了一个奇怪的问题。

Error:Execution failed for task ':data:transformClassesWithDexForDebugAndroidTest'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Ljavax/annotation/Generated;

但是我的应用程序是构建并运行得很好。有什么想法吗?

0 个答案:

没有答案