Bug 21366 - Android build fails with Cannot find `aapt.exe`
Summary: Android build fails with Cannot find `aapt.exe`
Status: RESOLVED DUPLICATE of bug 21348
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 4.12.4
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2014-07-16 09:45 UTC by Pat Gulotta
Modified: 2014-07-16 20:42 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Log files (5.73 KB, application/x-zip-compressed)
2014-07-16 09:46 UTC, Pat Gulotta
Details
My About Xamarin (1.01 KB, text/plain)
2014-07-16 10:59 UTC, Pat Gulotta
Details
Android SDK files listing (116.73 KB, image/png)
2014-07-16 11:00 UTC, Pat Gulotta
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 21348

Description Pat Gulotta 2014-07-16 09:45:21 UTC
Description of Problem:
After updating Xamarin for Android and the Android SDK, no Android will build either in Xamarin Studio or in VS.

The error message returned by the compiler is:

error XA5205: Cannot find `aapt.exe`

My log files are attached.
Comment 1 Pat Gulotta 2014-07-16 09:46:09 UTC
Created attachment 7387 [details]
Log files
Comment 2 Prashant manu 2014-07-16 10:45:10 UTC
We have tried and not able to reproduce this issue. Could you please provide us the Build version information for the same?
Screencast: http://screencast.com/t/7cODTXepxY
Screencast(SDK): http://screencast.com/t/LAUOerCW8vm

Environment Info:
Xamarin Studio
Version 5.1.4 (build 0)
Installation UUID: 9021cab7-54cb-4099-bb6d-b40439903e85
Runtime:
	Microsoft .NET 4.0.30319.18408
	GTK+ 2.24.22 (MS-Windows theme)
	GTK# 2.12.25

Xamarin.Android
Version: 4.12.6 (Enterprise Edition)
Android SDK: E:\Android\android-sdk
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.4   (API level 19)
Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_31
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)

Build Information
Release ID: 501040000
Git revision: 7d45bbe2ee22625f125d0c52548524f02d005cca
Build date: 2014-07-14 13:38:46-04
Xamarin addins: c78f1d88e57baa928aeee1484d96e6f8edf8de33

Operating System
Windows 6.1.7601.65536 (64-bit)
Comment 3 Pat Gulotta 2014-07-16 10:58:51 UTC
The information you requested as demonstrated in the videos referenced above is found in the attached files.
Comment 4 Pat Gulotta 2014-07-16 10:59:55 UTC
Created attachment 7390 [details]
My About Xamarin
Comment 5 Pat Gulotta 2014-07-16 11:00:34 UTC
Created attachment 7391 [details]
Android SDK files listing
Comment 6 PJ 2014-07-16 20:42:54 UTC
Hi Pat,

Updating your Android SDK Build-tools to revision 20 will solve the issue.

I apologize for the inconvenience.

*** This bug has been marked as a duplicate of bug 21348 ***