当我尝试使用UBUNTU 14.04上的Android Studio中的Gradle进行编译时,继续收到此错误
发布时间:2020-12-28 05:22:56 所属栏目: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 我已经安装了所有这些库,但仍然遇到了同样的错误. chmod +x aidl dexdump bcc_compat dx llvm-rs-cc mainDexClasses zipalign arm-linux-androideabi-ld i686-linux-android-ld mipsel-linux-android-ld (编辑:吉安站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- Ubuntu环境下的nwjs安装及使用教程
- 干货!Discord在Ubuntu中的安装方法
- 深度学习主机环境配置: Ubuntu16.04 + GeForce G
- ubuntu apt-get dpkg应用中的一些问题及解决方法
- ubuntu14.04安装配置jdk1.8.0_45
- 在ubuntu上安装neo4j图形数据库(3.2.0 Community
- ubuntu下fastboot找不到devices
- Ubuntu-**-amd64.iso 与 Ubuntu-**-i386.iso不同
- ubuntu用wifi连接android调试程序的步骤
- Ubuntu16.04 LTS 下安装 Android Studio 2.2.2 的
热点阅读
