SAGAR SURI’s Post

View profile for SAGAR SURI, graphic

Senior Software Engineer | Flutter | Android | Rust

Hey #mobile devs if you're on a Mac with an M1 chip or newer and can't launch the Android emulator from the terminal, here's a crucial tip: 🔍 Problem: Your system might be using the older emulator from android/sdk/tools, which doesn't work on M1+ chips. You might see an error related to wrong "darwin-x86_64" directory. ✅ Solution: 1. Open your ~/.zshrc file 2. Find your Android SDK path declarations 3. Modify them to prioritize the newer emulator path: export PATH=/path/to/android/sdk/emulator:$PATH export PATH=$PATH:/path/to/android/sdk/tools 4. Save, then run: source ~/.zshrc #flutter #android #google #mobile

Ashish Rawat

Senior Consultant (Flutter) at NTT DATA | Flutter & Android Expert | Mobile App Consultant | Open to Opportunities | Ex-Publicis Sapient

3mo

Fixed it today only. anyway thanks for posting

Faisal Ashraf 

iOS Developer | Swift | UIKit | SwiftUI

3mo
Like
Reply
Benson Arafat

Senior Software Engineer

3mo

I’ve not found this issue. But let me bookmark it 👏

See more comments

To view or add a comment, sign in

Explore topics