studio rendering problems

问题-------->

     Rendering Problems

      The following classes could not be instantiated: - android.support.v7.internal.........

解决--------->

方法1、改变android API版本

方法2、将styles.xml中

<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">

改成:

<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">

即添加一个prefix 【Base】即可

 

posted @ 2017-08-18 15:27  欧阳平  阅读(161)  评论(0编辑  收藏  举报