You need to use a Theme.AppCompat theme (or descendant) with this activity
来源:互联网 发布:学编程难不难 编辑:程序博客网 时间:2024/04/28 14:26
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.test2/com.example.test2.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity
创建的activity是MainActivity extends ActionBarActivity这样的。把后面的ActionBarActivity改成Activity,然后导包,把下面报错的地方删掉运行就不报错了
0 2
- 关于“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.
- 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 解决办法
- 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.
- 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解决方法
- 蜀国的灭亡
- Python笔记---setuptools 、feedparser、pydelicious
- 经历了整整一个下午,一个下午啊,终于编出来了
- Code coverage
- 指针与数组的前世今生
- You need to use a Theme.AppCompat theme (or descendant) with this activity
- 使用IDEA+Maven+Git快速开发Java web应用
- 喜欢三国的您 不能不知道这些
- Android下get/post访问网络及webService的调用
- Spring MVC framework[3] view resolver
- Java 编程下 CyclicBarrier 中的线程等待
- JS基本类型和引用类型的区别
- G.711编码原理及代码
- Mac上的快捷键