How to configure “Shorten command line” method for whole project in IntelliJ

前端 未结 5 1803
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-04 09:03

When I run tests I get the error \"Command line is too long\". It works if I set the \"Shorten command line\" method in the Run/Debug configuration to \"JAR manifest\" for

5条回答
  •  不思量自难忘°
    2020-12-04 09:30

    Thanks to Rajesh Goel in Android Studio:

    Run > Edit Configurations...

    Select a test (better to select a parent test class) and set a Shorten command line: option to classpath file. Then OK (or Apply, OK).

提交回复
热议问题