Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android aapt can not be found on Mac

I am getting the following error when trying to compile my android project in IntelliJ (v11.1) on MacOSX.


I/O error: Cannot run program "/%PATH_TO_SDK%/android-sdk-macosx/platforms
/android-16/tools/aapt": error=2, No such file or directory


Some places say it is saying I might be using a 64 bit version of the libraries when I need 32 bit but everyone experiencing that problem is using Ubuntu so the solutions I have found are only suited to that.

The weird thing is, it worked this morning when I only had android-16 installed, but after I downloaded the other versions it stopped.

Any help would be appreciated. Can provide more info if needed.

like image 928
Blue42 Avatar asked Jul 04 '12 13:07

Blue42


People also ask

Where is AAPT located?

Once you have downloaded the SDK Build Tools, you can find AAPT2 located in android_sdk /build-tools/ version / . Because a newer revision of the Android SDK Build Tools is not released very often, the version of AAPT2 included in your SDK Build Tools might not be the latest.

How do I find Android SDK version on Mac?

Navigate to “Appearance & Behavior” > “System Settings” > “Android SDK” and now you can see the SDK versions that were installed in the “API Level” and “Name” columns (focus on “API Level”).

Can Android Studio be installed on Mac?

To install Android Studio on your Mac, proceed as follows: Launch the Android Studio DMG file. Drag and drop Android Studio into the Applications folder, then launch Android Studio. Select whether you want to import previous Android Studio settings, then click OK.

Where is Android Studio installed Mac?

Installation on Mac OS X The Android Studio package will then be installed into the Applications folder of the system, a process which will typically take a few minutes to complete.


1 Answers

aapt location has been changed and it can be found at

/path/to/adt/sdk/buid-tools/android-[version]/aapt

credits to rafalmanka

more info: aapt not found under the right path

like image 75
Jeevan Avatar answered Oct 20 '22 18:10

Jeevan