You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Mac OS X 10.11.6下Android Studio 3.0启动崩溃(freetype相关)

Fix Android Studio 3.0 (AI-171.4443003) Crash on macOS 10.11.6

I’ve dealt with similar library conflict issues on older macOS versions with Android Studio, so let’s break down actionable fixes for your crash involving libfreetype.dylib.6 and libfontmanager.dylib:

Force Android Studio to use its bundled freetype library

The root issue is almost always a system/third-party freetype library overriding Android Studio’s own bundled version. Here’s how to prioritize the bundled one:

  • Open Terminal and run this command to set the library path to prioritize Android Studio’s internal libraries:
    export DYLD_LIBRARY_PATH="/Applications/Android Studio.app/Contents/jre/jre/lib:$DYLD_LIBRARY_PATH"
    
  • Launch Android Studio directly from the terminal to test:
    open /Applications/Android Studio.app
    
  • If this works, make the change permanent by adding the environment variable to your shell config:
    1. Edit your profile file (e.g., ~/.bash_profile for Bash or ~/.zshrc for Zsh):
      nano ~/.bash_profile
      
    2. Add this line at the bottom:
      export DYLD_LIBRARY_PATH="/Applications/Android Studio.app/Contents/jre/jre/lib:$DYLD_LIBRARY_PATH"
      
    3. Save and apply the changes:
      source ~/.bash_profile
      

Reset Android Studio's cache and configuration

Corrupted cache or old settings can sometimes exacerbate library conflicts. Try wiping them:

  • Close Android Studio completely (if it’s stuck crashing, just proceed)
  • Delete the cache, preferences, and log directories:
    rm -rf ~/Library/Caches/Google/AndroidStudio3.0
    rm -rf ~/Library/Preferences/Google/AndroidStudio3.0
    rm -rf ~/Library/Logs/Google/AndroidStudio3.0
    
  • Restart Android Studio and choose not to import old settings if prompted.

Clean up residual freetype libraries

Even after uninstalling brew’s freetype, there might be leftover libraries in system paths:

  • Run this command to locate all libfreetype.dylib files on your system:
    find / -name "libfreetype.dylib" 2>/dev/null
    
  • Look for entries outside the Android Studio app directory (like /usr/local/lib or /opt/homebrew/lib). Back up and remove them:
    sudo mv /usr/local/lib/libfreetype.dylib /usr/local/lib/libfreetype.dylib.backup
    
  • Restart your Mac and try launching Android Studio again.

Reinstall Android Studio completely

If all else fails, a clean reinstall might resolve lingering issues:

  • Drag Android Studio from /Applications to the Trash
  • Delete all related configuration directories:
    rm -rf ~/Library/Application\ Support/Google/AndroidStudio3.0
    rm -rf ~/Library/Caches/Google/AndroidStudio3.0
    rm -rf ~/Library/Preferences/Google/AndroidStudio3.0
    rm -rf ~/Library/Logs/Google/AndroidStudio3.0
    
  • Download the exact Android Studio 3.0 (AI-171.4443003) build from the official archive, reinstall it, and avoid importing old settings.

内容的提问来源于stack exchange,提问作者puff

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.15 04:19:44