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: Cannot copy file to '/data/user/0/app.revanced.manager.flutter/files/lastPatchedApp.apk', #2199

Closed
4 tasks done
klepsydra opened this issue Sep 9, 2024 · 5 comments
Closed
4 tasks done
Labels
Bug report Something isn't working

Comments

@klepsydra
Copy link

klepsydra commented Sep 9, 2024

Bug description

Plain patch fails for YouTube
(one open issue for PathNotFoundException is marked as SPAM and blocked from posting; "waiting for author")
None of those mentioned remedies worked for me. I.e. disabling certain patches, Clear cache AND data for ReVanced Manager: 1.21.2

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

ReVanced Manager: 1.21.2
App: com.google.android.youtube v19.16.39 (Suggested: 19.16.39)

Installation method

None

ReVanced Manager logs

Here is the bottom of the log:

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/cache/patcher/tmp-PSBORD/out.apk' (OS Error: No such file or directory, errno = 2)

Patch logs

- Device Info
ReVanced Manager: 1.21.2
Model: Pixel 8
Android version: 14
Supported architectures: arm64-v8a
Root permissions: No

- Patch Info
App: com.google.android.youtube v19.16.39 (Suggested: 19.16.39)
Patches version: v4.13.3
Patches added: Default
Patches removed: None
Default patch options changed: None

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

- Logs
Reading APK
Decoding app manifest
Loading patches
Merging integrations
Deleting existing temporary files directory
Decoding resources
Executing patches
Applied 52 patches
Downloads failed: app.revanced.patcher.patch.PatchException: 'Downloads' depends on 'DownloadsResourcePatch' that raised an exception:
app.revanced.patcher.patch.PatchException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/drawable/revanced_yt_download_button.xml
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:242)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/drawable/revanced_yt_download_button.xml
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:57)
at app.revanced.patches.youtube.interaction.downloads.DownloadsResourcePatch.execute(DownloadsResourcePatch.kt:40)
at app.revanced.patches.youtube.interaction.downloads.DownloadsResourcePatch.execute(DownloadsResourcePatch.kt:17)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:190)
... 19 more

at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:148)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
GmsCore support failed: app.revanced.patcher.patch.PatchException: 'GmsCore support' depends on 'GmsCoreSupportResourcePatch' that raised an exception:
app.revanced.patcher.patch.PatchException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/AndroidManifest.xml: open failed: ENOENT (No such file or directory)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:242)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.io.FileNotFoundException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/AndroidManifest.xml: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileInputStream.<init>(FileInputStream.java:160)
at kotlin.io.FilesKt__FileReadWriteKt.readText(Unknown Source:14)
at kotlin.io.FilesKt__FileReadWriteKt.readText$default(Unknown Source:6)
at app.revanced.patches.shared.misc.gms.BaseGmsCoreSupportResourcePatch.patchManifest(BaseGmsCoreSupportResourcePatch.kt:110)
at app.revanced.patches.shared.misc.gms.BaseGmsCoreSupportResourcePatch.execute(BaseGmsCoreSupportResourcePatch.kt:48)
at app.revanced.patches.youtube.misc.gms.GmsCoreSupportResourcePatch.execute(GmsCoreSupportResourcePatch.kt:29)
at app.revanced.patches.youtube.misc.gms.GmsCoreSupportResourcePatch.execute(GmsCoreSupportResourcePatch.kt:11)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:190)
... 19 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8478)
at libcore.io.IoBridge.open(IoBridge.java:560)
... 27 more

at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:148)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Hide seekbar failed: app.revanced.patcher.patch.PatchException: 'Hide seekbar' depends on 'SeekbarColorBytecodePatch' that raised an exception:
app.revanced.patcher.patch.PatchException: 'SeekbarColorBytecodePatch' depends on 'SeekbarColorResourcePatch' that raised an exception:
app.revanced.patcher.patch.PatchException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/drawable/resume_playback_progressbar_drawable.xml: open failed: ENOENT (No such file or directory)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:242)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.io.FileNotFoundException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/drawable/resume_playback_progressbar_drawable.xml: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileInputStream.<init>(FileInputStream.java:160)
at app.revanced.patcher.util.Document.<init>(SourceFile:0)
at app.revanced.patcher.util.DomFileEditor.<init>(SourceFile:0)
at app.revanced.patcher.data.ResourceContext$XmlFileHolder.get(SourceFile:0)
at app.revanced.patches.youtube.layout.seekbar.SeekbarColorResourcePatch.execute(SeekbarColorResourcePatch.kt:32)
at app.revanced.patches.youtube.layout.seekbar.SeekbarColorResourcePatch.execute(SeekbarColorResourcePatch.kt:11)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:190)
... 20 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8478)
at libcore.io.IoBridge.open(IoBridge.java:560)
... 27 more

at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:148)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)

