Android Studio Layout preview not showing design

前端 未结 4 1017
悲哀的现实
悲哀的现实 2021-01-17 01:38

I am currently working on a project and everything was fine. Today, while I opened android studio, the design/layout preview showing white screen only. (Like the picture)

4条回答
  •  深忆病人
    2021-01-17 02:05

    I don't know what was wrong, but below steps solved my problem:

    1. Clear caches folder from C:/Users//.grade/caches
    2. Clear caches folder from C:/Users//.AndroidStuido3.x/system/caches
    3. Restart Android Studio
    4. Clean build project

    After hours of experimenting and going through lots of solutions, this was the one that actually worked.

    Hope anyone in the future faces this problem will find this helpful.

提交回复
热议问题