无法在 mac 上启动 android 模拟器。库未加载 libc++。1.dylib

Unable to start android emulator on mac. Library not loaded libc++.1.dylib

模拟器图像 - API 17,armeabi-v7a tools$ emulator -avd Nexus_5_API_17 dyld: Library not loaded: /tmp/darwin-x86_64-clang-3.5/lib/libc++.1.dylib Referenced from: /Users/madhav/Library/Android/sdk/tools/./emulator Reason: image not found Trace/BPT trap: 5

检查您的 .profile 和 .bashrc 以查看是否在此处设置了 DYLD_FALLBACK_LIBRARY_PATH,如果是,请尝试注释掉这些行。对我来说,Muse SDK 与此相结合,破坏了 Android 模拟器。

正如 Joshua 所说,您需要删除或注释其他应用程序添加的行。

我的 .bash_profile 现在修复后的最后一行是:

#export DYLD_FALLBACK_LIBRARY_PATH="$DYLD_FALLBACK_LIBRARY_PATH:/Applications/Muse"