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:

Comparing Mutative Vs Immer Vs Reducers For Data Handling In React

Comparing React state tools: Mutative vs. Immer vs. reducers

Mutative processes data with better performance than both Immer and native reducers. Let’s compare these data handling options in React.

Rashedul Alam
Apr 26, 2024 ⋅ 7 min read
Radix Ui Adoption Guide Overview Examples And Alternatives

Radix UI adoption guide: Overview, examples, and alternatives

Radix UI is quickly rising in popularity and has become an excellent go-to solution for building modern design systems and websites.

Nefe Emadamerho-Atori
Apr 25, 2024 ⋅ 11 min read
Understanding The Css Revert Layer Keyword, Part Of Css Cascade Layers

Understanding the CSS revert-layer keyword

In this article, we’ll explore CSS cascade layers — and, specifically, the revert-layer keyword — to help you refine your styling strategy.

Chimezie Innocent
Apr 24, 2024 ⋅ 6 min read
Exploring Nushell, A Rust Powered, Cross Platform Shell

Exploring Nushell, a Rust-powered, cross-platform shell

Nushell is a modern, performant, extensible shell built with Rust. Explore its pros, cons, and how to install and get started with it.

Oduah Chigozie
Apr 23, 2024 ⋅ 6 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