2021-10-08
2049
#react native
Lewis Cianci
71039
Oct 8, 2021 ⋅ 7 min read

Run React Native apps on an Android emulator for macOS

Lewis Cianci I'm a passionate mobile-first developer, and I've been making apps with Flutter since it first released. I also use ASP.NET 5 for web. Given the chance, I'll talk to you for far too long about why I love Flutter so much.

Recent posts:

Understanding env variables and containers in Astro 4.10

Astro, renowned for its developer-friendly experience and focus on performance, has recently released a new version, 4.10. This version introduces […]

Peter Ekene Eze
Sep 10, 2024 ⋅ 9 min read

Build an image editor with Fabric.js v6

In web development projects, developers typically create user interface elements with standard DOM elements. Sometimes, web developers need to create […]

Shalitha Suranga
Sep 9, 2024 ⋅ 12 min read

Creating toast notifications using Solid Toast

Toast notifications are messages that appear on the screen to provide feedback to users. When users interact with the user […]

Chimezie Innocent
Sep 6, 2024 ⋅ 7 min read
Deno Adoption Guide: Overview, Examples, And Alternatives

Deno adoption guide: Overview, examples, and alternatives

Deno’s features and built-in TypeScript support make it appealing for developers seeking a secure and streamlined development experience.

Emmanuel Odioko
Sep 5, 2024 ⋅ 10 min read
View all posts

5 Replies to "Run React Native apps on an Android emulator for macOS"

  1. Hi all, i have such error, after all steps

    emulator @android_emulator

    INFO | Android emulator version 30.9.4.0 (build_id 7759208) (CL:N/A)
    PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT

  2. sdkmanager “platform-tools” “platforms;android-30”
    This needs to be fired beside the comment from the articles in order to download some sdk

  3. Hey everyone, after I posted this article, it seems like there’s been some updates to how brew works, and how it installs the packages. The main issue is that the emulator is now installed to a completely different location and this isn’t documented anywhere (from what I can see).

    From running the following command:

    `sdkmanager emulator –verbose`

    It gave me the new correct path to the emulator, which is `/usr/local/share/android-commandlinetools/emulator/`. After updating my .zshrc with that path, and including “platform-tools” and “platforms;android-30” in the sdkmanager call like Ede said to do, it comes up just fine.

    The article will be updated with this new content 😀

  4. Great article thanks very much

    I am facing one issue after running emulator @android_emulator

    INFO | Android emulator version 31.2.10.0 (build_id 8420304) (CL:N/A)
    PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [/Users/username/Library/Android/sdk]!

Leave a Reply