When an asset contains unicode characters in the file name, for example Chinese or Arabic, the file can not be deployed to a package, it errors out.
Renaming the file to ANSI characters fixes it.
Is there a way to get MonoDevelop + MonoDroid deploy unicode Assets?
I got this from the MonoDroid team (thanks jonp) and it works:
Since Android doesn't support Unicode asset filenames, you can instead set the file's Build action to EmbeddedResource and use .NET resources to access the resource:
(You may need to change the Resource ID property of the file to match the value passed to Assembly.GetManifestResourceStream().)
I can't find this documented anywhere, but asset filenames must be ASCII, because that's what the
aapt
tool requires:I have no idea why Android/
aapt
has this requirement.