Skip to content

Instantly share code, notes, and snippets.

View m3ftah's full-sized avatar
🤠
On a new adventure

Lakhdar Meftah m3ftah

🤠
On a new adventure
  • France
View GitHub Profile
@m3ftah
m3ftah / Create AVD and run the emulator
Created November 21, 2017 08:26
Minimize the Android emulator used memory and disk size
#You can find the docker image in https://hub.docker.com/r/m3ftah/androfleet-emulator/ and the source code : https://github.com/m3ftah/androfleet/tree/restart/docker/androfleet-emulator
ANDROID_HOME="/opt/android-sdk-linux"
ANDROID_SDK_HOME="${ANDROID_HOME}"
PATH="${PATH}:${ANDROID_SDK_HOME}/tools:${ANDROID_SDK_HOME}/platform-tools"
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
cd /tmp && \
curl -O https://dl.google.com/android/android-sdk_r24.4.1-linux.tgz && \
cd /opt && tar xzf /tmp/*.tgz && rm /tmp/*.tgz