I'm working with "Robotium recorder", but last time I got mistake when I started "New Robotium Test".
Here is this error:
Input:
C:\Android\uforum-v3-android\executorproject\gradlew.bat -Dorg.gradle.daemon=true assembleDebugAndroidTest -u -b C:\Android\uforum-v3-android\executorproject\build.gradle
Output:
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0. FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'executorproject'. > org.gradle.api.internal.tasks.DefaultTaskInputs$TaskInputUnionFileCollection cannot be cast to org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 1.666 secs
I'm working with "Robotium recorder", but last time I got mistake when I started "New Robotium Test".
Here is this error: Input: C:\Android\uforum-v3-android\executorproject\gradlew.bat -Dorg.gradle.daemon=true assembleDebugAndroidTest -u -b C:\Android\uforum-v3-android\executorproject\build.gradle Output: The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0. FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'executorproject'. > org.gradle.api.internal.tasks.DefaultTaskInputs$TaskInputUnionFileCollection cannot be cast to org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 1.666 secs
How to solve this problem?