You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not entirely sure that this plugin is causing my problems, but I'm unable run my tests via gradle on the console. It works if I run them via android studio, but if I try to run the gradle task manually it fails with java.io.IOException: CreateProcess error=206, The filename or extension is too long.
This seems to be a known problem on windows Mitigate Long Path Issues Automatically #1989.
Also if I disable the plugin executing the test works (But only junit4 tests are executed...).
As far as I understand from a bit of googling regarding this issue, this seems to target Windows specifically. This plugin uses JavaExec tasks to run the JUnit Platform, so it is subject to this error when there is a lot of stuff in your classpath.
I found this plugin which hooks into JavaExec tasks and extracts their classpath into a JAR file, compressing the path significantly. Can you check if this works for your case?
I'm not entirely sure that this plugin is causing my problems, but I'm unable run my tests via gradle on the console. It works if I run them via android studio, but if I try to run the gradle task manually it fails with
java.io.IOException: CreateProcess error=206, The filename or extension is too long
.This seems to be a known problem on windows Mitigate Long Path Issues Automatically #1989.
Also if I disable the plugin executing the test works (But only junit4 tests are executed...).
Entire stacktrace:
stacktrace.txt
The text was updated successfully, but these errors were encountered: