bump. I have encountered exactly the same issue. The files in question are
located in "
out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/src/android/icu/"
(all files in 4 folders called: "lang", "math", "text" and "util"). They
all seem to be stub classes generated by the build. Running file -i
{path_to_filename} reveals that their character encoding is "iso-8859-1"
which has problem with the unicode copywrite symbol. I have changed the
locale of my linux system to en_US.utf8 which unfortunately has not helped.
I am building on a Linux Virtual Machine if that's of any help.
On Wednesday, September 6, 2017 at 5:58:50 PM UTC+1, Sean Hicks wrote:
>
> I'm trying to build the AOSP (Oreo) for the Nexus 5x. I am building on
> Ubuntu 14.04.
>
>
> I went to https://source.android.com/source/requirements and installed
> all of the requirements. I even uninstalled my version of OpenJDK8 (161) in
> favor of the 45 version on the site. By using sudo update-alternatives
> --all, I made sure all of my java related commands point to this version of
> java 8.
>
>
> I got the binary preview blobs from
> https://developers.google.com/android/blobs-preview and untar'd/ran after
> getting the AOSP.
>
>
> From the build numbers page
> https://source.android.com/source/build-numbers I found the build for the
> nexus 5X is OPR6.170623.013, corresponding to branch android-8.0.0_r4.
>
>
> So, I repo init -b android-8.0.0_r4, followed by a repo sync, followed by
> extracting my binary images (which placed them in vendor, as expected).
> Then I did a lunch, selecting aosp-bullhead-userdebug (option 25), and then
> make -j8.
>
>
> After over an hour of building, the build fails (81 errors) on many of the
> java files with the following error.
>
>
> "error: unmappable character encoding for UTF-8 // ? 2016 and later:
> Unicode, Inc. and others."
>
>
> Does anyone know how I can resolve this build error?
>
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Building" 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.