From fbce30675a612d21caa2297adb8e20c1a0165dc0 Mon Sep 17 00:00:00 2001 From: Peace-Maker Date: Mon, 11 Dec 2023 23:04:08 +0100 Subject: [PATCH] Enable unprotected grpc in Android tests WARNING | The emulator now requires a signed jwt token for gRPC access! Use the -grpc flag if you really want an open unprotected grpc port --- travis/setup_avd_fast.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis/setup_avd_fast.sh b/travis/setup_avd_fast.sh index 577ddc287..113682554 100644 --- a/travis/setup_avd_fast.sh +++ b/travis/setup_avd_fast.sh @@ -18,7 +18,7 @@ yes | sdkmanager --sdk_root="$ANDROID_HOME" --install "system-images;$ANDROIDV;d yes | sdkmanager --sdk_root="$ANDROID_HOME" --licenses echo no | avdmanager --silent create avd --name android-$ANDROID_ABI --force --package "system-images;$ANDROIDV;default;$ANDROID_ABI" -"$ANDROID_HOME"/emulator/emulator -avd android-$ANDROID_ABI -no-window -no-boot-anim -read-only -no-audio -no-window -no-snapshot & +"$ANDROID_HOME"/emulator/emulator -avd android-$ANDROID_ABI -no-window -no-boot-anim -read-only -no-audio -no-window -no-snapshot -grpc & adb wait-for-device adb shell id adb shell getprop