Forked from spilth/android-emulator-homebrew.sh
Last active
November 8, 2018 06:18
-
-
Save wok/fa8c125a4bfd19329fcd806abfe74301 to your computer and use it in GitHub Desktop.
Android Emulator with Homebrew
This file contains 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
touch ~/.android/repositories.cfg | |
brew cask install caskroom/versions/java8 | |
brew cask install android-sdk | |
brew cask install intel-haxm | |
export ANDROID_SDK_ROOT="/usr/local/share/android-sdk" | |
sdkmanager "platform-tools" "platforms;android-28" "extras;intel;Hardware_Accelerated_Execution_Manager" "build-tools;28.0.0" "system-images;android-28;google_apis;x86" "emulator" | |
avdmanager create avd -n test -k "system-images;android-28;google_apis;x86" | |
/usr/local/share/android-sdk/tools/emulator -avd test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment