“aapt” IOException error=2, No such file or directory" why can't I build my gradle on jenkins?

后端 未结 4 400
悲哀的现实
悲哀的现实 2020-12-04 06:57

I have a little problem.

The Problem:
I am trying to build a gradle of my Android Project on Jenkins and now I am standing on this problem i can

相关标签:
4条回答
  • 2020-12-04 07:41

    I installed ndk in the sdk manager and it worked.

    0 讨论(0)
  • 2020-12-04 07:43

    For Arch 64 users, you must first enable multilib for pacman, then install the 32-bit packages:

    sudo pacman -Syv lib32-libstdc++5 lib32-zlib
    
    0 讨论(0)
  • 2020-12-04 07:44

    I had the following similar error on Ubuntu 13.10:

    Cannot run program "/usr/local/android-sdk-linux/build-tools/19.0.3/aapt": error=2, No such file or directory

    And this answer fixed it for me:

    To get aapt working (this fixed my issues with the avd as well) just install these two packages:

    sudo apt-get install lib32stdc++6 lib32z1
    
    0 讨论(0)
  • 2020-12-04 07:52

    For Fedora users:

    sudo dnf install zlib.i686 libstdc++.i686
    
    0 讨论(0)
提交回复
热议问题