更新后的Android Studio布局预览渲染问题
我很困惑。在Android Studio 3.0的最新更新之前,它运行良好 我所有的xml文件都有相同的呈现问题。我什么也看不见 它说: “无法初始化类android.graphics.Typeface 呈现期间引发异常:无法初始化类android.graphics.Typeface 提示:尝试刷新布局。“ 不管我尝试了多少次刷新这个东西,它都不会工作。 我重新启动了Android Studio,但仍然无法工作 我甚至不知道从哪里开始解决这个问题,因为我以前从未见过这样的问题。我用谷歌搜索了一下,但找不到任何有用的东西更新后的Android Studio布局预览渲染问题,android,xml,android-layout,Android,Xml,Android Layout,我很困惑。在Android Studio 3.0的最新更新之前,它运行良好 我所有的xml文件都有相同的呈现问题。我什么也看不见 它说: “无法初始化类android.graphics.Typeface 呈现期间引发异常:无法初始化类android.graphics.Typeface 提示:尝试刷新布局。“ 不管我尝试了多少次刷新这个东西,它都不会工作。 我重新启动了Android Studio,但仍然无法工作 我甚至不知道从哪里开始解决这个问题,因为我以前从未见过这样的问题。我用谷歌搜索了一下
我需要帮助。请救救我 C:\ProgramFiles\Android\Android Studio\plugins\Android\lib\layoutlib\data\font 用此文件替换fonts.xml文件并重新启动
Roboto-Thin.ttf
Roboto-ThinItalic.ttf
Roboto-Light.ttf
Roboto-LightItalic.ttf
Roboto-Regular.ttf
Roboto-Italic.ttf
Roboto-Medium.ttf
Roboto-MediumItalic.ttf
Roboto-Black.ttf
Roboto-BlackItalic.ttf
Roboto-Bold.ttf
Roboto-BoldItalic.ttf
roboto-Light.ttf
Roboto-LightItalic.ttf
roboto-Regular.ttf
Roboto-Italic.ttf
roboto-Bold.ttf
Roboto-BoldItalic.ttf
NotoSerif-Regular.ttf
NOTSERIF-Bold.ttf
NotoSerif-Italic.ttf
NOTSERIF-BoldItalic.ttf
droidsansmone.ttf
CutiveMono.ttf
即将到来
DancingScript-Regular.ttf
DancingScript-Bold.ttf
CarroisGothicSC-Regular.ttf
NotoNaskhArabic-Regular.ttf
NOTONASHARABIC-Bold.ttf
NotoNaskhArabicUI-Regular.ttf
NotoNaskhArabicUI-Bold.ttf
NOTOsanethiopic-Regular.ttf
NotoSansEthiopic-Bold.ttf
NotoSansHebrew-Regular.ttf
NotoSansHebrew-Bold.ttf
notosantai-Regular.ttf
NOTOSANSTAI-Bold.ttf
NOTOSANSTAIUI-REQUALE.ttf
NOTOSANSTAIUI-Bold.ttf
NOTOSANSAMERNIAN-REGINAL.ttf
NOTOSANSAMERNIAN-Bold.ttf
NOTOS-REQUALE.ttf
NOTOS-Bold.ttf
Notosansdavanagari-Regular.ttf
NotoSansDevanagari-Bold.ttf
Notosansdavanagarui-Regular.ttf
Notosansdavanagarui-Bold.ttf
古吉拉特邦-Regular.ttf
古吉拉特邦-黑体.ttf
非圣古吉拉提语-Regular.ttf
非圣古吉拉提语-Bold.ttf
NotoSansGurmukhi-Regular.ttf
NotoSansGurmukhi-Bold.ttf
NotoSansGurmukhiUI-Regular.ttf
NotoSansGurmukhiUI-Bold.ttf
泰米尔语-Regular.ttf
泰米尔黑体字
notosantamilui-Regular.ttf
notosantamilui-Bold.ttf
NotoSansMalayalam-Regular.ttf
NotoSansMalayalam-Bold.ttf
NotoSansMalayalamUI-Regular.ttf
NotoSansMalayalamUI-Bold.ttf
孟加拉语-Regular.ttf
孟加拉语-Bold.ttf
NotoSansBengaliUI-Regular.ttf
NotoSansBengaliUI-Bold.ttf
notosantelugu-Regular.ttf
notosantelugu-Bold.ttf
notosanteluguui-Regular.ttf
notosanteluguui-Bold.ttf
NotoSansKannada-Regular.ttf
NotoSansKannada-Bold.ttf
Notosanskanadaui-Regular.ttf
NotoSansKannadaUI-Bold.ttf
NotoSansOriya-Regular.ttf
NotoSansOriya-Bold.ttf
NotoSansOriyaUI-Regular.ttf
NotoSansOriyaUI-Bold.ttf
Notonassinhala-Regular.ttf
NOTOSANSINHALA-Bold.ttf
NotoSansKhmer-Regular.ttf
NOTSANSHMER-Bold.ttf
NotoSansKhmerUI-Regular.ttf
NotoSansKhmerUI-Bold.ttf
NotoSansLao-Regular.ttf
NotoSansLao-Bold.ttf
Notosanlaoui-Regular.ttf
NotoSansLaoUI-Bold.ttf
notosis-Regular.ttf
NOTOS-Bold.ttf
NotoSansMyanmarUI-Regular.ttf
NotoSansMyanmarUI-Bold.ttf
Notosanthaana-Regular.ttf
NOTOSANSTHANA-Bold.ttf
NotoSansCham-Regular.ttf
NotoSansCham-Bold.ttf
NotoSansAvestan-Regular.ttf
菲律宾语-Regular.ttf
NotoSansBamum-Regular.ttf
NotoSansBatak-Regular.ttf
Notosansbrami-Regular.ttf
NotoSansBuginese-REQUALE.ttf
NotoSansBuhid-Regular.ttf
加拿大土著居民-Regular.ttf
NotoSansCarian-Regular.ttf
NotoSansCherokee-Regular.ttf
notoscopic-Regular.ttf
三七楔形文字规则.ttf
notosis-Regular.ttf
NOTOSANSDESET-REQUALE.ttf
埃及象形文字-Regular.ttf
NOTOSANGAGOLITIC-REGIRAL.ttf
非标准-正则.ttf
notoshanunoo-Regular.ttf
NOTOSANSIMERIALAMAIC-REQUALE.ttf
诺桑语alpahlavi-Regular.ttf
诺坦桑阿尔卑斯-正则.ttf
NotoSansJavanese-Regular.ttf
NotoSansKaithi-Regular.ttf
NotoSansKayahLi-Regular.ttf
NotoSansKharoshthi-Regular.ttf
N