Skip to content

Instantly share code, notes, and snippets.

View ErSoul's full-sized avatar

ErSoul

  • Venezuela
View GitHub Profile
@giansalex
giansalex / android-emulator-standalone.md
Last active June 18, 2024 10:37
Run Android Emulator without Android Studio

Android Emulator without Android Studio

  • Download Command line tools only.
  • Configure your ANDROID_SDK_ROOT directory, create inside cmdline-tools and decompress zip downloaded above.
  • Set Environment Variable ANDROID_SDK_ROOT and added to PATH bin tools $ANDROID_SDK_ROOT/cmdline-tools/tools/bin.
  • Install packages for Android API 23 (MARSHMELLOW (6.0), etc) sdkmanager "system-images;android-23;google_apis;x86" "platforms;android-23"
  • Install emulator and tools: sdkmanager "emulator" "platform-tools"
  • Add tools to PATH: $ANDROID_SDK_ROOT/emulator, $ANDROID_SDK_ROOT/platform-tools
  • Create emulator device: avdmanager --verbose create avd --force --name "pixel_6.0" --device "pixel" --package "system-images;android-23;google_apis;x86" --tag "google_apis" --abi "x86"
  • Start emulator: emulator @pixel_6.0