加入收藏 | 设为首页 | 会员中心 | 我要投稿 台州站长网 (https://www.0576zz.cn/)- 边缘计算、中间件、数据处理、数据分析、智能存储!
当前位置: 首页 > 综合聚焦 > Ubuntu > 正文

当我尝试使用UBUNTU 14.04上的Android Studio中的Gradle进行编译时,继续收到此错误

发布时间:2020-12-05 01:07:26 所属栏目:Ubuntu 来源:互联网
导读:Error:org.gradle.process.internal.ExecException: A problem occurred starting process command /home/codywang/Documents/android-sdk-linux/build-tools/21.1.2/aapt :app:mergeDebugResources FAILED Erro

Error:org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/home/codywang/Documents/android-sdk-linux/build-tools/21.1.2/aapt'' :app:mergeDebugResources FAILED Error:Execution failed for task ':app:mergeDebugResources'.
Error: org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/home/codywang/Documents/android-sdk-linux/build-tools/21.1.2/aapt''

当我尝试从Android Studio 1.1在Ubuntu 14.04中编译时,我不断收到这些错误.

我在互联网上做了一些研究,发现这可能是由我的64位Ubuntu引起的,它与32位android-sdk不兼容

所以我尝试了以下命令来安装i386软件包.

$sudo dpkg --add-architecture i386
$sudo apt-get update
$sudo apt-get install libc6:i386 libstdc++6:i386 lib32z1 libsdl1.2debian:i386

我已经安装了所有这些库,但仍然遇到了同样的错误.
有关如何解决这个问题的任何想法?谢谢!

将directorty更改为build-tools / 21.1.2 /目录并运行以下命令
chmod +x aidl dexdump bcc_compat dx llvm-rs-cc mainDexClasses zipalign arm-linux-androideabi-ld i686-linux-android-ld mipsel-linux-android-ld

(编辑:台州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读