I have faced some Windows user profile corruption problem. However I have recovered that and opened Android Studio. In Android Studio previously it stuck at Initializing. Then I have reinstalled whole Android Studio. After installation and opening my project, XML preview looks like
Tried Solution:
- Invalidate cache and restart
- Clean/Rebuild project
- Deleting cache from
C:\Users\xxxxxx\.gradle\caches\and.gradle&.ideafrom project folder - Downgrading
androidx.appcompat:appcompat:1.3.0toandroidx.appcompat:appcompat:1.2.0 - Resotre default (from Android Studio welcome page)
- Enable and Disabling
Experimental>Use new Layout Rendering Engine - Creating new project to check it is problem with engine(yes it is problem with engine not my project side)
Anyother solutions highly recomended.
Edit:
No error shown in IDE.
My Android Studio details
Android Studio 4.2.1
Build #AI-202.7660.26.42.7351085, built on May 10, 2021
Runtime version: 11.0.8+10-b944.6842174 amd64
VM: OpenJDK 64-Bit Server VM by N/A
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 8
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin
