Skip to content
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] can't recompile the file #3599

Closed
FeoreV opened this issue May 15, 2024 · 1 comment
Closed

[BUG] can't recompile the file #3599

FeoreV opened this issue May 15, 2024 · 1 comment

Comments

@FeoreV
Copy link

FeoreV commented May 15, 2024

Information

  1. Apktool Version 2.9.3 -
  2. Operating System Windows -
  3. APK From? playstore -
  4. Java Version 1.8.0_411 -

Stacktrace/Logcat

C:\androiddev\apltooll>apktool b "C:\androiddev\apltooll\Discord 228.11 - Stable.228011"
I: Using Apktool 2.9.3
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_in.xml:6: error: attribute android:fromExtendBottom not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_in.xml:6: error: attribute android:fromExtendLeft not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_in.xml:6: error: attribute android:fromExtendRight not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_in.xml:6: error: attribute android:fromExtendTop not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_in.xml:6: error: attribute android:toExtendBottom not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_in.xml:6: error: attribute android:toExtendLeft not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_in.xml:6: error: attribute android:toExtendRight not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_in.xml:6: error: attribute android:toExtendTop not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_out.xml:6: error: attribute android:fromExtendBottom not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_out.xml:6: error: attribute android:fromExtendLeft not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_out.xml:6: error: attribute android:fromExtendRight not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_out.xml:6: error: attribute android:fromExtendTop not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_out.xml:6: error: attribute android:toExtendBottom not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_out.xml:6: error: attribute android:toExtendLeft not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_out.xml:6: error: attribute android:toExtendRight not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_enter_out.xml:6: error: attribute android:toExtendTop not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_exit_in.xml:6: error: attribute android:fromExtendBottom not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_exit_in.xml:6: error: attribute android:fromExtendLeft not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_exit_in.xml:6: error: attribute android:fromExtendRight not found.
W: C:\androiddev\apltooll\Discord 228.11 - Stable.228011\res\anim-v33\rns_default_exit_in.xml:6: error: attribute android:fromExtendTop not found.
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\feore\AppData\Local\Temp\brut_util_Jar_41214963213895161048613928012853343487.tmp, link, -o, C:\Users\feore\AppData\Local\Temp\APKTOOL1341859342914138729.tmp, --package-id, 127, --min-sdk-version, 24, --target-sdk-version, 33, --version-code, 228011, --version-name, 228.11 - Stable, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, --no-compile-sdk-metadata, --warn-manifest-validation, -e, C:\Users\feore\AppData\Local\Temp\APKTOOL5660681342240147547.tmp, -0, arsc, -I, C:\Users\feore\AppData\Local\apktool\framework\1.apk, --manifest, C:\androiddev\apltooll\Discord 228.11 - Stable.228011\AndroidManifest.xml, C:\androiddev\apltooll\Discord 228.11 - Stable.228011\build\resources.zip]

Steps to Reproduce

Uncompile
Compile what is received back

APK

Discord

Questions to ask before submission

  1. Have you tried apktool d, apktool b without changing anything?
    YES
  2. Are you using the latest apktool version?
    YES
@iBotPeaches
Copy link
Owner

➜  3599 apktool d discord.apk -s -f
I: Using Apktool v2.9.2-48-6b986e9a-SNAPSHOT on discord.apk with 8 thread(s).
I: Copying raw classes.dex file...
I: Copying raw classes10.dex file...
I: Copying raw classes2.dex file...
I: Copying raw classes3.dex file...
I: Copying raw classes4.dex file...
I: Copying raw classes5.dex file...
I: Copying raw classes6.dex file...
I: Copying raw classes7.dex file...
I: Copying raw classes8.dex file...
I: Copying raw classes9.dex file...
I: Loading resource table...
I: Decoding file-resources...
I: Loading resource table from file: /home/ibotpeaches/.local/share/apktool/framework/1.apk
I: Decoding values */* XMLs...
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
I: Copying META-INF/services directory
➜  3599 apktool b discord
I: Using Apktool v2.9.2-48-6b986e9a-SNAPSHOT with 8 thread(s).
I: Copying discord classes.dex file...
I: Copying discord classes10.dex file...
I: Copying discord classes2.dex file...
I: Copying discord classes3.dex file...
I: Copying discord classes5.dex file...
I: Copying discord classes9.dex file...
I: Copying discord classes4.dex file...
I: Copying discord classes7.dex file...
I: Copying discord classes6.dex file...
I: Copying discord classes8.dex file...
I: Checking whether resources has changed...
I: Building resources...
I: Copying libs... (/lib)
I: Copying libs... (/kotlin)
I: Copying libs... (/META-INF/services)
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk into: discord/dist/discord.apk
➜  3599 

I could not replicate this.

@iBotPeaches iBotPeaches closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants