Android Hello-World compile error: Intellij cannot find aapt

后端 未结 13 2004
感情败类
感情败类 2020-12-02 09:45

I\'m trying to get set up with an Android development environment using IntelliJ in Ubuntu 12.04. I create an Android Application Module, but when I try to build, I get the

13条回答
  •  甜味超标
    2020-12-02 09:59

    The same problem occurred for me with android-studio. But, this probably applies to the IntelliJ IDE as well.

    When checking the file location I saw, however, that aapt was in the expected location.

    In my case the issue was that I was running a 64-bit Ubuntu linux system which cannot execute the 32-bit aapt executable.

    Installing 32-bit compatibility libraries solved this issue in my case: sudo apt-get install ia32-libs

提交回复
热议问题