当前位置:   article > 正文

解决transformClassesWithDexForDebugAndroidTest问题_transformclasseswithbustransformfordebugandroidtes

transformclasseswithbustransformfordebugandroidtest

打包编译时出现如下错误

AGPBI: {“kind”:“error”,“text”:“4 errors; aborting”,“sources”:[{}]}
:app:transformClassesWithDexForDebugAndroidTest FAILED
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:transformClassesWithDexForDebugAndroidTest’.

com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Return code 1 for dex process

解决方法:
build -> Clean Project , 重新编译,好了

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/306635
推荐阅读
相关标签
  

闽ICP备14008679号