aapt not found under the right path
Solution 1
It seems that cleaning this specific project doesn't work but cleaning all open project does the trick.
I leave this question if someone else get this issue.
Solution 2
I found that this could be fixed by installing the ia32-libs package as the Android sdk requires 32-bit libraries.
Solution 3
I solved this problem by adding a / after my android-sdk path in...
Eclipse->preferences->android->SDK Location:
Solution 4
The aapt location has been changed recently. You can find it under:
/path/to/adt/sdk/buid-tools/android-[version]/aapt
Solution 5
In the terminal execute this command :
chmod a+x platform-tools/aapt
it solved the problem for me
(in 64bit you have to install ia32-libs with this command : sudo apt-get install ia32-libs)
WarrenFaith
Updated on June 13, 2020Comments
-
WarrenFaith about 4 years
I just updated ADT, than the SDK and now I have in only one project the issue, that my aapt isn't found
Error executing aapt. Please check aapt is present at /opt/android/platform-tools/aapt
The path is correct, I checked twice and more times.
-rwxrwxrwx 1 martin martin 3,5M 2010-12-08 10:41 /opt/android/platform-tools/aapt
I can start aapt via console, the permissions are 777, I restarted eclipse, closed/reopened the project, restarted adb and finally my Ubuntu.
Some ideas why this might happen only at one project?
-
arinte over 13 yearsVery strange, but that did it for me too. Seems google needs to do some work on the plugin.
-
WarrenFaith over 13 yearsI updated both but couldn't get it to work without the specific clean up of all projects
-
Computerish over 13 yearsWorked perfectly! Thanks! Seems like there have been more issues since the update to the latest SDK.
-
Serapth over 13 yearsOdd, exact same Behavior for me. Updated to 8.0.1 ( win x64 ) and got aapt error, did a eclipse -clean and nothing, but doing a project->clean... fixed it. Thanks! Don't think I would have found this one without your suggestion.
-
hoserdude about 13 yearsSame issue on Mac Snow Leopard, clean of all projects did the trick.
-
mrhassell about 13 yearsResolve this by opening the Android SDK and AVD manager. Have a look if anything has a broken link icon in the installed package list and regardless, to clear the errors, update all and check under available packages for everything from the Android repository and take all the google third party add-ons.
-
aiham almost 13 yearsWouldn't have guessed that using 64bit was the problem if I hadn't seen your comment. Thanks.
-
Matt over 12 yearsThank you. I had to install the ia32-libs and then run a clean on the project.
-
dm03514 over 12 yearsi was hoping it was this simple!! ty.
-
Sandip Armal Patil about 12 yearsyou need to write your answer in understandable format. try to avoiding one line Answer and be formatted.
-
Azhar Khorasany about 11 yearsAnd where do we have to type this?
-
Vladimir Ivanov about 9 yearsThank you, my case. But please check the name of the library, its 'lib32z1'
-
smac89 about 8 years@AzharKhorasany
chmod +x /location/of/sdk/build-tools/your sdk version/aapt