Missing file aapt.exe, moved location

juncus

Member
Licensed User
Longtime User
I recently reinstalled Android SDK in a location without spaces as this was causing problems. A side effect of this is the inability to compile due to aapt.exe missing.

The error is;
Compiling code. 0.33
Generating R file. Error
Cannot find: J:\Android\android-sdk\platforms\android-8\tools\aapt.exe
Please configure paths (Tools - Configure Paths).

The path for tool exists as;

J:\Android\android-sdk\tools

and aapt.exe exists but in a new location;

J:\Android\android-sdk\platform-tools

There is no J:\Android\android-sdk\platforms\android-8\tools folder in my installation!
How can I resolve this, I could just move or copy files but this seems to be a new configuration for the files and folders and moving seems a little hasty.

Thanks
 
Last edited:

juncus

Member
Licensed User
Longtime User
Thanks Erel that works just fine.
 
Upvote 0

andrewtheart

Member
Licensed User
Longtime User
That worked for me as well, but this really needs to be fixed. It looks like Google just changed some stuff in their SDK.

This is definitely an issue in android-sdk_r12-windows.
 
Upvote 0

oymyakon

Member
Licensed User
Longtime User
aapt.exe

Hi,i am still having problems with B4A finding aapt.
i am running windows 64bit and have installed java and android i think correctly but i still cannot get b4a to find aapt. Can you confirm where B4a searches for aapt. i have tried altering the configure paths to different places with no joy.

Cheers
Paul.
 
Upvote 0
Top