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:

TypeScript logo over a pink and white background.

Drizzle vs. Prisma: Which ORM is best for your project?

Compare Prisma and Drizzle ORMs to learn their differences, strengths, and weaknesses for data access and migrations.

Temitope Oyedele
Nov 21, 2024 ⋅ 10 min read
Practical Implementation Of The Rule Of Least Power For Developers

Practical implementation of the Rule of Least Power for developers

It’s easy for devs to default to JavaScript to fix every problem. Let’s use the RoLP to find simpler alternatives with HTML and CSS.

Timonwa Akintokun
Nov 21, 2024 ⋅ 8 min read
Rust logo over black marble background.

Handling memory leaks in Rust

Learn how to manage memory leaks in Rust, avoid unsafe behavior, and use tools like weak references to ensure efficient programs.

Ukeje Goodness
Nov 20, 2024 ⋅ 4 min read
Robot pretending to be a person.

Using curl-impersonate in Node.js to avoid blocks

Bypass anti-bot measures in Node.js with curl-impersonate. Learn how it mimics browsers to overcome bot detection for web scraping.

Antonello Zanini
Nov 20, 2024 ⋅ 13 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