首页 > 移动平台 > 详细

android studio 新建的项目无法绘制界面

时间:2015-05-13 12:01:13      阅读:451      评论:0      收藏:0      [点我收藏+]

提示是

android.support.v7.internal.widget.ActionBarOverlayLayout could not be instantiated

解决方法:res/values/styles.xml 更改

<resources>

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

</resources>

1 <resources>
2 
3     <!-- Base application theme. -->
4     <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
5         <!-- Customize your theme here. -->
6     </style>
7 
8 </resources>

 

android studio 新建的项目无法绘制界面

原文:http://www.cnblogs.com/tjsudys/p/4499787.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!