You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java Version (java --version) - 17.0.14 (2025-01-21)
Stacktrace/Logcat
--------------------------------------------------- DECOMPILATION LOG ---------------------------------------------------
I: Using Apktool 2.11.1 on jp.pokemon.pokemontcgp.apk with 8 threads
I: Baksmaling classes.dex...
I: Loading resource table...
I: Baksmaling classes2.dex...
I: Decoding file-resources...
I: Loading resource table from file: /home/[REDACTED]/.local/share/apktool/framework/1.apk
I: Decoding values */* XMLs...
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Copying original files...
I: Copying assets...
I: Copying unknown files...
--------------------------------------------------- RECOMPILATION LOG ---------------------------------------------------
I: Using Apktool 2.11.1 on jp.pokemon.pokemontcgp.apk with 8 threads
I: Checking whether sources have changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources have changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether resources have changed...
I: Building resources with aapt2...
W: /home/[REDACTED]/cs/projects/personal/pokemon-tcgp/android/xapk/jp.pokemon.pokemontcgp/AndroidManifest.xml:2: error: attribute android:requiredSplitTypes not found.
W: /home/[REDACTED]/cs/projects/personal/pokemon-tcgp/android/xapk/jp.pokemon.pokemontcgp/AndroidManifest.xml:2: error: attribute android:splitTypes not found.
W: /home/[REDACTED]/cs/projects/personal/pokemon-tcgp/android/xapk/jp.pokemon.pokemontcgp/AndroidManifest.xml:32: error: attribute android:dataExtractionRules not found.
W: error: failed processing manifest.
Exception in thread "main" brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_38071763668742047783418439069096325094.tmp, link, -o, /tmp/APKTOOL8
981027309842818811.tmp, --allow-reserved-package-id, --package-id, 127, --min-sdk-version, 24, --target-sdk-version, 34, --version-code, 92581, --version-name, 1.1.2, --no-auto-version, --no-version-vectors, --no-vers
ion-transitions, --no-resource-deduping, --no-compile-sdk-metadata, --warn-manifest-validation, -I, /home/[REDACTED]/.local/share/apktool/framework/1.apk, --manifest, /home/[REDACTED]/cs/projects/personal/pokemon-tcgp-h
acking/android/xapk/jp.pokemon.pokemontcgp/AndroidManifest.xml, /home/[REDACTED]/cs/projects/personal/pokemon-tcgp/android/xapk/jp.pokemon.pokemontcgp/build/resources.zip]
at brut.androlib.AaptInvoker.invoke(SourceFile:213)
at brut.androlib.ApkBuilder.buildResources(SourceFile:352)
at brut.androlib.ApkBuilder.build(SourceFile:93)
at brut.apktool.Main.main(SourceFile:322)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_38071763668742047783418439069096325094.tmp, link, -o, /tmp/APKTOOL8981027309842818811.tmp, --allow-reserved-package-id, --packa
ge-id, 127, --min-sdk-version, 24, --target-sdk-version, 34, --version-code, 92581, --version-name, 1.1.2, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --no-compile-sdk-me
tadata, --warn-manifest-validation, -I, /home/[REDACTED]/.local/share/apktool/framework/1.apk, --manifest, /home/[REDACTED]/cs/projects/personal/pokemon-tcgp/android/xapk/jp.pokemon.pokemontcgp/AndroidManifest.x
ml, /home/[REDACTED]/cs/projects/personal/pokemon-tcgp/android/xapk/jp.pokemon.pokemontcgp/build/resources.zip]
at brut.util.OS.exec(SourceFile:143)
at brut.androlib.AaptInvoker.invoke(SourceFile:209)
... 3 more
Steps to Reproduce
# Retrieve xapk from link below, move to working dir
mv ~/Downloads/pokemon-tcg-pocket-1-1-2.xapk .# Unzip xapk archive
unzip pokemon-tcg-pocket-1-1-2.xapk
# Decompile with default opts:
apktool d jp.pokemon.pokemontcgp.apk
# Attempt recompilation
apktool b jp.pokemon.pokemontcgp
My use case is simply modifying the base apk of an xapk bundle.
Note that examining the decoded manifest after apktool d .. reveals that these attributes are present in the decoded version. Perhaps this is a namespace issue as referenced by the other issues above.
Information
apktool -version
) - 2.11.1java --version
) - 17.0.14 (2025-01-21)Stacktrace/Logcat
Steps to Reproduce
Frameworks
N/A
APK
Pokemon TCG Pocket xapk download page (see green download button in lower left corner)
Questions to ask before submission
apktool d
,apktool b
without changing anything? => yesOther Notes
This seems to be related to split apk support. Here are some (potentially) relevant issues:
My use case is simply modifying the base apk of an xapk bundle.
Note that examining the decoded manifest after
apktool d ..
reveals that these attributes are present in the decoded version. Perhaps this is a namespace issue as referenced by the other issues above.The text was updated successfully, but these errors were encountered: