Android异常篇 Failed to initialize editor

Posted 其子昱舟

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android异常篇 Failed to initialize editor相关的知识,希望对你有一定的参考价值。

一、问题说明

xml 文件提示 Failed to initialize editor,无法看到实时布局的效果

二、解决方案

方案 1:

将项目下的 .idea 文件夹删除

重新打开 AS

方案 2:

File 菜单

Invalidate Caches/Restart

方案 3:
重启电脑 – 重启AS – 点击Make Project

以上是关于Android异常篇 Failed to initialize editor的主要内容,如果未能解决你的问题,请参考以下文章

Android异常篇 Failed to initialize editor

Android异常篇 Error: Execution failed for task ‘:app:clean‘. Unable to delete file

Android 异常: failed to connect to localhost/127.0.0.1

Android异常篇 Error:Execution failed for task ‘:app:validateSigningDebug‘.

Android异常篇 Manifest merger failed : Attribute application@label value=() from AndroidM

android中init failed when open zip file怎么解决