RobotiumTech/robotium

Build failed: Could not find :ExecutorLibrary:

Opened this issue · 3 comments

Run Robotium Recorder through this guide
Encountered Recording failed. Please see output: <path>\Robotium_log.txt after selecting APK and run New Robotium Test.

All prerequisites already fulfilled: Physical device with external storage, Android API level available in SDK Manager.

Robotium_log.txt

Input:

C:\Users\wendy\StudioProjects\ExampleTestProject_AndroidStudio\gradlew.bat -Dorg.gradle.daemon=true assembleDebugAndroidTest -u -b C:\Users\wendy\StudioProjects\ExampleTestProject_AndroidStudio\executorproject\build.gradle

Output:

Incremental java compilation is an incubating feature. FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'executorproject'. > Could not resolve all dependencies for configuration ':_debugAndroidTestCompile'. > Could not find :ExecutorLibrary:. Searched in the following locations: https://repo1.maven.org/maven2//ExecutorLibrary//ExecutorLibrary-.pom https://repo1.maven.org/maven2//ExecutorLibrary//ExecutorLibrary-.aar file:/C:/Users/wendy/StudioProjects/ExampleTestProject_AndroidStudio/executorproject/libs/ExecutorLibrary-.aar file:/C:/Users/wendy/StudioProjects/ExampleTestProject_AndroidStudio/executorproject/libs/ExecutorLibrary.aar file:/C:/Users/wendy/AppData/Local/Android/sdk/extras/android/m2repository//ExecutorLibrary//ExecutorLibrary-.pom file:/C:/Users/wendy/AppData/Local/Android/sdk/extras/android/m2repository//ExecutorLibrary//ExecutorLibrary-.aar Required by: :executorproject:unspecified * 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: 4.26 secs

Any help will be appreciated.

I had the same issue with Android Studio 2.3.3+Robotium Recorder.....
But, I used Android Studio 2.2.2+Robotium Recorder that is OK~~
For your reference~~

are you sure @RandyHsuTW ? I'm going to downgrade my android studio if its really the case.

@RandyHsuTW ,can you tell me the gradle plugin version, gradle version in AS2.2.2 and 2.3.3。I had the same issue.