From 3d48594707eeb2aad8af1cedb3a7f1e6743fa457 Mon Sep 17 00:00:00 2001 From: Hansong <107070759+kirklandsign@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:53:52 -0700 Subject: [PATCH 1/2] Update Android app path Should be torchchat/edge/android/torchchat --- torchchat/utils/scripts/android_example.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/torchchat/utils/scripts/android_example.sh b/torchchat/utils/scripts/android_example.sh index 06875543f..d017e0d78 100755 --- a/torchchat/utils/scripts/android_example.sh +++ b/torchchat/utils/scripts/android_example.sh @@ -95,7 +95,7 @@ download_aar_library() { } build_app() { - pushd android/torchchat + pushd torchchat/edge/android/torchchat ./gradlew :app:build popd } @@ -138,7 +138,7 @@ push_files_to_android() { } run_android_instrumented_test() { - pushd android/torchchat + pushd torchchat/edge/android/torchchat ./gradlew connectedAndroidTest popd } From 3dea1e7726a1b70ae83875cc1e36c8635342a323 Mon Sep 17 00:00:00 2001 From: Hansong <107070759+kirklandsign@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:59:46 -0700 Subject: [PATCH 2/2] Update another one --- torchchat/utils/scripts/android_example.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchchat/utils/scripts/android_example.sh b/torchchat/utils/scripts/android_example.sh index d017e0d78..6ef6824c0 100755 --- a/torchchat/utils/scripts/android_example.sh +++ b/torchchat/utils/scripts/android_example.sh @@ -155,7 +155,7 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then run_android_instrumented_test fi -adb install -t android/torchchat/app/build/outputs/apk/debug/app-debug.apk +adb install -t torchchat/edge/android/torchchat/app/build/outputs/apk/debug/app-debug.apk if [ -z "${CI_ENV:-}" ]; then read -p "Press enter to exit emulator and finish"