From 2fc3ddc34db38b8bc0e0fc6686f7f1e4460bb5e0 Mon Sep 17 00:00:00 2001 From: Ning Chen <87443619+ningcng@users.noreply.github.com> Date: Thu, 21 Dec 2023 05:29:18 -0800 Subject: [PATCH] Add adb root for service deployment (#1550) Otherwise ``` $ adb shell /data/local/tmp/birthday_server thread 'main' panicked at birthday_service/src/server.rs:16:10: Failed to register service: PERMISSION_DENIED ``` --- src/android/build_all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/build_all.sh b/src/android/build_all.sh index 401fe77f..d15fde6e 100755 --- a/src/android/build_all.sh +++ b/src/android/build_all.sh @@ -56,7 +56,6 @@ source build/envsetup.sh lunch aosp_cf_x86_64_phone-userdebug #acloud reconnect --autoconnect adb -adb root adb shell rm -rf '/data/local/tmp/*' run_example <