Compiling error with Android Studio

孤者浪人 提交于 2019-12-10 13:13:23

问题


I'm trying compile a android application with Android Studio in linux. But I'm get the following errors:

Error:org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/home/user/Android/Sdk/build-tools/19.1.0/aapt'' :app:mergeDebugResources FAILED

Error:Execution failed for task ':app:mergeDebugResources'.

Error: org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/home/user/Android/Sdk/build-tools/19.1.0/aapt''

How to solve this problem?


回答1:


I guess you are using a 64-bit machine. According to:

https://developer.android.com/studio/install.html

You have to install [libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386]



来源:https://stackoverflow.com/questions/32791525/compiling-error-with-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!