Android开发丶Caused by: java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or
来源:互联网 发布:苹果平板绘画软件 编辑:程序博客网 时间:2024/05/21 09:02
最近在项目中添加了tablayout控件,打开该页面就会崩溃,提示如下:
顾名思义,我们需要给目标Activity配置一个design的theme属性
打开AndroidManifest清单文件,定位到目标Activity添加theme
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
这样就可以正常运行了!
0 0
- Android开发丶Caused by: java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or
- android开发Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or des
- Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant)
- Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant)
- Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant)
- Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant)
- Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant)
- Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant)
- java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with ...
- java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the
- Java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the
- Android去標題時報錯:java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendan
- android 引入ActionBar报错Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat t
- java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this a
- java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this a
- java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this a
- java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this a
- java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this a
- mysql数据库存入中文乱码或问号
- doom3 代码结构
- YARN资源调度策略之Capacity Scheduler
- ConcurrentHashMap详解
- Gstreamer调试
- Android开发丶Caused by: java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or
- Android 获取系统铃声
- 数据结构随笔——二叉树和五个重要性质
- SpringMVC轻量级框架之控制器重定向跳转原理分析
- Android Studio2.3关于多渠道打包失败以及多渠道打包流程
- Programming Assignment: Collinear Points
- indexedDB 数据库
- MindManager思维导图软件帮你解决英语学习大难题!
- JavaScript 中 apply 、call 的详解