Skip to content

Commit 020da2e

Browse files
authored
Update Android app path (pytorch#1294)
Should be torchchat/edge/android/torchchat
1 parent 11dcbeb commit 020da2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

torchchat/utils/scripts/android_example.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ download_aar_library() {
9595
}
9696

9797
build_app() {
98-
pushd android/torchchat
98+
pushd torchchat/edge/android/torchchat
9999
./gradlew :app:build
100100
popd
101101
}
@@ -138,7 +138,7 @@ push_files_to_android() {
138138
}
139139

140140
run_android_instrumented_test() {
141-
pushd android/torchchat
141+
pushd torchchat/edge/android/torchchat
142142
./gradlew connectedAndroidTest
143143
popd
144144
}
@@ -155,7 +155,7 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
155155
run_android_instrumented_test
156156
fi
157157

158-
adb install -t android/torchchat/app/build/outputs/apk/debug/app-debug.apk
158+
adb install -t torchchat/edge/android/torchchat/app/build/outputs/apk/debug/app-debug.apk
159159

160160
if [ -z "${CI_ENV:-}" ]; then
161161
read -p "Press enter to exit emulator and finish"

0 commit comments

Comments
 (0)