Skip to content

Commit

Permalink
Enable unprotected grpc in Android tests
Browse files Browse the repository at this point in the history
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
  • Loading branch information
peace-maker committed Dec 11, 2023
1 parent 6f4682a commit fbce306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion travis/setup_avd_fast.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fbce306

Please sign in to comment.