When I open layout file in my new Android-Studio file and press preview tab it\'ll show a message Waiting for build to finish... for infinite time.
Try Clean and rebuild project.and Also try Invalidate caches/Restart.And this issue is also facing because of Low Ram in laptops.