Seth, I'm having the same problem, seems to be the 0.10.0 gradle plugin. 
Try changing your plugin version to com.android.tools.build:gradle:0.9.2 
for now, and run gradle with the --refresh-dependencies flag. Fixed it for 
me.

In my case, it's not just unicode characters--it chokes on HTML entities as 
well. Strangely only in the default strings file, not in any localized 
files.

On Monday, May 5, 2014 4:55:42 PM UTC-7, Seth Goldenberg wrote:
>
> Strange issue here with merging resources. I have a build machine that's 
> botching the encoding of some unicode characters in my XML when merging 
> resources. This is building just fine on my own machine.
>
> This line is in an exploded AAR prior to being merged:
> (From 
> build/exploded-aar/com.facebook/facebook-android-sdk/3.5.2/res/values/values.xml)
> <string name="com_facebook_placepicker_subtitle_format">%1$s • %2$,d were 
> here</string>
>
> And like this after being merged:
> (From build/res/all/release/values/values.xml)
> <string name="com_facebook_placepicker_subtitle_format">%1$s ¥ %2$,d were 
> here</string>
>
> aapt (version 19.0.3) chokes with this error on the line above:
> error: Error parsing XML: not well-formed (invalid token)
>
> This error does not happen on my personal machine. Both are running Mac OS 
> X 10.9.2. What dependency does aapt have that the same version of it would 
> produce different outputs on different machines?
>
> Thanks,
> Seth
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to