При попытке запустить один из созданных мной тестов JUnit4 я получаю следующую ошибку:
Код: Выделить всё
> Task :app:testDebugUnitTest FAILED
Error: Could not find or load main class Files\NVIDIA
Caused by: java.lang.ClassNotFoundException: Files\NVIDIA
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:testDebugUnitTest'.
> Process 'Gradle Test Executor 18' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1s
Выполнение того же теста на MacOS работает так, как ожидалось.
Подробнее здесь: https://stackoverflow.com/questions/790 ... les-nvidia
Мобильная версия