Android Studio渲染问题(无预览)
我刚刚安装了Android Studio,我是应用程序编程的初学者。当我第一次启动Android Studio时,我遇到了以下错误Android Studio渲染问题(无预览),android,android-studio,rendering,Android,Android Studio,Rendering,我刚刚安装了Android Studio,我是应用程序编程的初学者。当我第一次启动Android Studio时,我遇到了以下错误 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 p
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
此错误的原因可能是什么?我应该如何修复它?在res/values/styles.xml中更改AppTheme父级解决了此问题。替换
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
</style>
与
在预览窗格中将API级别从22降级到21
谢谢sasikumar,我现在可以清楚地看到预览了。非常感谢你的帮助!:D
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
</style>