RobotiumTech / robotium

Android UI Testing
http://www.robotium.org
Apache License 2.0
2.86k stars 786 forks source link

Recording failed; Build failed with an exception #868

Open amatsusah opened 7 years ago

amatsusah commented 7 years ago

i have been trying to get robotium recorder running but i keep ending up with recording failed no matter what i do, here is the error log:

Input:

D:\test\AFMCS\gradlew.bat -Dorg.gradle.daemon=true assembleDebugAndroidTest -u -b D:\test\AFMCS\executorproject\build.gradle

Output:

The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0. Incremental java compilation is an incubating feature. 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: 3.779 secs

jlerigo commented 7 years ago

I'm also having this issue. Any help from the Robotium team would be greatly appreciated. I am trialing this on behalf of my company but we will not be able to purchase a licence if we cannot get the recorder to start.

amatsusah commented 7 years ago

^ same with jlerigo, i was assigned to try out robotium by my company to see if it is a viable ui test tool, but if there is no help with this issue i guess i will have to find another alternative. i am still giving robotium recorder a chance but after a week even troubleshooting on my side, i haven't found a fix.

shineirvin commented 6 years ago

Did any of you guys have solved this problem ? Help ............