New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build warnings: 'string too large to encode using UTF-8...' #93
Comments
Gosh that's weird. I'll have a look and keep you updated |
Have you tried clearing the build cache? It's just we've never seen this problem before - so this might fix it! |
I doubt it ;-) as it also happens in Travis: https://travis-ci.org/openhab/openhab-android/builds/549740975#L1856 |
Yikes! Sorry! I'll have a look at the open HAB source since the names of these strings (license_lgpl_2_1_licenseDescription) aren't in this repo. I'll check if they're in AboutLibraries |
Yeah, looks like this is an issue with AboutLibraries I can't see why your PR would break things? Nothing related to AboutLibraries has been changed. Weird. |
Oops, sorry for taking too quick guesses. I checked the string files in your lib, saw some dealing with licenses and drew my conclusion :-/ |
Haha, no problem! Hope you can get the tests passing :) |
As the title says, when building an app using this library the Android Gradle plugin emits the following warning:
string too large to encode using UTF-8 written instead as 'STRING_TOO_LARGE'.
When checking the APK using the following command:
aapt dump --values resources <PATH_TO_BUILT_APK> | grep -B 1 'STRING_TOO_LARGE'
it looks like the culprit are the license texts shipped with the library:
I wonder whether a better solution were shipping the license files as assets instead?
The text was updated successfully, but these errors were encountered: