No Emulator tab in Edit Configurations in Android Studio

android-studio, emulation

Solution

My solution was to rename /tools/emulator to /tools/emulator.0

And then just have the below shell script that calls the emulator.0 and appends the qemu flags

#!/bin/bash

# http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in

SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
  DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
  SOURCE="$(readlink "$SOURCE")"
  [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"

# echo "DIR is '$DIR'"
$DIR/emulator.0 "$@" -qemu -m 512 -enable-kvm 

Problem

General and Miscellaneous tabs are showing but Emulator tab is missing which was up next to General in Android Studio 1.4 before updating to Android Studio 1.5 - I cannot fix it.

Original source

Related problems