I'm using Android Studio Dolphin | 2021.3.1 & Electric Eel | 2022.1.1
After updating Android studio chipmunk | 2021.2.1 to Android studio Dolphin | 2021.3.1 my all project design preview and layout preview not showing. If anyone solved this issue please help me.
I have tried all possible ways but didn't find any solution for this. Below are points that I have tried
- Invalidate caches.
- Restart IDE.
- Repair IDE.
- Update Gradle plugin version to 7.3.0 from setting project structure (No working)
Check the Below screenshot so everyone gets an idea of what I have issue faced.
Thanks in advance.
For me, some layouts are working fine but in some layouts, I am getting the below error which used to work in earlier versions of Android Studio.
The same issue I faced in Android (Electric Eel | 2022.1.1). Still, this Issue continues.















After alot of searching and testing, I upgraded my gradle version and its work for me.
Just goto
File -> Project Structureor pressCtrl + Alt + Shift + Sand thenupgrate the gradle versionas shown in the image below and theninvalidate cache and restartthe Android Studio and its workingAs shown in the image I upgrade my gradle.