11 lines
245 B
Bash
11 lines
245 B
Bash
# Start an Android emulator.
|
|
# Default name is `default`.
|
|
# Usage: emulator [NAME]
|
|
function emulator() {
|
|
local name="${1}"
|
|
|
|
[[ "${name}" = "" ]] && name="default"
|
|
|
|
${ANDROID_SDK_ROOT}/emulator/emulator -avd "${name}" &> /dev/null & disown
|
|
}
|