Uncompiled apk files have "wrong" data #2868
Replies: 2 comments 1 reply
-
If only that was as easy it sounds.
Too many reasons for this - so many techniques exist now to malform an application that works for Android, but seriously affects the ability to return the application to source.
With 87 issues and 3 open pull requests - I think it always needs something.
That is good - Apktool can do everything automatically. |
Beta Was this translation helpful? Give feedback.
-
There can be bad stuff in the actual binary XML file. It certainly is possible to duplicate attributes.
I'm too lazy to download 150 MB of TikTok, but if you post the double ns binary XML I'll look at it. |
Beta Was this translation helpful? Give feedback.
-
I'm uncompiling a tiktok apk downloaded from here: https://www.apkmirror.com/apk/tiktok-pte-ltd/tik-tok/tik-tok-25-7-5-release/tiktok-25-7-5-android-apk-download
But when I'm recompiling the apk I get a bunch of attribute errors and I have to edit the xml files to remove things like duplicated attr in
<selector xmlns="" xmlns="">
, are those errors made by apktool? I mean isn't supposed that what we get are the original untouched files? If so then why do they have been build successfully with those duplicated attrs but apktool fails? Does apktool needs an update or something?I also got a bunch of
AndroidManifest.xml:1111: error: '@1845624832' is incompatible with attribute resource (attr) reference.
and I had to go to the lines and delete the attributes, I haven't tested the app, I only saw apktool finally compiling it.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions