I checked other questions, but they all are about blank screen(white screen or theme). But in my case, it shows literally nothing.
I tried ‘Force Refresh Layout’. But It didn’t work. And only reboot can solve problem. just closing and opening Android Studio doesn’t solve this problem(I even tried with removing cache and restart.)
Which one of Android Studio is related to Design View? I don’t want to reboot and even though I reboot, this problem keep occurring, So, I need some better way to solve this problem.
2
Answers
Try this solution and see if any one actually works
change the dependencies in your gradle module file to something like this Specially and sync it implementation’androidx.constraintlayout:constraintlayout:2.1.1′
Invalidate Cache/restart
File>Invalidate Cache/restart
Disable and Enable android support apk
File>Settings>plugins>Under Installed section -> disable and enable and see if it works
You will be able to see if you use any Theme.AppCompat theme to your constraint layout. For example