mirror of
https://github.com/HQarroum/docker-android.git
synced 2026-07-30 11:22:18 +00:00
@@ -25,8 +25,8 @@ socat tcp-listen:"$ADB_PORT",bind="$LOCAL_IP",fork tcp:127.0.0.1:"$ADB_PORT" &
|
||||
export USER=root
|
||||
|
||||
# Creating the Android Virtual Emulator.
|
||||
TEST_AVD=$(avdmanager list avd | grep "android")
|
||||
if [ -n "$TEST_AVD" ]; then
|
||||
TEST_AVD=$(avdmanager list avd | grep -c "android.avd" || true)
|
||||
if [ "$TEST_AVD" == "1" ]; then
|
||||
echo "Use the exists Android Virtual Emulator ..."
|
||||
else
|
||||
echo "Creating the Android Virtual Emulator ..."
|
||||
|
||||
Reference in New Issue
Block a user