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

Failed to patch Reddit V2024.18.0 #407

Closed
5 tasks done
donw7eed opened this issue Apr 30, 2024 · 1 comment
Closed
5 tasks done

Failed to patch Reddit V2024.18.0 #407

donw7eed opened this issue Apr 30, 2024 · 1 comment
Labels
Bug report Something isn't working

Comments

@donw7eed
Copy link

Type

Error while patching

Tools used

Revancify

Application

Reddit V2024.18.0

Bug description

Failed to patch Reddit

Error logs

INFO: Loading patches INFO: Decoding app manifest INFO: Custom branding name Reddit excluded INFO: Change package name excluded INFO: Hide toolbar button excluded INFO: Setting patch options INFO: Merging integrations INFO: Deleting existing resource cache directory INFO: Decoding resources INFO: Executing patches INFO: Disable screenshot popup succeeded INFO: Hide ads succeeded INFO: Hide navigation buttons succeeded INFO: Hide recently visited shelf succeeded INFO: Open links directly succeeded INFO: Open links externally succeeded INFO: Premium icon succeeded INFO: Remove subreddit dialog succeeded INFO: Sanitize sharing links succeeded INFO: Settings succeeded INFO: Compiling patched dex files INFO: Compiled classes.dex INFO: Compiled classes2.dex INFO: Compiled classes3.dex INFO: Compiled classes4.dex INFO: Compiled classes5.dex INFO: Compiled classes6.dex INFO: Compiled classes7.dex INFO: Compiled classes8.dex INFO: Compiled classes9.dex INFO: Compiled classes10.dex INFO: Compiled classes11.dex INFO: Compiled classes12.dex INFO: Compiling modified resources WARNING: /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.18.0/base-RVX-anddea-resource-cache/res/values/styles.xml:2661: error: expected enum but got (raw string) 0. WARNING: /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.18.0/base-RVX-anddea-resource-cache/res/values/styles.xml:3268: error: expected enum but got (raw string) 1. WARNING: /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.18.0/base-RVX-anddea-resource-cache/res/values/styles.xml:3271: error: expected enum but got (raw string) 1. WARNING: /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.18.0/base-RVX-anddea-resource-cache/res/values/styles.xml:3303: error: expected enum but got (raw string) 1. WARNING: error: failed linking references. brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [./aapt2, link, -o, /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.18.0/base-RVX-anddea-resource-cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1577901, --version-name, 2024.18.0, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/data/com.termux/files/usr/tmp/APKTOOL2249802270257696285.tmp, -0, arsc, -I, /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.18.0/base-RVX-anddea-resource-cache/1.apk, --manifest, /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.18.0/base-RVX-anddea-resource-cache/AndroidManifest.xml, /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.18.0/base-RVX-anddea-resource-cache/build/resources.zip] 	at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:246) 	at brut.androlib.AaptInvoker.invokeAapt(AaptInvoker.java:391) 	at app.revanced.patcher.data.ResourceContext.get(ResourceContext.kt:128) 	at app.revanced.patcher.Patcher.get(Patcher.kt:265) 	at app.revanced.cli.command.PatchCommand.run(PatchCommand.kt:313) 	at picocli.CommandLine.executeUserObject(CommandLine.java:2026) 	at picocli.CommandLine.access$1500(CommandLine.java:148) 	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461) 	at picocli.CommandLine$RunLast.handle(CommandLine.java:2453) 	at picocli.CommandLine$RunLast.handle(CommandLine.java:2415) 	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273) 	at picocli.CommandLine$RunLast.execute(CommandLine.java:2417) 	at picocli.CommandLine.execute(CommandLine.java:2170) 	at app.revanced.cli.command.MainCommandKt.main(MainCommand.kt:12) Caused by: brut.common.BrutException: could not exec (exit code = 1): [./aapt2, link, -o, /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.18.0/base-RVX-anddea-resource-cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1577901, --version-name, 2024.18.0, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/data/com.termux/files/usr/tmp/APKTOOL2249802270257696285.tmp, -0, arsc, -I, /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.18.0/base-RVX-anddea-resource-cache/1.apk, --manifest, /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.18.0/base-RVX-anddea-resource-cache/AndroidManifest.xml, /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.18.0/base-RVX-anddea-resource-cache/build/resources.zip] 	at brut.util.OS.exec(OS.java:104) 	at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:242) 	... 13 more Rooted: false Arch: arm64-v8a App: Reddit v2024.18.0 CLI: inotia00-cli-v4.4.1.jar Patches: anddea-patches-v2.225.0-dev.1.jar Integrations: anddea-integrations-v0.152.0-dev.1.apk Patches argument: -i Disable screenshot popup -i Hide ads -i Hide navigation buttons -i Hide recently visited shelf -i Open links directly -i Open links externally -i Premium icon -i Remove subreddit dialog -i Sanitize sharing links -i Settings

Solution

No response

Additional context

No response

Device Environment

No response

Acknowledgements

  • This issue does not reproduce on unpatched YouTube or YT Music.
  • This issue is not a duplicate of an existing bug report.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • I have written the title and contents in English.
@donw7eed donw7eed added the Bug report Something isn't working label Apr 30, 2024
@anddea
Copy link
Owner

anddea commented Apr 30, 2024

Duplicate of #401. Continue there.

@anddea anddea closed this as completed Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants