Create Android Emulator on Mac

This is script to make android emulator on Mac

set avds to paragraphs of (do shell script " /Users/shahmeer/Library/Android/sdk/emulator/emulator -list-avds")
set avd to (choose from list avds with prompt "Please select an AVD to start" default items "None" OK button name {"Start"} cancel button name {"Cancel"})
do shell script " /Users/shahmeer/Library/Android/sdk/emulator/emulator -avd " & avd & " -no-boot-anim > /dev/null 2>&1 &"
Was this helpful?