Error comes as "string too large to encode using UTF-8 written instead as ‘STRING_TOO_LARGE’ " at Visual studio 2019 for Xamarin.android project

Md Rayhan Khan 1 Reputation point
2022-03-21T04:33:09.577+00:00

When I am building my project at visual studio 2019 at windows or Mac then the following error occurs. "string too large to encode using UTF-8 written instead as 'STRING_TOO_LARGE'. The error is occurs at Visual studio 2019 16.7.7 for windows. But this error is not happening at visual studio 2017. But I need to compile my project to visual studio 2019. Project properties is given at below screenshot https://prnt.sc/zpbX_vz0gY7U.

I have xml files at resource folder but they are mot more than 2 KB/file.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,357 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.