I've got a project that builds and runs fine for iOS, web, and standalone. When attempting to build for Android on MacOS, using Unity 3.3.0f4, I get the following error:
Exception: Error building Player: XmlException: Not allowed character was found. file:/// (my project path) /Temp/StagingArea/res/values/strings.xml Line 1, position 8. UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions) UnityEditor.BuildPlayerWindow.GUIBuildButtons (Boolean enableBuildButton, Boolean enableBuildAndRunButton, Boolean canInstallInBuildFolder) UnityEditor.BuildPlayerWindow.ShowBuildTargetSettings () UnityEditor.BuildPlayerWindow.OnGUI () System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) UnityEditor.HostView.Invoke (System.String methodName) UnityEditor.HostView.OnGUI ()
The strings.xml file it's complaining about just looks like this:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Unity Player</string>
</resources>
I confirmed with a hex editor that there are no weird invisible non-ascii characters in it. This is very banal generic stuff, and since the file is being generated by Unity as part of the build, I have no idea how to start fixing it.
I can build other Android projects on this system, so I'm fairly sure there's nothing fundamentally broken about my Android SDK install.
Anyone seen this, or have ideas?