Android studio design editor is unavailable until

2020-07-13 09:00发布

问题:

what is the actual root cause of this issue? I already sync with gradle files but eventually failed.

回答1:

Just sync your project with gradles. File --> Sync Project with Gradle Files



回答2:

  1. Build -> Clean Project

  2. Build -> Rebuild Project

  3. File -> Sync project with gradle files . If not worked then try

    File -> Invalidate Caches / Restart .

It's work for me !!!



回答3:

That could be fixed in one or two steps, depending on how nice is Android Studio today:

  1. Try to sync your project with gradle files:

  1. If that doesn't work, invalidate Android Studio caches and restart. That should fix the problem:

The reason behind the first solution not working could be related on gradle cached dependencies problems, but who knows