opt/android-sdk/tools/bin/avdmanager -v create avd -f -n MyAVD -k 'system-images android-25 google_apis armeabi-v7a' -p '/opt/android-sdk/avd' opt/android-sdk/tools/bin/sdkmanager 'platform-tools' opt/android-sdk/tools/bin/sdkmanager 'emulator' opt/android-sdk/tools/bin/sdkmanager 'system-images android-25 google_apis armeabi-v7a'
opt/android-sdk/tools/bin/sdkmanager -licenses opt/android-sdk/tools/bin/sdkmanager -update Unzip sdk-tools-linux-4333796.zip -d android-sdkĮcho 'export ANDROID_SDK_ROOT=/opt/android-sdk' > ~/.bashrcĮcho 'export PATH=$PATH:$ANDROID_SDK_ROOT/tools' > ~/.bashrc
Steps for installing the Android Emulator from EC2 console: