android studio 1.4 应用中创建LinearLayout文件报错

来源:互联网 发布:通辽数据恢复公司 编辑:程序博客网 时间:2024/06/04 17:42

android刚入手,使用android studio 1.4

在应用中创建LinearLayout布局文件时报错:

The following classes could not be found:
- android.support.v7.internal.app.WindowDecorActionBar (Fix Build Path, Create Class)
Tip: Try to build the project.

修改styles.xml文件里AppTheme的parent,在前面加上Base.


新建的项目默认:"Theme.AppCompat.Light.DarkActionBar"

修改后


0 0
原创粉丝点击