不知道是不是android studio安装不对的问题,每次新建项目都有这个问题。

临时解决方法是:

打开 styles.xml 在Theme.AppCompat.Light.DarkActionBar前面加上Base

<!-- Base application theme. -->
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
</style>

 

posted on 2015-08-06 17:09  赵保龙  阅读(1449)  评论(0编辑  收藏  举报