From 652517b0a2a8f726b9dffbbd54f95667df55193b Mon Sep 17 00:00:00 2001 From: MohitMali Date: Wed, 11 Jan 2023 15:32:32 +0530 Subject: [PATCH] Added logs to adb after restarting emulator --- contrib/instrumentation.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/instrumentation.sh b/contrib/instrumentation.sh index b77fea836..b8ac5841d 100644 --- a/contrib/instrumentation.sh +++ b/contrib/instrumentation.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash adb logcat -c -adb logcat *:E -v color & +adb logcat ./*:E -v color & retry=0 while [ $retry -le 3 ] do @@ -12,6 +12,7 @@ do adb kill-server adb start-server adb logcat -c + adb logcat ./*:E -v color & ./gradlew clean retry=$(( $retry + 1 )) if [ $retry == 3 ]; then