解决Android Studio的Rendering Problems之没有可视化编辑窗口

来源:互联网 发布:网络课程app 编辑:程序博客网 时间:2024/05/18 04:41

 无法出现可视化窗口布局:

Rendering Problemsthe 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
解决方法:

把D:\Users\Administrator\AndroidStudioProjects\MyApplication\app\src\main\res\values中的style文件中theme改一下

在Theme.AppCompat.Light.DarkActionBar前面加上Base.  如下

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

0 0
原创粉丝点击