Skip to content

Commit 4e2106a

Browse files
authored
Update run_android_emulator.sh
1 parent 54d4be7 commit 4e2106a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/run_android_emulator.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ echo "List all running emulators"
1919
$ADB_PATH devices
2020

2121
adb uninstall com.example.executorchllamademo || true
22+
adb uninstall com.example.executorchllamademo.test || true
2223
adb install -t app-debug.apk
2324
adb install -t app-debug-androidTest.apk
2425

@@ -27,6 +28,8 @@ adb push model.pte /data/local/tmp/llama
2728
adb push tokenizer.bin /data/local/tmp/llama
2829
adb shell am instrument -w -r com.example.executorchllamademo.test/androidx.test.runner.AndroidJUnitRunner
2930

31+
adb uninstall org.pytorch.executorch || true
32+
adb uninstall org.pytorch.executorch.test || true
3033
adb install -t android-test-debug.apk
3134
adb install -t android-test-debug-androidTest.apk
3235

0 commit comments

Comments
 (0)