From a10413f4d22f4e476a67d175986d326d743f5833 Mon Sep 17 00:00:00 2001 From: Lei PAN Date: Thu, 9 Mar 2023 09:10:36 +0100 Subject: [PATCH 1/2] add emulator --- clear_data.bat | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/clear_data.bat b/clear_data.bat index f4d1012..602b399 100644 --- a/clear_data.bat +++ b/clear_data.bat @@ -245,4 +245,9 @@ adb -s 4b99c21 shell am start -n com.android.chrome/com.google.android.apps.chro #huawei mate 8 adb -s APU7N16321020182 shell pm clear com.android.chrome adb -s APU7N16321020182 shell am set-debug-app --persistent com.android.chrome -adb -s APU7N16321020182 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main \ No newline at end of file +adb -s APU7N16321020182 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main + +#huawei mate 8 +adb -s emulator-5554 shell pm clear com.android.chrome +adb -s emulator-5554 shell am set-debug-app --persistent com.android.chrome +adb -s emulator-5554 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main \ No newline at end of file From 442368bd11eb8fc75d4bdfc121f813b68812f464 Mon Sep 17 00:00:00 2001 From: Lei PAN Date: Mon, 13 Mar 2023 00:17:47 +0100 Subject: [PATCH 2/2] add more devices --- clear_data.sh | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/clear_data.sh b/clear_data.sh index 744840f..30da4ba 100644 --- a/clear_data.sh +++ b/clear_data.sh @@ -294,4 +294,29 @@ adb -s 192.168.0.27:5555 shell am start -n com.android.chrome/com.google.android #18 adb -s emulator-5560 shell pm clear com.android.chrome adb -s emulator-5560 shell am set-debug-app --persistent com.android.chrome -adb -s emulator-5560 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main \ No newline at end of file +adb -s emulator-5560 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main + +#18 +adb -s emulator-5564 shell pm clear com.android.chrome +adb -s emulator-5564 shell am set-debug-app --persistent com.android.chrome +adb -s emulator-5564 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main + +#18 +adb -s emulator-5566 shell pm clear com.android.chrome +adb -s emulator-5566 shell am set-debug-app --persistent com.android.chrome +adb -s emulator-5566 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main + +#18 +adb -s emulator-5568 shell pm clear com.android.chrome +adb -s emulator-5568 shell am set-debug-app --persistent com.android.chrome +adb -s emulator-5568 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main + +#18 +adb -s emulator-5570 shell pm clear com.android.chrome +adb -s emulator-5570 shell am set-debug-app --persistent com.android.chrome +adb -s emulator-5570 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main + +#18 +adb -s emulator-5572 shell pm clear com.android.chrome +adb -s emulator-5572 shell am set-debug-app --persistent com.android.chrome +adb -s emulator-5572 shell am start -n com.android.chrome/com.google.android.apps.chrome.Main \ No newline at end of file