Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compiling error with Android Studio

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?

like image 807
lfbrandao Avatar asked Sep 25 '15 22:09

lfbrandao


1 Answers

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]

like image 180
HsnVahedi Avatar answered Oct 01 '22 15:10

HsnVahedi