JavaShuo
栏目
标签
You need to use a Theme.AppCompat theme (or descendant) with this activity 这个问题的解决方案
时间 2021-01-12
原文
原文链接
错误原因:Activty继承自android.support.v7.app.AppCompatActivty,而不是android.app.Activty。 解决方案: 1.在创建的activity时,如果不用继承AppCompatActivity的话,就直接继承Activity 2. 更改主题 然后把appliacation里面的和activity用这个主题 3 . 我本来写后
>>阅读原文<<
相关文章
1.
You need to use a Theme.AppCompat theme (or descendant) with this activity问题
2.
You need to use a Theme.AppCompat theme (or descendant) with this activity.
3.
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this a
4.
You need to use a Theme.AppCompat theme (or descendant) with this activity
5.
Android开发之IllegalStateException: You need to use a Theme.AppCompat theme解决方法
6.
Activity使用主题不兼容报错-You need to use a Theme.AppCompat theme (or descendant) with this activity
7.
Android studio使用android:style/Theme.Dialog报错:You need to use a Theme.AppCompat theme (or descendant)
8.
Android学习之遇到的第一个错误:java.lang.IllegalStateException: You need to use a Theme.AppCompat theme
9.
Unable to find a @SpringBootConfiguration, you need to use....
10.
SpringBoot Unable to find a @SpringBootConfiguration, you need to use
更多相关文章...
•
Redis乐观锁解决高并发抢红包的问题
-
红包项目实战
•
Redis悲观锁解决高并发抢红包的问题
-
红包项目实战
•
PHP Ajax 跨域问题最佳解决方案
•
常用的分布式事务解决方案
相关标签/搜索
问题解决方案
with+this
解决方案
问题解决
解决问题
问题&解决
解决方案 二
解决方案 七
use
theme.appcompat
NoSQL教程
Spring教程
MySQL教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
如何将PPT某一页幻灯片导出为高清图片
2.
Intellij IDEA中使用Debug调试
3.
build项目打包
4.
IDEA集成MAVEN项目极简化打包部署
5.
eclipse如何导出java工程依赖的所有maven管理jar包(简单明了)
6.
新建的Spring项目无法添加class,依赖下载失败解决:Maven环境配置
7.
记在使用vue-cli中使用axios的心得
8.
分享提高自己作品UI设计形式感的几个小技巧!
9.
造成 nginx 403 forbidden 的几种原因
10.
AOP概述(什么是AOP?)——Spring AOP(一)
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
You need to use a Theme.AppCompat theme (or descendant) with this activity问题
2.
You need to use a Theme.AppCompat theme (or descendant) with this activity.
3.
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this a
4.
You need to use a Theme.AppCompat theme (or descendant) with this activity
5.
Android开发之IllegalStateException: You need to use a Theme.AppCompat theme解决方法
6.
Activity使用主题不兼容报错-You need to use a Theme.AppCompat theme (or descendant) with this activity
7.
Android studio使用android:style/Theme.Dialog报错:You need to use a Theme.AppCompat theme (or descendant)
8.
Android学习之遇到的第一个错误:java.lang.IllegalStateException: You need to use a Theme.AppCompat theme
9.
Unable to find a @SpringBootConfiguration, you need to use....
10.
SpringBoot Unable to find a @SpringBootConfiguration, you need to use
>>更多相关文章<<