[英]Compile Android project on linux, cannot find aapt
Although the file aapt
is absolutely at its location, I still get this error when trying to compile my project: 尽管文件
aapt
绝对位于其位置,但是在尝试编译我的项目时仍然出现此错误:
|=> //apps/myapp:debug_keystore... 0.0s (checking local cache)
|=> //apps/myapp:app#aapt_package... 0.0s (checking local cache)
java.io.IOException: Cannot run program "/home/adminuser/android-sdk-linux/build-tools/23.0.1/aapt" (in directory "/home/adminuser/my-project"): error=2, No such file or directory
Could be a problem of running the android sdk on a 64 bit linux machine without required 32 bit libraries. 可能是在没有32位库的情况下在64位linux机器上运行android sdk的问题。 See https://stackoverflow.com/a/10473415/1309964 for a actual list.
有关实际列表,请参见https://stackoverflow.com/a/10473415/1309964 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.