繁体   English   中英

Android Studio渲染问题(无预览)

[英]Android Studio Rendering Problems (No preview)

我刚刚安装了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 project

该错误的可能原因是什么,我该如何解决?

res / values / styles.xml中更改AppTheme父级可以解决此问题。 更换

  <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
   <!-- Customize your theme here. -->
  </style>

<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
</style>

预览窗格中将API级别从22降级到21

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM