🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)
🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)

🔧 Programmierung 🕛 kürzlich 5 Min Lesezeit
0

Run Android Emulator without installing Android Studio

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Usually, we install Android Studio to run our code in its Android Emulator. This emulator is usually called AVD (Android Virtual Device) Emulator, which is a very handy tool especially if you don't want to setup your personal device for the testing usecase. But, sometimes you don’t need Android Studio but still need the AVD Emulator, so it's just overkill to install heavy Android Studio to just run Android Emulator.



So we'll see how we can install and run AVD Emulator without installing Android Studio. Here’s the step to step guide to install AVD Emulator to your Mac without installing Android Studio. Same can be followed for linux based devices.






Install Java (If already not)



Java is used to build and run the emulator and related tools. Java must be installed in your system. You can download Java by following below steps:




  1. Download appropriate Java package or installer from




    1. If you use the installer(recommended), that will set appropriate paths as well.






    Get Tools package



    tools package is part of Android SDK, a group of packages that are needed for Android development. tools package is used for managing other packages to create AVD's. Here's the step for getting the tools package:




    1. Go to Official




      1. Download the package according to your OS by clicking on it.

      2. Extract the package to the folder you want. I use below for my Macbook:


        1. Single User: /Users/shivamsharma/Library/Android/sdk

        2. Globally: /Library/Android/sdk






      3. Move content of cmdline-tools to a folder named latest inside cmdline-tools . e.g. Final path for bin becomes: /Users/shivamsharma/Library/Android/sdk/cmdline-tools/latest/bin







      Add Environment variables



      We need to add environment variable to our bash/zsh profile for Android and Java Executables. By doing this we'll be able to run the command line tools or binary files from evrywhere in the machine.



      To do the same




      1. Add below content in your bash file e.g. ~/.zshrc:




      CODE
      ######## Android #########
      export ANDROID_SDK_ROOT="/Users/shivamsharma/Library/Android/sdk"
      export ANDROID_HOME="/Users/shivamsharma/Library/Android/sdk" #(Deprecated, but some programs still using it to locate SDK)
      export PATH="$ANDROID_HOME/cmdline-tools/latest/bin/:$PATH"
      export PATH="$ANDROID_HOME/emulator/:$PATH"
      export PATH="$ANDROID_HOME/platform-tools/:$PATH"







      1. Source the bash file by running source ~/.zshrc. As we have added path of cmdline-tools/latest/bin/ in PATH so we can call CLI commands available in that folder from anywhere.






      Download essential packages



      Now, we will download platform-tools and emulator packages. 

      platform-tools has some tools to communicate with Android devices when you plug them into your computer. emulator is the Android emulator.

      We will use sdkmanager or sdkmanager.bat which are placed at cmdline-tools/bin to install them.



      You can check if sdkmanager is working by running sdkmanager --list. This will give the list of packages available to install with sdkmanager.





      Use control + c in the terminal to close the emulator. Or switch off the device emulator using android controls.






      Steps Summary




      1. Install Java:


        • e.g. /Users/shivamsharma/Library/Android/sdk for single user, for global user at /Library/Android/sdk



      2. Move content of cmdline-tools to a folder named latest inside cmdline-tools . e.g. Final path becomes: /Users/shivamsharma/Library/Android/sdk/cmdline-tools/latest/bin

      3. Add below content in ~/.zshrc




      CODE
      ######## Android #########
      export ANDROID_SDK_ROOT="/Users/shivamsharma/Library/Android/sdk"
      export ANDROID_HOME="/Users/shivamsharma/Library/Android/sdk"
      export PATH="$ANDROID_HOME/cmdline-tools/latest/bin/:$PATH"
      export PATH="$ANDROID_HOME/emulator/:$PATH"
      export PATH="$ANDROID_HOME/platform-tools/:$PATH"







      1. Reload source file: source ~/.zshrc. As we have added path of cmdline-tools/latest/bin/ in PATH so we can call CLI commands available in that folder from anywhere.

      2. Check if you can run sdkmanager --list

      3. Run sdkmanager platform-tools emulator to install platform-tools and emulator. Read and accept licences.

      4. Run sdkmanager "system-images;android-34;google_apis_playstore;arm64-v8a" "platforms;android-34" to install android image you are interested in e.g. using android-34 here which is SDK for Android 14. Read and accept licences.

      5. Create device with command avdmanager create avd --name '${DeviceName}' --package "system-images;android-34;google_apis_playstore;arm64-v8a" -d pixel

      6. Run emulator by emulator -avd ${DeviceName} -no-snapshot-load. -no-snapshot-load is there to load the device from fresh instead of from a snapshot.

      Vollständiger Original-Bericht
      Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
      ↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
3 Quellen
GPT-6 Astra Release Today? OpenAI’s Next Major AI Model Is Almost Here
1 Quelle
Apple accuses OpenAI of destroying evidence as trade-secrets fight intensifies
1 Quelle
Major AI platforms go down in unprecedented simultaneous outage
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Run Android Emulator without installing Android Studio

Thematisch verwandte Begriffe: Android, Emulator, without, installing · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...