Ubuntu Cannot run program "../SDK/build-tools/xxx/aapt": erro = 2 No such file or directory

64位ubuntu Android Studio  Gradle编译时出现如下报错:

java.io.IOException: Cannot run program "/home/king/tools/Android/SDK/build-tools/23.0.3/aapt": error=2, 没有那个文件或目录

解决办法:

在64位上需要安装几个32位的兼容库

$ sudo apt-get install -y libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1

转自:http://blog.csdn.net/zjclugger/article/details/51360216

时间: 2024-11-14 00:39:08

Ubuntu Cannot run program "../SDK/build-tools/xxx/aapt": erro = 2 No such file or directory的相关文章

64位linux系统无法运行Android sdk的adb和aapt,提示No such file or directory的解决办法

参考资料: http://askubuntu.com/questions/147400/problems-with-eclipse-and-android-sdk http://serverfault.com/questions/442792/ubuntu-12-04-apt-get-install-ia32-libs-unmet-dependencies http://my.oschina.net/uoy/blog/129108 本人在64位Debian上运行Android sdk目录下的ad

SDK Build Tools revision (19.0.3) is too low for project Minimum required is 19.1.0

假设你正在使用Android Studio工具进行开发.且将版本号更新到0.6.0的时候,莫名的出现这种错误 SDK Build Tools revision (19.0.3) is too low for project . ..Minimum required is 19.1.0 到Android Sdk  Manager中更新是出现因为频闭无法更新的问题请使用例如以下操作 点击options选项  进行例如以下设置 在Android SDK Manager Setting 窗体设置HTTP

SDK Build Tools revision (19.0.3) is too low for project Min

SDK Build Tools revision (19.0.3) is too low for project Min(转) 如果你正在使用Android Studio工具进行开发,且将版本更新到0.6.0的时候,莫名的出现这样的错误 SDK Build Tools revision (19.0.3) is too low for project ...Minimum required is 19.1.0 到Android Sdk  Manager中更新是出现由于频闭无法更新的问题请使用如下操

Android Gradle插件(plugin)版本(version)与Gradle、SDK Build Tools版本关系

具体关系如下图: 比如,Android Studio 2.0发布,其中有个新功能“Instant Run”,需要Android Gradle Plugin版本2.0.0以上,那么我们项目的.gradle文件就需要以下配置 buildscript { dependencies { classpath 'com.android.tools.build:gradle:2.0.0' } } Android Gradle Plugin 2.0.0对应所需的Gradle版本为“2.10 or higher”

CDT 错误 Cannot run program "gcc"

Eclipse+CDT 编辑C/C++程序出错误: 出现编译错误: **** Rebuild of configuration Debug for project example **** **** Internal Builder is used for build               ****gcc -O0 -g3 -Wall -c -fmessage-length=0 -osrc\demo.o ..\src\demo.cInternal Builder: Cannot run pr

I finally made sense of front end build tools. You can, too.

来源于:https://medium.freecodecamp.com/making-sense-of-front-end-build-tools-3a1b3a87043b#.nvnd2vsd8 Front end build tools can be confusing even to experienced developers like me. The solution is to understand how they work - and work together - on a co

错误 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory

转 Linux下Android SDK中adb找不到的解决方案 2013年04月22日 20:41:48 阅读数:7621 在Linux平台下配置Android SDK开发环境过程中,Eclipse会提示错误如下: Unexpected exception 'Cannot run program "/home/ubuntu/adt/sdk/platform-tools/adb": error=2 No such file or directory' while attempting t

错 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory

为linux平台搭建android开发环境的人,您可能会遇到问题,如下面有: 64位置linux安装64位置eclipse和64位置jdk开场后eclipse错误后 ""Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such file or directory",这是由于android-sdk得adb仅仅有32位版本号,所以得安装32位得编译软件. 解决的

cocos2dx 编译错误 BUILD FAILEDG:\android\SDK\android-sdk-windows\tools\ant\build.xml:645: The following

BUILD FAILEDG:\android\SDK\android-sdk-windows\tools\ant\build.xml:645: The following erroroccurred while executing this line:G:\android\SDK\android-sdk-windows\tools\ant\build.xml:683: null returned: 1 解决办法: rd bin /S /Q cocos2dx 编译错误 BUILD FAILEDG: