Android Studio Rendering Problems : The following classes could not be found

前端 未结 7 1767
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-07 22:22

I just update Android Studio, and when I restarted it, the preview window rendering failed, and I was told that

The following classes could not be fo

7条回答
  •  时光说笑
    2020-12-07 22:37

    You have to do two things:

    • be sure to have imported right appcompat-v7 library in your project structure -> dependencies
    • change the theme in the preview window to not an AppCompat theme. Try with Holo.light or Holo.dark for example.

提交回复
热议问题