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.
Cleaning and rebuilding my project solved the issue.