rleiman Well-Known Member Licensed User Longtime User Sep 16, 2015 #1 Hi everyone, I installed Windows 10 and reinstalled B4A but I get an error telling me that aapt.exe can't be found when I try to compile an app. I checked the folder: C:\android\platform-tools and that file was indeed not there. I have these in the paths configuration dialogue: For javac.exe: C:\Program Files\Java\jdk1.8.0_60\bin\javac.exe For android.jar: C:\android\platforms\android-19\android.jar Where do I get this file so I can copy it into C:\android\platform-tools? Thanks. Last edited: Sep 16, 2015
Hi everyone, I installed Windows 10 and reinstalled B4A but I get an error telling me that aapt.exe can't be found when I try to compile an app. I checked the folder: C:\android\platform-tools and that file was indeed not there. I have these in the paths configuration dialogue: For javac.exe: C:\Program Files\Java\jdk1.8.0_60\bin\javac.exe For android.jar: C:\android\platforms\android-19\android.jar Where do I get this file so I can copy it into C:\android\platform-tools? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Sep 16, 2015 #2 Install the latest version of Android SDK. Upvote 0
rleiman Well-Known Member Licensed User Longtime User Sep 16, 2015 #3 Hi Erel, I found a post from 2012 with someone having the same problem where you suggested to copy the files from the build-tools folder into the platform-tools folder. Since that file was not in my system, I went back to https://www.b4x.com/android/forum/threads/installing-basic4android-and-android-sdk.6477/ but found out that post was outdated. I accidentally skipped over your link on that post to https://www.b4x.com/b4a.html and it showed I also needed to install the following tools: SDK Tools SDK Platform Tools SDK Build Tools My installation was missing the Build Tools which was where aapt.exe was in. Now I can compile the apps. Upvote 0
Hi Erel, I found a post from 2012 with someone having the same problem where you suggested to copy the files from the build-tools folder into the platform-tools folder. Since that file was not in my system, I went back to https://www.b4x.com/android/forum/threads/installing-basic4android-and-android-sdk.6477/ but found out that post was outdated. I accidentally skipped over your link on that post to https://www.b4x.com/b4a.html and it showed I also needed to install the following tools: SDK Tools SDK Platform Tools SDK Build Tools My installation was missing the Build Tools which was where aapt.exe was in. Now I can compile the apps.