报错如下,虽然不影响运行和编译

Android Studio预览报错Failed to find style 'coordinatorLayoutStyle' in current theme

解决办法在style.xml文件中 加入

<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="coordinatorLayoutStyle">@style/Widget.Support.CoordinatorLayout</item>
    </style>

主要是

 <item name="coordinatorLayoutStyle">@style/Widget.Support.CoordinatorLayout</item> 

问题解决

大概率3.2+版本可以自动解决此问题

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
  • 2021-11-07
  • 2021-10-17
  • 2021-11-18
  • 2021-11-11
猜你喜欢
  • 2022-01-10
  • 2021-11-14
  • 2021-12-27
  • 2021-09-16
  • 2021-12-29
  • 2022-01-14
相关资源
相似解决方案