Closed maniac103 closed 5 years ago
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 :-/ Sorry for the noise, and thanks for the quick and helpful replies!
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?