报错说明:所使用的 theme 和当前 Activity 不匹配,应该使用Theme.AppCompat的主题

查看Activity,发现继承自AppCompatActivity,修改主题,或者修改继承的类

You need to use a Theme.AppCompat theme相关推荐

  1. You need to use a Theme.AppCompat theme (or descendant) with this activity解决方法

    You need to use a Theme.AppCompat theme (or descendant) with this activity解决方法 参考文章: (1)You need to ...

  2. 【错误记录】Android 应用运行报错 ( You need to use a Theme.AppCompat theme (or descendant) with this activity. )

    文章目录 一.报错信息 二.解决方案 一.报错信息 运行 Android 应用时 , 报错 ; 报错信息如下 : 2021-08-04 21:04:12.067 26338-26338/com.exa ...

  3. 关于新版SDK报错You need to use a Theme.AppCompat theme的两种解决办法 - 转

    android的一个小问题: Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme ( ...

  4. 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)  ...

  5. Android之You need to use a Theme.AppCompat theme (or descendant) with this activity.

    1 问题 点击activity的时候,崩溃日志如下 You need to use a Theme.AppCompat theme (or descendant) with this activity ...

  6. Android中SlidingDrawer开发报错You need to use a Theme.AppCompat theme (or descendant) with this activity.

    Android抽屉开发报错You need to use a Theme.AppCompat theme (or descendant) with this activity. 方法1: 创建的act ...

  7. java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this a

    微信支付它给的WXPayEntryActivity主题改错了 java.lang.RuntimeException: Unable to start activity ComponentInfo{包名 ...

  8. You need to use a Theme.AppCompat theme (or descendant) with this activity. 完美解决

    先看一条错误信息: Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or de ...

  9. 【小坑】Android 实现对话框会报错 (You need to use a Theme.AppCompat theme (or descendant) with this activity)

    效果演示 有的时候,我们想Activity以小窗口的形式展示. 其实只需要添加上这么一行就可以了. android:theme="@style/Theme.AppCompat.Light.D ...

  10. Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descend

    android 开发中碰到的错误,之前开发也有碰到,今天记录下 在我们新创建的项目中或者有修改相关的配置文件,最容易出现这个问题,他的意思很简单就是你当前使用的皮肤theme不是我需要的,从错误可以看 ...

最新文章

  1. numpy使用np.set_printoptions函数抑制numpy数组输出结果使用科学计数法进行显示(suppressing scientific notation in numpy array)
  2. matlab中基本函数的用法
  3. 实现物体绕不同轴旋转,并可以外部调用的函数
  4. 关于PChar(@string)的疑惑
  5. leetcode 242. 有效的字母异位词
  6. c++界面开发_QT开发(三)——GUI原理分析
  7. 【转】ASP.NET MVC 3 Service Location, Part 5: IDependencyResolver
  8. 如何用 GitHub Actions 写出高质量的 Python代码?
  9. opencv基础--图像模板匹配
  10. 跨过Nginx上基于uWSGI部署Django项目的坑
  11. PLECS专家的教诲
  12. android 新浪微博分享提示签名错误,Android ShareSDK 微博分享 (8995)app auth fail for appKeysignpackage 解决...
  13. 公摊面积用计算机怎么计算,公摊面积计算(公摊面积计算器)
  14. import * as用法
  15. Euclid辗转相除法c语言,euclid辗转相除法求greatest common divisor
  16. ssm基于JavaEE的电脑销售管理系统设计与实现 毕业设计-附源码021143
  17. Java画布:直线三角形,矩形,椭圆等
  18. 为了梦想而奋斗的人值得敬佩
  19. 2023年JAVA JDK8的安装与配置(附JAVA8安装包)
  20. Mac 下编译 libmono.so 和 DLL 加密详解

热门文章

  1. python中的对象有哪些_python中的对象
  2. 绘制14段米字数码管显示,显示数字和英文字母。
  3. 教学管理系统java_Java 实现简易教务管理系统的代码
  4. CRC码计算及校验原理计算
  5. C语言程序设计谭浩强版 五
  6. Chaff Bugs: Deterring Attackers by Making Software Buggier
  7. HeadFirstJava——3_变量
  8. 内核各个版本下载地址
  9. 加密php大马,webshell加密-加密你的大马
  10. X-Scan介绍和使用方法