I've try to launch the screenshot-tests-for-android example using ./gradlew screenshotTests --info and the gradle build fails with the following info trace.
:compileDebugAndroidTestNdk (Thread[main,5,main]) started.
:compileDebugAndroidTestNdk
Skipping task ':compileDebugAndroidTestNdk' as it has no source files.
:compileDebugAndroidTestNdk UP-TO-DATE
:compileDebugAndroidTestNdk (Thread[main,5,main]) completed. Took 0.007 secs.
:compileDebugAndroidTestSources (Thread[main,5,main]) started.
:compileDebugAndroidTestSources
Skipping task ':compileDebugAndroidTestSources' as it has no actions.
:compileDebugAndroidTestSources UP-TO-DATE
:compileDebugAndroidTestSources (Thread[main,5,main]) completed. Took 0.002 secs.
:preDexDebugAndroidTest (Thread[main,5,main]) started.
:preDexDebugAndroidTest
Skipping task ':preDexDebugAndroidTest' as it is up-to-date (took 0.01 secs).
:preDexDebugAndroidTest UP-TO-DATE
:preDexDebugAndroidTest (Thread[main,5,main]) completed. Took 0.012 secs.
:dexDebugAndroidTest (Thread[main,5,main]) started.
:dexDebugAndroidTest
Skipping task ':dexDebugAndroidTest' as it is up-to-date (took 0.011 secs).
:dexDebugAndroidTest UP-TO-DATE
:dexDebugAndroidTest (Thread[main,5,main]) completed. Took 0.015 secs.
:packageDebugAndroidTest (Thread[main,5,main]) started.
:packageDebugAndroidTest
Skipping task ':packageDebugAndroidTest' as it is up-to-date (took 0.012 secs).
:packageDebugAndroidTest UP-TO-DATE
:packageDebugAndroidTest (Thread[main,5,main]) completed. Took 0.015 secs.
:assembleDebugAndroidTest (Thread[main,5,main]) started.
:assembleDebugAndroidTest
Skipping task ':assembleDebugAndroidTest' as it has no actions.
:assembleDebugAndroidTest UP-TO-DATE
:assembleDebugAndroidTest (Thread[main,5,main]) completed. Took 0.001 secs.
:connectedDebugAndroidTest (Thread[main,5,main]) started.
:connectedDebugAndroidTest
Executing task ':connectedDebugAndroidTest' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
deleteDir(/Users/Victor/Proyects/git/screenshot-tests-for-android/examples/app-example/build/outputs/androidTest-results/connected) returned: true
deleteDir(/Users/Victor/Proyects/git/screenshot-tests-for-android/examples/app-example/build/outputs/code-coverage/connected) returned: true
Starting 3 tests on Nexus 4 - 4.4.2
com.facebook.testing.screenshot.SearchBarTest > testChinese[Nexus 4 - 4.4.2] SUCCESS
com.facebook.testing.screenshot.SearchBarTest > testLongText[Nexus 4 - 4.4.2] SUCCESS
com.facebook.testing.screenshot.SearchBarTest > testRendering[Nexus 4 - 4.4.2] SUCCESS
deleteDir(/Users/Victor/Proyects/git/screenshot-tests-for-android/examples/app-example/build/reports/androidTests/connected) returned: true
:connectedDebugAndroidTest (Thread[main,5,main]) completed. Took 17.516 secs.
:connectedAndroidTest (Thread[main,5,main]) started.
:connectedAndroidTest
Skipping task ':connectedAndroidTest' as it has no actions.
:connectedAndroidTest (Thread[main,5,main]) completed. Took 0.001 secs.
:pullScreenshots (Thread[main,5,main]) started.
:pullScreenshots
Executing task ':pullScreenshots' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
:pullScreenshots FAILED
:pullScreenshots (Thread[main,5,main]) completed. Took 0.034 secs.
FAILURE: Build failed with an exception.
BUILD FAILED
Total time: 28.71 secs
Stopped 0 compiler daemon(s).