You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
YouTube was annoying me with "uosate available" notifications so I downloaded the latest revanced recommended version from apkmirror and installed it fresh but when patching I an error that I pasted in the relevant logs section in this issue. Note that original.apk actually does exist at the path in the logs.
Steps to reproduce
I'm not sure which of these steps are irrelevant but here's how I did it:
have a patched youtube installed already
get a newer version of the apk from apkmirror
install that apk to update youtube (and consequently unpatch it)
open revanced manager
choose youtube
try patching
Android version
LineageOS 20
corresponds to android 13
Manager version
1.3.8
Target package name
youtube
Target package version.
18.23.35
Installation type
Root
Patches selected.
The list is pretty long and the bug happens before the patches are even attempted, so I'll leave this empty and will send the patch list if it ends up being needed
Device logs (exported using Manager settings).
Initializing installer
Creating working directory
Copying original apk
An error occurred! Aborted
Error:
kotlin.io.NoSuchFileException: /data/adb/revanced/com.google.android.youtube/original.apk: The source file doesn't exist. at kotlin.io.FilesKt__UtilsKt.copyTo(Utils.kt:219) at kotlin.io.FilesKt__UtilsKt.copyTo$default(Utils.kt:217) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda-20(MainActivity.kt:114) at app.revanced.manager.flutter.MainActivity.$r8$lambda$Rd-IpIH_jmxD15EWmBEFM-jtGsk(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda13.run(Unknown Source:24) at java.lang.Thread.run(Thread.java:1012)
Installer logs (exported using Installer menu option) [unneeded if issue is not during patching].
No response
Screenshots or videos
screen-20230709-110624.mp4
Solution
pressing "Delete temporary files" in settings doesn't help, but using root to open /data/adb/revanced/com.google.android.youtube/ and delete base.apk and original.apk with a file manager and then trying to patch again works.
Type
Error while running the manager
Bug description
YouTube was annoying me with "uosate available" notifications so I downloaded the latest revanced recommended version from apkmirror and installed it fresh but when patching I an error that I pasted in the relevant logs section in this issue. Note that
original.apk
actually does exist at the path in the logs.Steps to reproduce
I'm not sure which of these steps are irrelevant but here's how I did it:
Android version
LineageOS 20
corresponds to android 13
Manager version
1.3.8
Target package name
youtube
Target package version.
18.23.35
Installation type
Root
Patches selected.
The list is pretty long and the bug happens before the patches are even attempted, so I'll leave this empty and will send the patch list if it ends up being needed
Device logs (exported using Manager settings).
Installer logs (exported using Installer menu option) [unneeded if issue is not during patching].
No response
Screenshots or videos
screen-20230709-110624.mp4
Solution
pressing "Delete temporary files" in settings doesn't help, but using root to open
/data/adb/revanced/com.google.android.youtube/
and deletebase.apk
andoriginal.apk
with a file manager and then trying to patch again works.Additional context
https://discord.com/channels/952946952348270622/1127275480333168640
ReVanced/revanced-patcher#205
Acknowledgements
The text was updated successfully, but these errors were encountered: