«

Android Studio 无法在可视化页面预览布局文件

时间:2024-3-2 17:30     作者:韩俊     分类: Android



java.lang.ClassNotFoundException: android.support.v4.view.ViewPropertyAnimatorListener

解决办法:

把你的style文件中theme改一下

在Theme.AppCompat.Light.DarkActionBar前面加上Base. 如下:

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




标签: android

热门推荐