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

Windows系统中Android Studio无法找到自定义字体Ayuthaya.ttf如何解决?

Fix: Ayuthaya.ttf Not Showing Up in Android Studio (But Visible in IntelliJ)

Hey there, I’ve dealt with this exact scenario before—custom fonts appearing in IntelliJ but missing from Android Studio’s font list. Here are the actionable fixes that worked for me:

  • Confirm the font is properly installed
    Just having the Ayuthaya.ttf file on your system isn’t enough. Head to Control Panel > Fonts, search for "Ayuthaya" and make sure it’s listed as installed. If not, right-click the TTF file and select Install to add it to your Windows system fonts.

  • Manually add the font to Android Studio
    Android Studio might not have scanned the font automatically. Here’s how to force it:

    1. Open Android Studio and go to File > Settings > Editor > Font (or for UI fonts, Appearance & Behavior > Appearance > UI Options).
    2. Click the dropdown next to the font selection box and choose Show all fonts.
    3. In the font manager window, click the + icon in the top-right corner.
    4. Navigate to the location of Ayuthaya.ttf (usually C:\Windows\Fonts or your custom font folder), select the file, and add it.
    5. You’ll now see Ayuthaya in the font list—select it and apply the settings.
  • Clear Android Studio’s cache
    Stale cache can prevent font list updates. Do this:

    1. Close Android Studio completely.
    2. Navigate to the cache directory: C:\Users\<YourUsername>\.AndroidStudio<VersionNumber>\system\caches
    3. Delete all contents inside the caches folder (or the folder itself).
    4. Restart Android Studio and check the font list again.
  • Update Android Studio to the latest version
    Older Android Studio builds might have limited font detection compared to newer IntelliJ versions. Head to Help > Check for Updates and install any available stable updates, then restart the IDE.

  • Copy the font to Android Studio’s internal font directory
    If all else fails, manually place the font in Android Studio’s JRE fonts folder:

    1. Locate your Android Studio installation path (e.g., C:\Program Files\Android\Android Studio\jre\lib\fonts).
    2. Copy Ayuthaya.ttf into this folder.
    3. Restart Android Studio—it should now detect the font in the list.

Give these steps a shot—one of them should resolve the issue and get Ayuthaya working in your Android Studio setup. 😊

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.13 08:10:34