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

后端 未结 11 1025
眼角桃花
眼角桃花 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:46

    If you are running on a Linux x64 machine you probably miss some required libraries. The offical sdk guide states:

    Required libraries for 64-bit machines:

    If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command:

    sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 lib32bz2-1.0

    If you are running 64-bit Fedora, the command is:

    sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686

    of course don't forget to

    sudo apt-get update
    

    first.

提交回复
热议问题