Problem Solved: No such file or directory AAPT err(672190433)

Saya ingin membuild file .apk menggunakan gradle di CentOS tetapi mengalami kendala. Eksekusi ./gradlew assembleRelease yang biasanya mulus, kali ini menemukan pesanĀ  error seperti ini:

cannot open shared object file: 
No such file or directory AAPT err(672190433): build-tools/22.0.1/aapt: 
error while loading shared libraries: libz.so.1

ini solusinya:

chmod +x */build-tools/22.0.1/aapt

Path build-toolsnya harap disesuaikan

Leave a Reply

Your email address will not be published. Required fields are marked *