at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:148)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Playback speed failed: app.revanced.patcher.patch.PatchException: 'Playback speed' depends on 'PlaybackSpeedButtonPatch' that raised an exception:
app.revanced.patcher.patch.PatchException: 'PlaybackSpeedButtonPatch' depends on 'PlaybackSpeedButtonResourcePatch' that raised an exception:
app.revanced.patcher.patch.PatchException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/drawable/revanced_playback_speed_dialog_button.xml
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:242)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/drawable/revanced_playback_speed_dialog_button.xml
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:57)
at app.revanced.patches.youtube.video.speed.button.PlaybackSpeedButtonResourcePatch.execute(PlaybackSpeedButtonResourcePatch.kt:15)
at app.revanced.patches.youtube.video.speed.button.PlaybackSpeedButtonResourcePatch.execute(PlaybackSpeedButtonResourcePatch.kt:10)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:190)
... 20 more

at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:148)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)

at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:148)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
SponsorBlock failed: app.revanced.patcher.patch.PatchException: 'SponsorBlock' depends on 'SponsorBlockResourcePatch' that raised an exception:
app.revanced.patcher.patch.PatchException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/layout/revanced_sb_inline_sponsor_overlay.xml
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:242)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/layout/revanced_sb_inline_sponsor_overlay.xml
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:57)
at app.revanced.patches.youtube.layout.sponsorblock.SponsorBlockResourcePatch.execute(SponsorBlockResourcePatch.kt:60)
at app.revanced.patches.youtube.layout.sponsorblock.SponsorBlockResourcePatch.execute(SponsorBlockResourcePatch.kt:17)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:190)
... 19 more

at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:148)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Swipe controls failed: app.revanced.patcher.patch.PatchException: 'Swipe controls' depends on 'SwipeControlsResourcePatch' that raised an exception:
app.revanced.patcher.patch.PatchException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/drawable/revanced_ic_sc_brightness_auto.xml
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:242)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.nio.file.NoSuchFileException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/drawable/revanced_ic_sc_brightness_auto.xml
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:220)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.copy(Files.java:3016)
at app.revanced.util.ResourceUtilsKt.copyResources(ResourceUtils.kt:57)
at app.revanced.patches.youtube.interaction.swipecontrols.SwipeControlsResourcePatch.execute(SwipeControlsResourcePatch.kt:34)
at app.revanced.patches.youtube.interaction.swipecontrols.SwipeControlsResourcePatch.execute(SwipeControlsResourcePatch.kt:14)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:190)
... 19 more

at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:148)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Theme failed: app.revanced.patcher.patch.PatchException: 'Theme' depends on 'SeekbarColorBytecodePatch' that raised an exception:
app.revanced.patcher.patch.PatchException: 'SeekbarColorBytecodePatch' depends on 'SeekbarColorResourcePatch' that raised an exception:
app.revanced.patcher.patch.PatchException: 'SeekbarColorResourcePatch' did not succeed previously
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:45)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)

at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:148)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:91)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)

at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:148)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:282)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Change package name failed: app.revanced.patcher.patch.PatchException: 'Change package name' raised an exception while being closed: app.revanced.patcher.patch.PatchException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/AndroidManifest.xml: open failed: ENOENT (No such file or directory)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:487)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.io.FileNotFoundException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/AndroidManifest.xml: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileInputStream.<init>(FileInputStream.java:160)
at app.revanced.patcher.util.Document.<init>(SourceFile:0)
at app.revanced.patcher.util.DomFileEditor.<init>(SourceFile:0)
at app.revanced.patcher.data.ResourceContext$XmlFileHolder.get(SourceFile:0)
at app.revanced.patches.all.misc.packagename.ChangePackageNamePatch.close(ChangePackageNamePatch.kt:55)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:474)
... 17 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8478)
at libcore.io.IoBridge.open(IoBridge.java:560)
... 23 more

at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:545)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: app.revanced.patcher.patch.PatchException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/AndroidManifest.xml: open failed: ENOENT (No such file or directory)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:487)
... 17 more
Caused by: java.io.FileNotFoundException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/AndroidManifest.xml: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileInputStream.<init>(FileInputStream.java:160)
at app.revanced.patcher.util.Document.<init>(SourceFile:0)
at app.revanced.patcher.util.DomFileEditor.<init>(SourceFile:0)
at app.revanced.patcher.data.ResourceContext$XmlFileHolder.get(SourceFile:0)
at app.revanced.patches.all.misc.packagename.ChangePackageNamePatch.close(ChangePackageNamePatch.kt:55)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:474)
... 17 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8478)
at libcore.io.IoBridge.open(IoBridge.java:560)
... 23 more
null failed: app.revanced.patcher.patch.PatchException: 'BottomControlsResourcePatch' raised an exception while being closed: app.revanced.patcher.patch.PatchException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/layout/youtube_controls_bottom_ui_container.xml: open failed: ENOENT (No such file or directory)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:487)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.io.FileNotFoundException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/layout/youtube_controls_bottom_ui_container.xml: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileOutputStream.<init>(FileOutputStream.java:236)
at java.io.FileOutputStream.<init>(FileOutputStream.java:186)
at app.revanced.patcher.util.Document.close(Unknown Source:27)
at app.revanced.patcher.util.DomFileEditor.close(Unknown Source:13)
at app.revanced.patches.youtube.misc.playercontrols.BottomControlsResourcePatch.close(BottomControlsResourcePatch.kt:71)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:474)
... 17 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8478)
at libcore.io.IoBridge.open(IoBridge.java:560)
... 23 more

