“The command line is too long” error in dexDebugTest build task

后端 未结 1 409
长情又很酷
长情又很酷 2021-01-24 06:47

I followed this link to set up test cases in Android Studio:

But if I try to run some tests in my project I get the following error:

**Execution failed f         


        
相关标签:
1条回答
  • 2021-01-24 07:00

    This is bug https://code.google.com/p/android/issues/detail?id=75936 (Support new dx option: --input-list=) which has been fixed in later versions of Android Studio. I believe you're running an older version; a modern version wouldn't allow you to use Build Tools 19.1.0. Try updating Android Studio, following its instructions to update your build scripts to use the latest version of the Android Gradle plugin, and see if that solves your problem.

    0 讨论(0)
提交回复
热议问题