Android Emulator 'Storing crashdata' Error on macOS
Problem Statement
When running Android Emulator commands (emulator -list-avds
, emulator -help
, etc.) on macOS, you encounter an error message as the first line of output:
INFO | Storing crashdata in: /tmp/android-gregoire/emu-crash-34.1.18.db, detection is enabled for process: 4832
This occurs on systems with:
- macOS Sonoma 14.3.1+ (especially M1/M2 Macs)
- Android Emulator version 34.1.18.0
- Android Studio Iguana 2023.2.1+
Why this breaks your workflow:
Tools like React Native parse the first line of emulator -list-avds
as an AVD name, attempting to launch a non-existent emulator called "INFO | Storing crashdata..."
. This breaks automated flows while manual emulator startup remains functional.
Verified Solutions
Solution 1: Downgrade Android Emulator (Most Effective)
The core issue stems from a bug in Emulator v34.1.18. Reverting to v33.1.24 resolves it:
Download the Android Emulator v33.1.24 (Stable) from:
developer.android.com/studio/emulator_archive
(Select the macOS package matching your chip architecture)Locate your existing emulator installation:
bash# Default location if using ANDROID_HOME echo $ANDROID_HOME/emulator # Default location without custom variables ~/Library/Android/sdk/emulator
Replace existing emulator files:
bashrm -rf $ANDROID_HOME/emulator # Back up first if needed unzip ~/Downloads/emulator-darwin*.zip -d $ANDROID_HOME
Grant execution permissions:
bashchmod -R +x $ANDROID_HOME/emulator chmod +x $ANDROID_HOME/emulator/emulator
Restart your terminal/IDE and verify:
bashemulator -list-avds
(First macOS permission prompt may appear - accept it)
⚠️ Disable auto-updates temporarily in Android Studio:
Preferences → Appearance & Behavior → System Settings → Updates
Uncheck "Automatically download Android emulator updates"
Solution 2: Reinstall Emulator via SDK Manager
If downgrading isn't feasible, reinstall current version:
In Android Studio:
Tools → SDK Manager → SDK Tools
Uncheck "Android Emulator" → ApplyRestart Android Studio
Re-install the emulator:
Same path: Check "Android Emulator" → Apply
Solution 3: Permission Reset
Trigger macOS to re-request emulator permissions:
- Move existing authorization files:bash
mv ~/Library/Android ~/Library/Android_Backup
- Run any emulator command:bash
emulator -list-avds
- Accept the macOS security prompt
- Restore your original configuration:bash
rm -rf ~/Library/Android mv ~/Library/Android_Backup ~/Library/Android
Explanation
Why this happens
The INFO
message erroneously prints to stdout
instead of stderr
in v34.1.18. Since tools like React Native capture standard output, they receive the message instead of valid AVD names. This is confirmed fixed in later emulator versions.
Best practice recommendation: Downgrading to v33.1.24 (Solution 1) resolves the issue completely until Google releases a patched version. Avoid newer experimental releases marked "Canary" or "Preview" if stability is critical.
Verify Fix Success
The error should disappear from command outputs:
emulator -list-avds
# Pixel_3a_API_34 (Only AVD names appear)
# ... no "Storing crashdata" line
React Native flows should now start emulators correctly.
Troubleshooting
If solutions don't work:
- Delete temporary crashdata folders:bash
rm -rf /tmp/android-*
- Reset environment variables to defaults temporarily
- Ensure no stale emulator processes:bash
pkill -9 qemu-system-*; pkill -9 emulator
Final Note: This appears to be a version-specific regression. Monitor the official issue tracker for permanent fixes in future releases. After a stable v34.1.20+ release, re-update through SDK Manager.