From f1e9f9c8c959c1fa70ec20a3b8b18f09fed00595 Mon Sep 17 00:00:00 2001 From: Yash Khare Date: Fri, 1 May 2020 12:30:55 +0530 Subject: [PATCH] Fix for API 21 and 22 --- contrib/instrumentation.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/contrib/instrumentation.sh b/contrib/instrumentation.sh index 99ef89278..5cb231685 100644 --- a/contrib/instrumentation.sh +++ b/contrib/instrumentation.sh @@ -3,11 +3,6 @@ adb logcat -c adb logcat *:E -v color & ./gradlew jacocoInstrumentationTestReport -adb shell screencap -p /sdcard/screencap.png -adb shell -run-as org.kiwix.kiwixmobile -cp '/sdcard/screencap.png' '/mnt/sdcard/' -exit -exit -adb pull /sdcard/screencap.png +adb shell screencap -p /mnt/sdcard/screencap.png +adb pull /mnt/sdcard/screencap.png find screencap.png