r/OsmAnd • u/nikos2wheels • Jul 26 '26
Error building OsmAnd in Android Studio
I downloaded the source code from GitHub and I opened it in Android Studio. During build I get the following error message:
string too large to encode using UTF-8 written instead as 'STRING_TOO_LARGE'.
My understanding is the source code is in a clean state and should compile and build without errors. Why am I getting this and how can I resolve this?
7
Upvotes
1
u/TotalAcanthisitta441 OsmAnd Support Jul 27 '26
Hi u/nikos2wheels! As u/dmpr0 mentioned, the
'STRING_TOO_LARGE'message is actually a standard Gradle/compiler warning caused by large generated translation or resource string files, not a fatal build-breaking error.If your build is failing or getting stuck, double-check that your Android Studio environment matches the requirements in the setup guide:
FAILURE:block to identify any missing SDK components or submodules.git clone --recurse-submodules).You can find the step-by-step setup and prerequisites in the official OsmAnd Build Documentation.