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

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

    I had the same problem with CentOS 6.5. Before this error, I found the cause of the error, as follows.

    AAPT err(Facade for 1129807373): xxx/aapt: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by xxx/lib64/libc++.so)
    

    libc.so.6: version `GLIBC_2.14' not found” . The highest version of CentOS 6.5 is 2.12, and we need to upgrade to 2.14.

    Display the installed glibc version:

    # rpm -qa | grep glibc
    

    To download the corresponding RPM package. -> ftp.redsleeve.org/pub/steam/

    Install the RPM package as follows:

    # rpm -Uvh glibc-2.15-60.el6.x86_64.rpm glibc-common-2.15-60.el6.x86_64.rpm glibc-devel-2.15-60.el6.x86_64.rpm glibc-headers-2.15-60.el6.x86_64.rpm --nodeps --force
    

提交回复
热议问题