Skip to content

[BUG] Attribute "android:" was already specified for element "manifest" #3667

Closed
@vmprog

Description

@vmprog

Hi.
In new APK versions, I started getting FATAL Error. Help please.
As I understand it, similar problems have already been defeated before.
3233
2664

Information

  1. Apktool Version (apktool -version) -
    2.9.3

  2. Operating System (Mac, Linux, Windows) -
    Debian GNU/Linux trixie/sid

  3. APK From? (Playstore, ROM, Other) -
    Other

  4. Java Version (java --version) -
    openjdk 17.0.12 2024-07-16
    OpenJDK Runtime Environment (build 17.0.12+7-Debian-1)
    OpenJDK 64-Bit Server VM (build 17.0.12+7-Debian-1, mixed mode, sharing)

Stacktrace/Logcat

Include stacktrace here

apktool d ./base.apk -f
I: Using Apktool 2.9.3 on base.apk
I: Loading resource table...
W: Bad string block: string entry is at 43204, past end at 43204
W: Chunk header size (308), read (284). Exceeding bytes: 0x1001C0010230F003FB302005B9A0B008A280C00.
W: Bad string block: string entry is at 493460, past end at 493460
W: Bad string block: string entry is at 510948, past end at 510948
I: Decoding file-resources...
I: Loading resource table from file: /home/kl/.local/share/apktool/framework/1.apk
I: Decoding values */* XMLs...
I: Decoding AndroidManifest.xml with resources...
W: Bad string block: string entry is at 552, past end at 552
W: Could not decode attr value, using undecoded value instead: ns=, name=theme, value=0x0000001d
W: Could not decode attr value, using undecoded value instead: ns=, name=, value=0x10000008
W: Unknown chunk type at: (0x00001c34) skipping...
W: Unknown chunk type at: (0x00001c3c) skipping...
W: Unknown chunk type at: (0x00001c44) skipping...
W: Unknown chunk type at: (0x0000477c) skipping...
W: AXML hit unexpected end of file at byte: 0x477C
I: Regular manifest package...
[Fatal Error] :2:172: Attribute "android:" was already specified for element "manifest".
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Copying META-INF/services directory

Steps to Reproduce

  1. apktool
    apktool d ./base.apk -f

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.
APK

Questions to ask before submission

  1. Have you tried apktool d, apktool b without changing anything? Yes
  2. If you are trying to install a modified apk, did you resign it? Yes
  3. Are you using the latest apktool version? Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions