Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
The Aapt MSBuild Task seems to treat aapt "no default translation" warnings as MSBuild errors. These items should be logged as warnings and not promoted to errors as it confuses users that their application needs fixed when most of the warnings can be ignored or treated on a case-by-case basis.
C:\Users\dougl\AppData\Local\Android\sdk\build-tools\26.0.2\aapt p -f -m -M C:\Users\dougl\AppData\Local\Temp\naj3hroo.ll5\manifest\AndroidManifest.xml -J C:\Users\dougl\AppData\Local\Temp\naj3hroo.ll5 --custom-package app46.app46 -F C:\Users\dougl\AppData\Local\Temp\naj3hroo.ll5\resources.apk.bk -S obj\Debug\res -I C:\Users\dougl\AppData\Local\Android\sdk\platforms\android-26\android.jar --auto-add-overlay
warning: string 'app_name1' has no default translation.
## Reproduction Project
1. File -> New -> Xamarin.Android Project
2. Create a new Resources folder called "values-fr"
3. Add any string such as:
<?xml version="1.0" encoding="utf-8"?>
4. Build the project to run into the MSBuild error
1>warning : error APT0000: string 'test' has no default translation.
1>Done executing task "Aapt" -- FAILED. (TaskId:129)
## Version Information
Xamarin - 22.214.171.124
Visual Studio for Mac - 7.2
This is because our regex is matching the warning, we can fix that.
can you gist the csproj of the failing project? I have tried to repo here and I can't. Do I know this is an issue as I have seen it before.
Should be fixed by xamarin-android/master/2135856e
Any chance of a documented workaround or info on how to get the latest beta?
I cannot currently compile because of this.
(In reply to uwantfries from comment #5)
> Any chance of a documented workaround or info on how to get the latest beta?
> I cannot currently compile because of this.
This should be fixed in the current Visual Studio Preview channel. Feel free to follow these instructions to obtain it: