Created
June 18, 2023 14:03
-
-
Save tugceaktepe/e2d9fc754bf12fee8543c5536de0c683 to your computer and use it in GitHub Desktop.
Emulator scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update -y | |
apt-get --quiet install --yes libx11-dev libgl1 libpulse0 libnss3 libxcomposite-dev libxcursor1 libasound2 | |
apt-get update | |
apt-get install -y libgl1-mesa-glx | |
sdkmanager --update > update.log | |
sdkmanager "platform-tools" "emulator" "system-images;android-${EMULATOR_VERSION};default;x86_64" > installEmulator.log | |
wget --quiet --output-document=android-wait-for-emulator https://raw.githubusercontent.com/travis-ci/travis-cookbooks/0f497eb71291b52a703143c5cd63a217c8766dc9/community-cookbooks/android-sdk/files/default/android-wait-for-emulator | |
chmod +x android-wait-for-emulator | |
chmod +x gradlew |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment