-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[BUG] Element type "manifest" must be followed by either attribute #2972
Comments
Element type "manifest" must be followed by either attribute specifications, ">" or "/>". Manifest and XML files are decoding witouth many of the attribute names.. |
Confirming something is odd with these files. Vaguely remember an existing bug about this, but will mark as bug for now until I find it.
|
Same issue here |
Hi, I have the same issue with Huawei Health apk. |
Nevermind, just saw Huawei apks are not supported anyway |
Same here, some update? |
Will have a PR up shortly that on close will close this. We have the namespace stripped from attributes within namespace. This appears fine on AOSP, but during disassembly if we don't associate the namespace prefix properly - the assembly fails. I currently have a patch that looks for the system pkgId and forces that namespace if used. I'm currently investigating if I can trust the entire system package or should scope down to just manifest attributes. https://github.com/aosp-mirror/platform_frameworks_base/blob/master/tools/aapt/Command.cpp#L255 |
Information
Stacktrace/Logcat
Steps to Reproduce
apktool d -f base.apk
APK
If this APK can be freely shared, please upload/attach a link to it.
Questions to ask before submission
apktool d
,apktool b
without changing anything?YES
N/A
YES
base.zip
The text was updated successfully, but these errors were encountered: