Android Studio 资源引入时提示top level element is not completed 在stackoverflow上边看到有解释
Could be the case that you injected language by mistake.
在错误的情况下注入了语言
点击右键找到代码历史看到 代码提交历史上能会有:
right click the code in question then->Local History->Show History:Language Injection Configuration Update
取消注入语言的方法:
在错误代码后边alt+enter后选择——>Uninject language/reference
代码提交历史上能会有: