Here, I am gonna explore coding, Debugging, Error fixing, My articles and other technical posts. So stay tuned.

Design editor is unavailable Until a successful build. Error Fix 100%working.

Design editor is unavailable Until a successful build. Error Fix 100%working.

When you will create a new Project in AndroidStudio. This error comes in the design view (activity_main.xml) so let me tell you how to fix it with useing step by step images.

Error Image


So lets start the process:
Create a new Project in AndroidStudio.
Step 1
  • Click PROJECT Tab left side of the AndroidStudio.
  • Expand the folder Gradle Scriptsas Shown in the Image below And double click build.gradle(Module:app).




Step 2
  • Scroll all way Down in the build.gradle(Module:app). and Remove these Lines as shown in the image below.



Step 3
  • Then Synchronize your project again by clicking the button Sync Now.



Wait until the Gradle is building.After some time you will see the XML layout Runs properly.




Thank you Guys for visiting here. if you guys have any other question then comment and please dont forget to follow us for more posts like this.

So this is how i solve this problem "Design editor is unavailable Until a successful build"