Rendering Problems the following classes could not be found: android.support.v7.internal.widget.ActionBarOverlayLayout (Fix Build Path, Edit XML, Create Class) Tip: Try to build the project 解决方法:把你的style文件中theme改一下
在Theme.AppCompat.Light.DarkActionBar前面加上Base. 如下
<!-- Base application theme. --> <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> </style>
android studio 无法在可视化页面预览布局文件
最新推荐文章于 2025-07-02 16:28:32 发布
本文介绍了解决Android开发中遇到的找不到类问题的方法,特别是针对android.support.v7.internal.widget.ActionBarOverlayLayout类未找到的情况。通过修改style文件中的主题设置,将Theme.AppCompat.Light.DarkActionBar更改为Base.Theme.AppCompat.Light.DarkActionBar。

2434

被折叠的 条评论
为什么被折叠?



