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: patching reddit #443

Closed
5 tasks done
shifoc opened this issue May 9, 2024 · 1 comment
Closed
5 tasks done

Bug: patching reddit #443

shifoc opened this issue May 9, 2024 · 1 comment
Labels
Bug report Something isn't working

Comments

@shifoc
Copy link

shifoc commented May 9, 2024

Type

Error while patching

Tools used

Revancify

Application

Reddit v2024.19.0

Bug description

Can't patch the app

Error logs

│ 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.19.0/base-RVX-andd │
│ WARNING: /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.19.0/base-RVX-andd │
│ WARNING: /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.19.0/base-RVX-andd │
│ WARNING: /data/data/com.termux/files/home/revancify-data/apps/Reddit-2024.19.0/base-RVX-andd │
│ WARNING: error: failed linking references.                                                   │
│ brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit  │
│        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(Comman │
│        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, /d │
│        at brut.util.OS.exec(OS.java:104)                                                     │
│        at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:242)                        │
│        ... 13 more

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.
@shifoc shifoc added the Bug report Something isn't working label May 9, 2024
@anddea
Copy link
Owner

anddea commented May 9, 2024

Duplicate of #401

@anddea anddea marked this as a duplicate of #401 May 9, 2024
@anddea anddea closed this as completed May 9, 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