Open Skylled opened 2 years ago
Possible duplicate of #2675
thanks - I took a look and the actual string affected is this:
a;href=intent:#Intent;action=android.settings.SYSTEM_UPDATE_SETTINGS;end
This is double ;end
is messing up the parser - going to have to research why that is.
O apologies. That is literally the string you posted. I didn't scroll it left/right.
Working app
➜ 2890 aapt2 dump resources 2890-good.apk | grep 'SYSTEM_UPDATE'
() "To use Assistant voice typing, update your Android System. <a href=intent:#Intent;action=android.settings.SYSTEM_UPDATE_SETTINGS;end>Update</a> <br> <br><a href=https://support.google.com/gboard/answer/11197787#update_app>Learn more</a>"
(ca) "Per utilitzar l'escriptura per veu amb l'Assistent, actualitza el teu sistema Android. <a href="intent:#Intent;action=android.settings.SYSTEM_UPDATE_SETTINGS;end">Actualitza</a> <br> <br><a href="https://support.google.com/gboard/answer/11197787#update_app">Més informació</a>"
Broken app
➜ 2890 aapt2 dump resources 2890.apk | grep 'SYSTEM_UPDATE'
() "To use Assistant voice typing, update your Android System. <a href=intent:#Intent;action=android.settings.SYSTEM_UPDATE_SETTINGS;end> Update </a> <br/><br/><a href=https://support.google.com/gboard/answer/11197787#update_app> Learn more </a>"
(ca) (styled string) "Per utilitzar l'escriptura per veu amb l'Assistent, actualitza el teu sistema Android. Actualitza Més informació " a;href=intent:#Intent;action=android.settings.SYSTEM_UPDATE_SETTINGS;end:87,98 br:100,99 br:100,99 a;href=https://support.google.com/gboard/answer/11197787#update_app:100,115
Lots o differences. @IgorEisberg any idea how we could patch the splitter to handle basically intent based urls? Sadly I noticed the test suite has basically no coverage for these type of URLs.
Got the same issue, got any progress?
Any progress here ?
@iBotPeaches I checked both files I may miss something or files changed now ? Here is md5 for files i downloaded:
Here is what I get for string containing SYSTEM_UPDATE_SETTINGS
So this string on both files is NOT styled string, why are you trying to process it as styled string ?
BTW: Forgive me I am a strong hater of guava & kotlin, both useless worms.
@REAndroid - Good question, I guess you get so focused on something you might overlook the fact you are mistyping it as styled.
Information
apktool -version
) - 2.6.1Stacktrace/Logcat
Steps to Reproduce
apktool d google-app.apk
Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files (
.apks
that live in/system/framework
or/system/priv-app
)APK
If this APK can be freely shared, please upload/attach a link to it. We've only reproduced the issue on the latest builds of the Google Search app, and only on the 13.x.x.29 builds used by Pixel phones which presumably have different resources.
Last known-good version: https://www.apkmirror.com/apk/google-inc/google-search/google-search-13-35-9-release/google-app-13-35-9-29-arm64-2-android-apk-download/
Most recent known-bad version: https://www.apkmirror.com/apk/google-inc/google-search/google-search-13-37-9-release/google-app-13-37-9-29-arm64-2-android-apk-download/
Questions to ask before submission
apktool d
,apktool b
without changing anything? - YesDebugging details
My colleague was able to trace the string resource at fault to this one. However, we're not sure why there's now a problem as the same string also appears in the known-good version.