Apktool: [BUG] Tag missing required attribute name
Information
- Apktool Version (
apktool -version
) - 2.8.1 - Operating System (Mac, Linux, Windows) - Windows
- APK From? (Playstore, ROM, Other) - Playstore
- Java Version (
java --version
) - 1.8.0_381
Stacktrace/Logcat
C:\Users\Admin>apktool d C:\ApkTool\base.apk
I: Using Apktool 2.8.1 on base.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Admin\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Baksmaling classes4.dex...
I: Baksmaling classes5.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Copying META-INF/services directory
C:\Users\Admin>apktool d C:\ApkTool\base.apk -o C:\ApkTool\temu
Destination directory (C:\ApkTool\temu) already exists. Use -f switch if you want to overwrite it.
C:\Users\Admin>apktool d C:\ApkTool\base.apk -o C:\ApkTool\temu -f
I: Using Apktool 2.8.1 on base.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Admin\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes3.dex...
I: Baksmaling classes4.dex...
I: Baksmaling classes5.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Copying META-INF/services directory
C:\Users\Admin>apktool b C:\ApkTool\temu -o C:\ApkTool\temu_b -f
I: Using Apktool 2.8.1
I: Smaling smali folder into classes.dex...
I: Smaling smali_classes2 folder into classes2.dex...
I: Smaling smali_classes3 folder into classes3.dex...
I: Smaling smali_classes4 folder into classes4.dex...
I: Smaling smali_classes5 folder into classes5.dex...
I: Building resources...
W: C:\ApkTool\temu\AndroidManifest.xml:55: Tag <provider> missing required attribute name.
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Admin\AppData\Local\Temp\brut_util_Jar_29931868172248541091226187850525576975.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 33, --version-code, 19100, --version-name, 1.91.0, --no-version-vectors, -F, C:\Users\Admin\AppData\Local\Temp\APKTOOL6435024682620490364.tmp, -e, C:\Users\Admin\AppData\Local\Temp\APKTOOL4572837716763156442.tmp, -0, arsc, -I, C:\Users\Admin\AppData\Local\apktool\framework\1.apk, -S, C:\ApkTool\temu\res, -M, C:\ApkTool\temu\AndroidManifest.xml]
Steps to Reproduce
- d apk
- b apk
Frameworks
APK
https://play.google.com/store/apps/details?id=com.einnovation.temu&hl=en_US
Questions to ask before submission
- Have you tried
apktool d
,apktool b
without changing anything? YES - If you are trying to install a modified apk, did you resign it? -
- Are you using the latest apktool version? YES
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 23 (10 by maintainers)
Yep sorry - I don’t see anything helpful. I’ve done all I can remotely. I’ll have to take a look when I have time.