Android Studio XML preview not showing

后端 未结 2 1690
情歌与酒
情歌与酒 2021-02-13 06:14

There is something wrong with the AppBarLayout.

UPDATE: This is a new error. The XML view preview doesn\'t show anything. The normal Design

相关标签:
2条回答
  • 2021-02-13 06:51

    I had the same issue it seems some problem with the alpha material library I downgraded the material library dependency in the build.gradle to
    implementation 'com.google.android.material:material:1.0.0'
    then invalidated the cache and restarted the studio from
    File -> Invalidate Caches / Restart...
    It worked.

    0 讨论(0)
  • 2021-02-13 06:58

    Try to rebuild and clean your Project.

    0 讨论(0)
提交回复
热议问题