Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

aapt not found under the right path

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?

like image 675
WarrenFaith Avatar asked Dec 08 '10 10:12

WarrenFaith


People also ask

Where is AAPT located?

Where it is. In the SDK, aapt is found in the $ANDROID_HOME/platforms/$SDK/tools/ directory of the SDK (where $SDK is the name of some Android version, like android-2.1).

What is AAPT command?

aapt stands for Android Asset Packaging Tool and is included in the tools/ directory of the SDK. This tool allows you to view, create, and update Zip-compatible archives (zip, jar, apk). It can also compile resources into binary assets.

What is AAPT Android studio?

AAPT2 (Android Asset Packaging Tool) is a build tool that Android Studio and Android Gradle Plugin use to compile and package your app's resources. AAPT2 parses, indexes, and compiles the resources into a binary format that is optimized for the Android platform.


1 Answers

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.

like image 162
WarrenFaith Avatar answered Sep 20 '22 02:09

WarrenFaith