简体   繁体   中英

Preview is not showing in android studio version 3.2

I am getting this error messages after i update the studio and modify the design gradle version 28.0.0.

I don't know what is wrong. 在此输入图像描述

Help will be appreciated. Thanks

This is a issue that occurs time to time. Here's how you fix it:-

  1. Clean Project (Build->Clean Project)
  2. Invalidate and restart (File-> Invalidate Caches / Restart)
  3. After restarting sync the project manually by clicking on the sync button 左起第三个按钮

Third button from the left

First of all check your XML is there any error resolve that.

then

1.Build-> Clean Project. 2.Build-> Rebuild Project. 3. After that go to file menu -> Invalidate Caches/Restart. 4. File -> Sync Project with Gradle files.

Resolve the errors then try:

  • Build-Rebuild Project
  • Build-Clean Project
  • File-Sync Project with Gradle files (sync over the internet).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM