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

前端 未结 17 1403
刺人心
刺人心 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:00

    In my case, the Windows Firewall was blocking Android Studio (i.e. java.exe from Android Studio's jre/bin folder) from connecting to sites and downloading data. After Windows asked me if I wanted to allow the app through the firewall, I had to do a manual sync File -> Sync project with gradle files. After that, things were still disfunctional, a manual download of an SDK version 28 was necessary from Tools -> SDK Manager.

提交回复
热议问题