Also set ANDROID_SDK_HOME

Hopefully will help with the "PANIC" crash of android emulator
This commit is contained in:
Slava Kim
2014-08-29 01:19:33 -07:00
parent 1078a6eeb4
commit a02cb37ca7

View File

@@ -45,9 +45,11 @@ if [ -z "$USE_GLOBAL_ADK" ] ; then
export PATH="${ANT_HOME}/bin:${PATH}"
export HOME="${ANDROID_BUNDLE}"
export ANDROID_SDK_HOME="${ANDROID_BUNDLE}"
else
# to use a global ADK we don't set PATH, ANT_HOME
# relying that they are installed and available globally
export ANDROID_SDK_HOME="${HOME}"
true
fi