You need to use a Theme.AppCompat theme (or descendant) with this activity解决方法
来源:互联网 发布:什么样的域名有价值 编辑:程序博客网 时间:2024/04/28 00:49
报错如下:
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
解决方法:
创建的activity是MainActivity extends ActionBarActivity这样的。把后面的ActionBarActivity改成Activity,然后导包,把下面报错的地方删掉运行就不报错了。。。
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
解决方法:
创建的activity是MainActivity extends ActionBarActivity这样的。把后面的ActionBarActivity改成Activity,然后导包,把下面报错的地方删掉运行就不报错了。。。
1 0
- 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解决方法
- 【Android】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解决方法
- Android Studio 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解决方法
- 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解决方法
- 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解决方法
- 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解决方法
- 使用ActionBar,调整Theme时遇到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”错误
- Android开发~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
- 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
- AsyncTask源码分析
- srm 310 div2 1000(BIT基础, 二分)
- 自定义组合view (二)
- linux shell 中"2>&1"含义
- OCR字符识别(二) 数学公式中箭头与字母的拆分
- You need to use a Theme.AppCompat theme (or descendant) with this activity解决方法
- ...誉天Cisco/Linux/Oracle认证+IT系统运维
- android 屏幕保持唤醒 不锁屏 android.permission.WAKE_LOCK
- Java单例模式深入详解
- Cordys Schema Fragment 的 使用
- Android性能优化典范
- OC中ARC的实现机理
- UI 事件处理UITouch
- {转}python之序列化和压缩