Layout.xml文件在android studio 3.3.2中不可见

时间:2019-04-01 09:00:11

标签: android android-studio

在下面显示的我的工作室中看不到layout.xml文件,

please look into the screenshot below

请问如何启用此布局文件以进一步工作!

谢谢。

1 个答案:

答案 0 :(得分:0)

由于项目未正确同步或gradle未同步或项目和gradle均未同步,或者几天后您可能正在打开项目,因此会多次发生此问题

解决方案是

  • 构建->清洁项目
  • 构建->重建项目
  • 文件->同步项目

我已经添加了屏幕截图

enter image description here

enter image description here

无效的缓存

enter image description here

同步快捷方式 如果您使用的是Windows ctrl+alt+y 用于MAC command+option+y