J juncus Member Licensed User Longtime User Aug 6, 2011 #1 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: Aug 6, 2011
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
Erel B4X founder Staff member Licensed User Longtime User Aug 6, 2011 #2 I'm not sure why it happens as the IDE looks for the files in several locations to match all the different types of SDK configurations. You can however copy aapt.exe and the lib folder which should be located in the same folder to J:\Android\android-sdk\platforms\android-8\tools and it will work fine. Upvote 0
I'm not sure why it happens as the IDE looks for the files in several locations to match all the different types of SDK configurations. You can however copy aapt.exe and the lib folder which should be located in the same folder to J:\Android\android-sdk\platforms\android-8\tools and it will work fine.
J juncus Member Licensed User Longtime User Aug 6, 2011 #3 Thanks Erel that works just fine. Upvote 0
A andrewtheart Member Licensed User Longtime User Aug 6, 2011 #4 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
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.
O oymyakon Member Licensed User Longtime User Dec 4, 2012 #5 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
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.
klaus Expert Licensed User Longtime User Dec 4, 2012 #6 On my computer the file is in this folder: C:\Android\platform-tools\aapt.exe Perhaps you need to add this folder to tell Wondows to look there for files by default, look at this post. Best regards. Upvote 0
On my computer the file is in this folder: C:\Android\platform-tools\aapt.exe Perhaps you need to add this folder to tell Wondows to look there for files by default, look at this post. Best regards.