How can I fix “Design editor is unavailable until a successful build” error?

前端 未结 17 1401
刺人心
刺人心 2020-11-30 01:31

I started to learn Android Studio from yesterday. I try to echo out simple \"Hello World\":




        
相关标签:
17条回答
  • 2020-11-30 02:10

    I faced same issue even after rebuilding my project multiple times successfully. I closed the project and re-opened, issue resolved.

    0 讨论(0)
  • 2020-11-30 02:12

    Go online before starting android studio. Then go file->New project Follow onscreen steps. Then wait It will download the necessary files over internet. And that should fix it.

    0 讨论(0)
  • 2020-11-30 02:15

    Quit the Android Studio ( not close the project Quit the Android Studio) then open the project and go to Android Studio > Build > Clean Project

    Then Android Studio > File > Sync Project with Gradles Files as the pic below

    If your problem still exists then click the Install build tool as the pic below and then Android Studio > File > Sync Project with Gradles Files

    0 讨论(0)
  • 2020-11-30 02:16

    I had tried to change SDK Version:

    Check below image: In that I changed 27 from Android P

    0 讨论(0)
  • 2020-11-30 02:18

    Do this

    Build -> Rebuild Project

    0 讨论(0)
提交回复
热议问题