After updating 'Android studio' to version 3.4 , design editor can't display UI and displays this message as you can see in image below.
Design editor is unavailable until a successful build
In my case, updating buildToolsVersion
to latest version fixed my problem.
P.S: cache invalidating and restarting, clean and rebuild, and other typical solutions for android studio not worked for me.