title: How can I fix the "design editor is not available until a successful build" in android studio
body: <p>How can I fix the <code>Design editor is not unavailable until a successful build</code> error in android studio as seen in this image below
  <img src="https://i.stack.imgur.com/8G8ar.png" alt="this image">.</p>