每次更新后都出现缺少样式的渲染问题 [英] Rendering problems missing styles after every update

查看:21
本文介绍了每次更新后都出现缺少样式的渲染问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到渲染问题.缺少样式.是否为此布局选择了正确的主题?"并且在每次 android studio 更新后,gradle 都无休止地解析,使我的整个代码无法运行.唯一的解决方案是重新创建我的项目.有什么解决办法吗?真的很烦.

I get the "Rendering problems. Missing styles. Is the correct theme chosen for this layout?" and the gradle resolving without end after every android studio update, making my entire code non runnable. Only solution is to just recreate my project. Is there any solution to this? It is really, really annoying.

推荐答案

尝试使缓存无效并重新启动.在 Android Studio 中,转到文件菜单并选择使缓存无效/重新启动并使用无效并重新启动进行确认.

Try to Invalidate Caches and Restart. In Android Studio go to the File menu and choose Invalidate Caches / Restart and confirm with Invalidate and Restart.

显示 Android Studio 中相应菜单项的图像:

An image showing the appropriate menu item in Android Studio:

这篇关于每次更新后都出现缺少样式的渲染问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