请首先尝试检查您的XML代码中是否存在异常!如果是,则先修复它,然后再 转到文件>无效的缓存并重新启动。重新启动后,请注意,启动需要花费更多时间,但这肯定会解决您的问题。
如果不这样使用
极端步骤
好了,有很多解决方案可以处理android studio designView渲染。
当我使用低规格系统时,在大多数情况下我曾经做过的事情是这样的
如果WINDOWS是您的操作系统,则只需执行以下步骤:
1: 如果正在运行,请关闭您的Android Studio
2: 确保bottomBar或桌面中没有快捷方式图标(可选)
3: Open C:/Users/{your_USER_NAME}/ and just delete .AndroidStudio{VERSIONCODE} folder
what does this folder do? well it saves your custom android studio themes, styles, shortcuts etc
after deleting it
4: Check you are connected to Internet
5: open the android studio and it should present you with again setting screens like what theme you would like to use etc! just go with recommended
6: follow the recommended steps at first after that if anything android studio is missing it will download!
7: try creating a new project then!
REMEMBER you do not need to remove .gradle for just simple UI/UX glitches of android studio! just remove .androidStudo3..(