at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:545)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: app.revanced.patcher.patch.PatchException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/layout/youtube_controls_bottom_ui_container.xml: open failed: ENOENT (No such file or directory)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:487)
... 17 more
Caused by: java.io.FileNotFoundException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/layout/youtube_controls_bottom_ui_container.xml: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileOutputStream.<init>(FileOutputStream.java:236)
at java.io.FileOutputStream.<init>(FileOutputStream.java:186)
at app.revanced.patcher.util.Document.close(Unknown Source:27)
at app.revanced.patcher.util.DomFileEditor.close(Unknown Source:13)
at app.revanced.patches.youtube.misc.playercontrols.BottomControlsResourcePatch.close(BottomControlsResourcePatch.kt:71)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:474)
... 17 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8478)
at libcore.io.IoBridge.open(IoBridge.java:560)
... 23 more
null failed: app.revanced.patcher.patch.PatchException: 'SettingsResourcePatch' raised an exception while being closed: app.revanced.patcher.patch.PatchException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/xml/settings_fragment.xml: open failed: ENOENT (No such file or directory)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:487)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.io.FileNotFoundException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/xml/settings_fragment.xml: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileInputStream.<init>(FileInputStream.java:160)
at app.revanced.patcher.util.Document.<init>(SourceFile:0)
at app.revanced.patcher.util.DomFileEditor.<init>(SourceFile:0)
at app.revanced.patcher.data.ResourceContext$XmlFileHolder.get(SourceFile:0)
at app.revanced.patches.shared.misc.settings.BaseSettingsResourcePatch.close(BaseSettingsResourcePatch.kt:60)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:474)
... 17 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8478)
at libcore.io.IoBridge.open(IoBridge.java:560)
... 23 more

at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:545)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:98)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:23)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:26)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$35(Unknown Source:437)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$t9VOe3aFJZkCMY59Ya4Pcinu-pA(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda6.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
Caused by: app.revanced.patcher.patch.PatchException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/xml/settings_fragment.xml: open failed: ENOENT (No such file or directory)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:487)
... 17 more
Caused by: java.io.FileNotFoundException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/apk/res/xml/settings_fragment.xml: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileInputStream.<init>(FileInputStream.java:160)
at app.revanced.patcher.util.Document.<init>(SourceFile:0)
at app.revanced.patcher.util.DomFileEditor.<init>(SourceFile:0)
at app.revanced.patcher.data.ResourceContext$XmlFileHolder.get(SourceFile:0)
at app.revanced.patches.shared.misc.settings.BaseSettingsResourcePatch.close(BaseSettingsResourcePatch.kt:60)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:474)
... 17 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8478)
at libcore.io.IoBridge.open(IoBridge.java:560)
... 23 more
Compiling patched dex files
Compiled 4 dex files
An error occurred:
java.io.FileNotFoundException: /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-PSBORD/revanced-temporary-files/patched/dex/classes4.dex: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:289)
at com.android.tools.smali.dexlib2.writer.io.FileDataStore.<init>(Unknown Source:7)
at lanchon.multidexlib2.DexIO.writeMultiDexDirectoryCommon(Unknown Source:80)
at lanchon.multidexlib2.DexIO.access$000(Unknown Source:0)
at lanchon.multidexlib2.DexIO$1.call(SourceFile:0)
at lanchon.multidexlib2.DexIO$1.call(SourceFile:0)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8478)
at libcore.io.IoBridge.open(IoBridge.java:560)
... 10 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/cache/patcher/tmp-PSBORD/out.apk' (OS Error: No such file or directory, errno = 2)

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.
@klepsydra klepsydra added the Bug report Something isn't working label Sep 9, 2024
@kitadai31
Copy link
Contributor

kitadai31 commented Sep 9, 2024

It seems to be an instance of issue #2120
#2193 will fix this

@kitadai31
Copy link
Contributor

kitadai31 commented Sep 9, 2024

Sorry for posting comments in a row, but can you provide storage size and how much storage left? (for my reference)

@klepsydra
Copy link
Author

249GB used / 256GB total.
6.92GB free

Sorry for posting comments in a row, but can you provide storage size and how much storage left? (for my reference)

@oSumAtrIX
Copy link
Member

#2120

@oSumAtrIX oSumAtrIX closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2024
@validcube validcube linked a pull request Sep 9, 2024 that will close this issue
@validcube validcube removed a link to a pull request Sep 9, 2024
@oSumAtrIX
Copy link
Member

Open a new issue

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

3 participants