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: failed to patch youtube #2360

Closed
4 tasks done
VaporeonScripts opened this issue Dec 23, 2024 · 2 comments
Closed
4 tasks done

bug: failed to patch youtube #2360

VaporeonScripts opened this issue Dec 23, 2024 · 2 comments
Labels
Bug report Something isn't working

Comments

@VaporeonScripts
Copy link

Bug description

Image

Version of ReVanced Manager and version & name of app you are patching

Latest ,recommended YouTube version

Installation method

Regular

ReVanced Manager logs

- Device Info
ReVanced Manager: 1.23.2
Model: SM-A528B
Android version: 14
Supported architectures: arm64-v8a, armeabi-v7a, armeabi
Root permissions: Yes

- Patch Info
App: com.google.android.youtube v19.47.53 (Suggested: 19.47.53)
Patches version: v5.7.1
Patches added: Custom branding
Patches removed: None
Default patch options changed: None

- Settings
Allow changing patch selection: true
Version compatibility check: true
Show universal patches: false
Patches source: revanced/revanced-patches

- Logs
Reading APK
Decoding app manifest
Loading patches
Deleting existing temporary files directory
Decoding resources
Initializing lookup maps
Executing patches
Applied 56 patches
Compiling modified resources
An error occurred:
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~f_bF9cPviiRz7VcB1eBjGA==/app.revanced.manager.flutter-u-AqL42PStjdwzxhlrvYRA==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.revanced.manager.flutter/files/patcher/tmp-AJGWWV/revanced-temporary-files/patched/resources/resources.apk, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 35, --version-code, 1549823424, --version-name, 19.47.53, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, --warn-manifest-validation, -e, /data/user/0/app.revanced.manager.flutter/cache/APKTOOL5923917714678708665.tmp, -0, arsc, -I, /data/user/0/app.revanced.manager.flutter/files/patcher/tmp-AJGWWV/revanced-temporary-files/1.apk, --manifest, /data/user/0/app.revanced.manager.flutter/files/patcher/tmp-AJGWWV/revanced-temporary-files/apk/AndroidManifest.xml, /data/user/0/app.revanced.manager.flutter/files/patcher/tmp-AJGWWV/revanced-temporary-files/apk/build/resources.zip]
	at brut.androlib.AaptInvoker.invokeAapt2(SourceFile:249)
	at brut.androlib.AaptInvoker.invokeAapt(SourceFile:394)
	at app.revanced.patcher.patch.ResourcePatchContext.get(SourceFile:133)
	at app.revanced.patcher.Patcher.get(SourceFile:159)
	at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$34(SourceFile:338)
	at app.revanced.manager.flutter.MainActivity.$r8$lambda$_NYn7P0Ss3RCL0-SqEFL-opMsQw(SourceFile:0)
	at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
	at java.lang.Thread.run(Thread.java:1012)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~f_bF9cPviiRz7VcB1eBjGA==/app.revanced.manager.flutter-u-AqL42PStjdwzxhlrvYRA==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.revanced.manager.flutter/files/patcher/tmp-AJGWWV/revanced-temporary-files/patched/resources/resources.apk, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 35, --version-code, 1549823424, --version-name, 19.47.53, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, --warn-manifest-validation, -e, /data/user/0/app.revanced.manager.flutter/cache/APKTOOL5923917714678708665.tmp, -0, arsc, -I, /data/user/0/app.revanced.manager.flutter/files/patcher/tmp-AJGWWV/revanced-temporary-files/1.apk, --manifest, /data/user/0/app.revanced.manager.flutter/files/patcher/tmp-AJGWWV/revanced-temporary-files/apk/AndroidManifest.xml, /data/user/0/app.revanced.manager.flutter/files/patcher/tmp-AJGWWV/revanced-temporary-files/apk/build/resources.zip]
	at brut.util.OS.exec(SourceFile:104)
	at brut.androlib.AaptInvoker.invokeAapt2(SourceFile:245)
	... 7 more
Something went wrong:
PathNotFoundException: Cannot copy file to '/data/user/0/app.revanced.manager.flutter/files/lastPatchedApp.apk', path = '/data/user/0/app.revanced.manager.flutter/files/patcher/tmp-AJGWWV/out.apk' (OS Error: No such file or directory, errno = 2)

Patch logs

O

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • The bug is only related to ReVanced Manager.
@VaporeonScripts VaporeonScripts added the Bug report Something isn't working label Dec 23, 2024
@jpa102
Copy link

jpa102 commented Dec 28, 2024

i would get the same error if i didn't delete some files to get some storage

@bogzyeet

This comment has been minimized.

@Ushie Ushie closed this as completed Jan 20, 2025
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

4 participants