Gradle build error: unmappable character encoding #5045
-
Operating SystemWindows 11 Android Studio VersionFlamingo | 2022.2.1 RAM size8 Free disk space15 GB Which step are you stuck on?Hi, Error Logerror: unmappable character for encoding Cp1252
* Corresponds to the Hindi (हिन�?दी) macro language. IETF BCP 47 language tag: hi.
^ Approaches already used to resolve the issueI tried to find the solution on stack overflow, tried to change the encoding format, and restarted build process after invalidating caches Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@Apoorvyash I request you to please follow this #4984 (comment) |
Beta Was this translation helpful? Give feedback.
-
I'll try it and get back , thanks for reaching out.
…On Sat, 10 Jun 2023 at 17:30, MOHIT GUPTA ***@***.***> wrote:
@Apoorvyash <https://github.com/Apoorvyash> I request you to please
follow this #4984 (comment)
<#4984 (comment)>
—
Reply to this email directly, view it on GitHub
<#5045 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AW4R56GWCFVAZKHYELPVAIDXKROUXANCNFSM6AAAAAAZBUG3KQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hi @MohitGupta121,
I tested the solutions provided in comment #4984. As you mentioned, the issue is connected to the jetifier, and following your suggestion, I attempted to compile using a JDK version lower than 15. Specifically, I used JDK-11, which is conveniently available for download directly from Android Studio.
Additionally, I tested the same solution with Android Studio Dolphin and Android Studio Giraffe versions, and both of them built successfully when compiled with JDK-11.
Therefore, it seems that using JDK-11 is a suitable solution.
Operating System
Windows 11
Android Studio Version
Flamingo | 2022.2.1
Followed are the images attached with problem and solution references
Andro…