.buckjavaargs should default use UTF-8
Created by: clonetwin26
This should be the default Java argument. -Dfile.encoding=UTF-8
We saw a number of crashes like this, and mitigated them by setting the file encoding to UTF-8:
Error parsing resources to generate resource IDs for Pair(//app:res_release#resources-symlink-tree, buck-out/gen/app/res_release#resources-symlink-tree/res).
com.facebook.buck.android.aapt.MiniAapt.ResourceParseException: Error parsing xml file 'buck-out/gen/app/res_release#resources-symlink-tree/res/values-in/ub__localization.xml.rej': Content is not allowed in prolog..
com.facebook.buck.android.aapt.MiniAapt$ResourceParseException: Error parsing xml file 'app/res_release#resources-symlink-tree/res/values-in/ub__localization.xml.rej': Content is not allowed in prolog..
at com.facebook.buck.android.aapt.MiniAapt.parseXml(MiniAapt.java:519)
at com.facebook.buck.android.aapt.MiniAapt.processValuesFile(MiniAapt.java:380)
at com.facebook.buck.android.aapt.MiniAapt.processValues(MiniAapt.java:346)
at com.facebook.buck.android.aapt.MiniAapt.collectResources(MiniAapt.java:271)
at com.facebook.buck.android.aapt.MiniAapt.execute(MiniAapt.java:158)
at com.facebook.buck.step.DefaultStepRunner.runStepForBuildTarget(DefaultStepRunner.java:45)
at com.facebook.buck.rules.CachingBuildEngine.executeCommandsNowThatDepsAreBuilt(CachingBuildEngine.java:1502)
at com.facebook.buck.rules.CachingBuildEngine.buildLocally(CachingBuildEngine.java:330)
at com.facebook.buck.rules.CachingBuildEngine.lambda$8(CachingBuildEngine.java:545)
at com.facebook.buck.rules.CachingBuildEngine.lambda$27(CachingBuildEngine.java:2009)
at com.facebook.buck.util.concurrent.WeightedListeningExecutorService.lambda$0(WeightedListeningExecutorService.java:78)
at com.google.common.util.concurrent.AbstractTransformFuture$AsyncTransformFuture.doTransform(AbstractTransformFuture.java:211)
at com.google.common.util.concurrent.AbstractTransformFuture$AsyncTransformFuture.doTransform(AbstractTransformFuture.java:200)
at com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:130)
at com.google.common.util.concurrent.MoreExecutors$5$1.run(MoreExecutors.java:988)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)