IllegalArgumentException: AppCompat does not support the current theme feature
来源:互联网 发布:java国际象棋棋盘棋子 编辑:程序博客网 时间:2024/04/28 21:11
AndroidStudio 导入开源项目运行出现这样一个异常:
IllegalArgumentException: AppCompat does not support the current theme feature,意思是appcompat 不支持当前的主题。
后来在stackoverflow上找到了解决方法:
Make sure that your theme is parent with Theme.AppCompat.NoActionBar
, then in styles.xml
:
(在styles.xml文件中,要确保你的主题的父类是Theme.AppCompat.NoActionBar
),如:
<style name="MyMaterialTheme" parent="Theme.AppCompat.NoActionBar"> <item name="windowNoTitle">true</item> <item name="windowActionBar">false</item> ...</style>
Btw, it's a new issue for Support Library 22.1
原文链接:http://stackoverflow.com/questions/29784124/java-lang-illegalargumentexception-appcompat-does-not-support-the-current-theme
0 0
- IllegalArgumentException: AppCompat does not support the current theme feature
- IllegalArgumentException: AppCompat does not support the current theme features
- IllegalArgumentException: AppCompat does not support the current theme features
- 【Android】java.lang.IllegalArgumentException: AppCompat does not support the current theme features
- AppCompat does not support the current theme features
- AppCompat does not support the current theme features
- AppCompat does not support the current theme features
- AppCompat does not support the current theme features:
- Android:AppCompat does not support the current theme features
- AppCompat does not support the current theme features的解决方法
- AppCompat does not support the current theme features
- AppCompat does not support the current theme features
- AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOver
- toolbar使用时显示AppCompat does not support the current theme features: { windowActionBar: false, windowA
- Android开发报错:AppCompat does not support the current theme features
- 使用ToolBar时的报错AppCompat does not support the current theme features
- ToolBar报错:AppCompat does not support the current theme features
- style 实现全屏和AppCompat does not support the current theme features错误的解决
- 【jQuery easyUI】textbox设置只读不可编辑状态
- Win10 开发2
- storm消费kafka,没有往zk里写offset的问题
- Apache和Nginx各自的特点
- 前端小结----Webpack React
- IllegalArgumentException: AppCompat does not support the current theme feature
- Linux 系统获取系统时间
- Unity的摄像机拉近拉远和旋转脚本实现
- 1.6的锁优化(适应性自旋/锁粗化/锁削除/轻量级锁/偏向锁)
- http报文中字段解析
- css编写九阴真经弹窗效果
- eclipse新建一个springsecurity项目
- Retrofit请求数据对错误以及网络异常的处理
- 图像处理库dlib的配置