diff --git a/contrib/instrumentation.sh b/contrib/instrumentation.sh index 20c272a81..99ef89278 100644 --- a/contrib/instrumentation.sh +++ b/contrib/instrumentation.sh @@ -4,6 +4,10 @@ adb logcat -c adb logcat *:E -v color & ./gradlew jacocoInstrumentationTestReport adb shell screencap -p /sdcard/screencap.png -cp /sdcard/screencap.png /mnt/sdcard/ -adb pull /mnt/sdcard/screencap.png +adb shell +run-as org.kiwix.kiwixmobile +cp '/sdcard/screencap.png' '/mnt/sdcard/' +exit +exit +adb pull /sdcard/screencap.png find screencap.png