Android Studio编译错误 [英] Compiling error with Android Studio

查看:118
本文介绍了Android Studio编译错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Linux中的Android Studio编译android应用程序.但是我遇到了以下错误:

Error:org.gradle.process.internal.ExecException:启动进程'command'/home/user/Android/Sdk/build-tools/19.1.0/aapt'时出现问题:app:mergeDebugResources失败

错误:任务':app:mergeDebugResources'的执行失败.

错误:org.gradle.process.internal.ExecException:启动进程'command'/home/user/Android/Sdk/build-tools/19.1.0/aapt'时出现问题

如何解决这个问题?

解决方案

我猜您正在使用64位计算机.根据:

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

您必须安装[libc6:i386 libncurses5:i386 libstdc ++ 6:i386 lib32z1 libbz2-1.0:i386]

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?

解决方案

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]

这篇关于Android Studio编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