Android Studio fails to build new project, timed out while wating for slave aapt process

后端 未结 11 1053
眼角桃花
眼角桃花 2020-11-27 15:21

I\'ve installed Android Studio 1.2, and created a new project. When I attempt to build, it hangs. This is in the Gradle Console, along with about 20 other copies, with diffe

11条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-27 15:55

    I had this problem and what was missing were a library to be installed on the SDK. Just installing the correct library immediately solved the problem. In my case was the Android Support Library, as I was creating a navigation drawer. The errors shown in the gradle console didn't give me a clue for the solution, and didn't helped me at all. Click on SDK manager, and click on the tab SDK Tools, check "Android Support Library" and click apply.

提交回复
热议问题