Screenshot not working

马上开始. 它是免费的哦
注册 使用您的电邮地址
Screenshot not working 作者: Mind Map: Screenshot not working

1. Factors

1.1. Different

1.1.1. Other test frameworks

1.2. Similar

1.2.1. Same build tools version

1.2.2. Same espresso library dependencies

1.2.3. Workspace

1.2.4. Same test case

1.2.5. exact cloud lib aar file

1.2.6. Gradle version

1.2.7. Identical top level build.gradle

1.2.8. settings.gradle

1.2.9. Build invocation

1.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

1.3. Trying assembleDebugAndroidTest and assembleAndroidTest

1.3.1. Same kind of build (non -debug)

2. Work-play

2.1. not working

2.2. Error

2.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)

3. Notepad

3.1. working