-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin' into mono-2018-02
- Loading branch information
Showing
25 changed files
with
224 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Compiler Error/Warning APT0000 | ||
|
||
This message indicates that `aapt` (Android Asset Packaging Tool) reported an error or warning. `aapt` is part of the Android SDK and is used internally by Xamarin.Android to process and compile resources into binary assets. Learn more about `aapt` and Android resources from the [Android documentation](https://developer.android.com/guide/topics/resources/accessing-resources.html). | ||
|
||
Errors reported by `aapt` are very much outside of Xamarin.Android's control, so a general error code of `APT0000` is used reporting the exact message coming from `aapt`. | ||
|
||
A few common messages include: | ||
- `error APT0000: res\drawable\image (1).png: Invalid file name: must contain only [a-z0-9_.]` | ||
- `error APT0000: Resource entry resource_name is already defined.` | ||
- `error APT0000: No resource found that matches the given name (at 'resource_name' with value '@string/foo').` | ||
- `error APT0000: invalid resource directory name: obj\Debug\dir with spaces "dir with spaces".` | ||
- `warning APT0000: warning: string 'resource_name' has no default translation.` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.IO; | ||
|
||
namespace Xamarin.Android.Build | ||
{ | ||
public static class Paths | ||
{ | ||
public const string Configuration = "@CONFIGURATION@"; | ||
public const string TopDirectory = @"@TOP_DIRECTORY@"; | ||
|
||
public static readonly string PrefixDirectory = Path.Combine (TopDirectory, "bin", Configuration); | ||
public static readonly string BinDirectory = Path.Combine (PrefixDirectory, "bin"); | ||
public static readonly string XABuildScript = Path.Combine (BinDirectory, "xabuild"); | ||
public static readonly string XABuildExe = Path.Combine (BinDirectory, "xabuild.exe"); | ||
public static readonly string TestOutputDirectory = Path.Combine (TopDirectory, "bin", "Test@CONFIGURATION@"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.