Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 2.0 - Error:Execution failed for task app:compileDebugAidl

after upgrading my Android Studio 1.5 to 2.0 and my Android SDK Tools to 25.1.1 and Android SDK Build-tools 23.0.3 and gradle plugin to version 2.0.0 i get this error :

 Error:Execution failed for task ':app:compileDebugAidl'.
 > java.lang.RuntimeException: org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/home/rasool/android/adt.../sdk/build-tools/23.0.3/aidl''

enter image description here

enter image description here

enter image description here

like image 933
Russell Ghana Avatar asked May 03 '26 12:05

Russell Ghana


1 Answers

the problem was that iam running a 64-bit version of linux and changed my OS recently and i forgot to install necessary 32-bit libraries.

in Ubuntu :

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

in Fedora :

sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686

if you get this error in Ubuntu :

E: Unable to locate package lib32bz2-1.0
E: Couldn't find any package by glob 'lib32bz2-1.0'
E: Couldn't find any package by regex 'lib32bz2-1.0'

you can skip this library and use this command :

sudo apt-get install lib32z1 lib32ncurses5 lib32stdc++6
like image 75
Russell Ghana Avatar answered May 05 '26 02:05

Russell Ghana



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!