fix: Error decode xml (manifest) when parsing an APK file containing …#2646
Merged
skylot merged 1 commit intoskylot:masterfrom Sep 28, 2025
huqiuser:fix_error_decode_manifest
Merged
fix: Error decode xml (manifest) when parsing an APK file containing …#2646skylot merged 1 commit intoskylot:masterfrom huqiuser:fix_error_decode_manifest
skylot merged 1 commit intoskylot:masterfrom
huqiuser:fix_error_decode_manifest
Conversation
…'.aab' in the file path
Collaborator
|
Thanks for your PR. I see the problem: your file name contains ".aab" but has nothing to to with an aab file. The interesting part is that before PR 2165 Moved AAB input to separate plugin the .aab detection was already very similar to your code from this PR:
Not sure why this was changed. @AndreiKud Do you remember why you changed the .aab detection from |
Contributor
|
@jpstotz I do not. Probably just a bug 👍 |
skylot
approved these changes
Sep 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is simple and solves the XML parsing failure issue when the APK path contains
.aabfiles. The problem lies in incorrectly determining whether the file is from an aab file.Our project converts
app.aabtoapp.aab.apksupon build completion and then installs these APKs. However, I wanted to verify that the APK code was correct and unzippedapp.aab.apksto the defaultapp.aabfolder, but encountered an XML parsing failure.stack trace: