Skip to content

Gradle build error: unmappable character encoding #5045

Discussion options

You must be logged in to vote

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…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Rd4dev
Comment options

Answer selected by adhiamboperes
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Corresponds to items that haven't seen a recent update and may be automatically closed.
3 participants