Build error - Error XA5205: Cannot find `aapt.exe`. Please install the Android SDK Build-tools...

While compiling an Android project in Xamarin Studio, I am getting an error like this - C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2,2): Error XA5205: Cannot find aapt.exe. Please install the Android SDK Build-tools package with the C:\Users\Anuraj\AppData\Local\Android\android-sdk\tools\android.bat program. (XA5205) (TestApp12)

Here is the log

Building Solution: TestApp12 (Debug)
Building: TestApp12 (Debug)
Build started 3/29/2015 7:21:37 AM.
Project "C:\Users\Anuraj\Documents\Projects\TestApp12\TestApp12\TestApp12.csproj" (Build target(s)):
Target _SetLatestTargetFrameworkVersion:
ReferenceAssemblyPaths:
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(379,2): error XA5205: Cannot find aapt.exe. Please install the Android SDK Build-tools package with the C:\Users\Anuraj\AppData\Local\Android\android-sdk\tools\android.bat program.
Done building target "_SetLatestTargetFrameworkVersion" in project "TestApp12.csproj" -- FAILED.
Done building project "TestApp12.csproj" -- FAILED.
Build FAILED.
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(379,2): error XA5205: Cannot find aapt.exe. Please install the Android SDK Build-tools package with the C:\Users\Anuraj\AppData\Local\Android\android-sdk\tools\android.bat program.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.09
---------------------- Done ----------------------
Build: 1 error, 0 warnings

I have updated the Xamarin Studio, latest Android SDK tools etc, still issues persist. Please help

Sign In or Register to comment.