Android Studio waiting for build to finish

前端 未结 17 1018
我在风中等你
我在风中等你 2020-12-12 15:26

I have a problem. When I start a new project in Android Studio and select a navigation drawer activity it happens. I don\'t have access to my activiy_main_drawer.xml

17条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-12 15:33

    Ah... I resolved it with the help on this page and a little bit more effort.

    I installed Android Studio v.3.3.1 today on my Zenbook. I was stuck with the same error "waiting for a build to finish" and Display tab was not showing up for activity_main.xml Here is what I did to resolve this error.

    Step 1. I searched for SDK tools and downloaded required SDK versions.

    Step 2. downloaded Gradle 5.2.1 and extracted the files in Program Files\Android\Android Studio\gradle

    Step 3. File>Settings>Build..>Gradle and choose the local distribution of Gradle 5.2.1

    Step 4. Go to File>Sync Project with Gradle files and allow some time to sync...

    finish() :) developing android with Kotlin

提交回复
热议问题