Assigned
Status Update
Comments
uc...@google.com <uc...@google.com> #2
Can you share a sample svg file to reproduce this issue.
ia...@gmail.com <ia...@gmail.com> #3
Sure thing.
sp...@google.com <sp...@google.com>
sp...@google.com <sp...@google.com> #4
This is a problem in Gradle build, which produces an error: "string too large to encode using UTF-8 written instead as 'STRING_TOO_LARGE'."
ia...@gmail.com <ia...@gmail.com> #5
I have noticed this error as well. Seemingly, even after I thought I had removed it from the project. Good to know where this bizarre error came from too.
je...@google.com <je...@google.com>
am...@google.com <am...@google.com>
am...@google.com <am...@google.com> #6
The problem is coming from aapt2, aapt reports that the string is too large and replaces it with "STRING_TOO_LARGE". However, aapt continues running and outputs "Done" at the end which indicates that the linking was done successfully.
It would be also better after fixing this if aapt could report which file caused this message, as the message alone is not really helpful.
It would be also better after fixing this if aapt could report which file caused this message, as the message alone is not really helpful.
Description
TL;DR, the icon generator does not appear to always generate valid icons, and I haven't a clue why. When using an SVG as my foreground layer, the icon shows the silly default android logo on newer devices rather than my shiny new adaptive icon. What the heck? Had a not so happy client as a result of this, as we didn't catch it before the initial Play Store upload.
Quick searching around the web indicates that "certain features" of SVG may not be supported. But it renders previews perfectly in Android Studio (both in the wizard and when examining the generated drawables). And there is no warning about this at any level. Android Studio says it's fine. No warnings when uploading the app bundle. This is really terrible UX. You should take a line from Apple's playbook and have a strong validator that catches these issues on upload. Or even on bundle generation.
Build: 3.3, AI-182.5107.16.33.5199772, 201812250239,
AI-182.5107.16.33.5199772, JRE 1.8.0_152-release-1248-b01x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14.2 unknown, screens 1440x900; Retina
Android Gradle Plugin: 3.3.0
Gradle: (gradle version information not found)
NDK: from local.properties: (not specified); latest from SDK: (not found);
LLDB: pinned revision 3.1 not found; latest from SDK: (package not found);
CMake: from local.properties: (not specified); latest from SDK: (not found); from PATH: 3.13.2;
Source: user_sentiment_feedback
IMPORTANT: Please read