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"
修改后
遇到在Android Studio项目中创建LinearLayout布局文件时报错的情况?文章详细介绍了如何通过修改styles.xml文件来解决Android项目中找不到特定的WindowDecorActionBar类的问题,帮助开发者快速定位并修复错误。

1502

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



