Screenshot not working

Get Started. It's Free
or sign up with your email address
Screenshot not working by Mind Map: Screenshot not working

1. Work-play

1.1. not working

1.2. Error

1.2.1. 01-07 19:41:06.724: E/cloud_screenshotter(5752): Exception taking screenshot: java.io.FileNotFoundException: /sdcard/screenshots/com.computemachines.android.workplay.ClockingActivityScreenshotTest-takeScreenshot-main_screen_3-1.jpg: open failed: ENOENT (No such file or directory)

2. Notepad

2.1. working

3. Factors

3.1. Different

3.1.1. Other test frameworks

3.2. Similar

3.2.1. Same build tools version

3.2.2. Same espresso library dependencies

3.2.3. Workspace

3.2.4. Same test case

3.2.5. exact cloud lib aar file

3.2.6. Gradle version

3.2.7. Identical top level build.gradle

3.2.8. settings.gradle

3.2.9. Build invocation

3.2.9.1. ./gradlew clean assembleDebug assembleDebugAndroidTest && gcloud beta test android run \ --type instrumentation \ --app app/build/outputs/apk/app-debug-unaligned.apk \ --test app/build/outputs/apk/*est-unaligned.apk \ --device-ids Nexus6 \ --os-version-ids 23 \ --locales en \ --orientations portrait

3.3. Trying assembleDebugAndroidTest and assembleAndroidTest

3.3.1. Same kind of build (non -debug)