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:

react native's new architecture: sync and async rendering

React Native’s New Architecture: Sync and async rendering

React Native’s New Architecture offers significant performance advantages. In this article, you’ll explore synchronous and asynchronous rendering in React Native through practical use cases.

Emmanuel John
Dec 24, 2024 ⋅ 8 min read
Building a Full-Featured Laravel Admin Dashboard with Filament

Building a full-featured Laravel admin dashboard with Filament

Build scalable admin dashboards with Filament and Laravel using Form Builder, Notifications, and Actions for clean, interactive panels.

Kayode Adeniyi
Dec 20, 2024 ⋅ 5 min read
Working With URLs In JavaScript

Working with URLs in JavaScript

Break down the parts of a URL and explore APIs for working with them in JavaScript, parsing them, building query strings, checking their validity, etc.

Joe Attardi
Dec 19, 2024 ⋅ 6 min read
Lazy Loading Vs. Eager Loading

Lazy loading vs. Eager loading

In this guide, explore lazy loading and error loading as two techniques for fetching data in React apps.

Njong Emy
Dec 18, 2024 ⋅ 5 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