xref: /aosp_15_r20/external/grpc-grpc-java/android-interop-testing/start-emulator.sh (revision e07d83d3ffcef9ecfc9f7f475418ec639ff0e5fe)
1*e07d83d3SAndroid Build Coastguard Worker#!/bin/bash
2*e07d83d3SAndroid Build Coastguard Worker
3*e07d83d3SAndroid Build Coastguard Worker# The only argument is the AVD name.
4*e07d83d3SAndroid Build Coastguard Worker# Note: This script will hang, you may want to run it in the background.
5*e07d83d3SAndroid Build Coastguard Worker
6*e07d83d3SAndroid Build Coastguard Workerif [ $# -eq 0 ]
7*e07d83d3SAndroid Build Coastguard Workerthen
8*e07d83d3SAndroid Build Coastguard Worker    echo "Please specify the AVD name"
9*e07d83d3SAndroid Build Coastguard Worker    exit 1
10*e07d83d3SAndroid Build Coastguard Workerfi
11*e07d83d3SAndroid Build Coastguard Worker
12*e07d83d3SAndroid Build Coastguard Workerecho "[INFO] Starting emulator $1"
13*e07d83d3SAndroid Build Coastguard Workeremulator64-arm -avd $1 -netfast -no-skin -no-audio -no-window -port 5554
14