ReVanced / revanced-cli

💻 Command-line application to use ReVanced
https://revanced.app
GNU General Public License v3.0
1.06k stars 164 forks source link

bug: Stabilization YouTube version patch error #234

Closed sssh7710 closed 1 year ago

sssh7710 commented 1 year ago

Type

Error while running the CLI

Bug description

A patch error occurred while updating to a new version

Steps to reproduce

Attempting to patch all items in 18.27.xx version results in an error on the way

Relevant log output

INFO: Reading dex files 
INFO: Decoding AndroidManifest.xml only, because resources are not needed 
INFO: Merging revanced-integrations-v0.113.0.apk 
INFO: Deleting existing resource cache directory 
INFO: Decoding resources 
INFO: Executing patches 
INFO: Always autorepeat succeeded 
SEVERE: Change package name failed: 
app.revanced.patcher.patch.PatchResultError: No package name provided
    at app.revanced.patches.all.misc.packagename.patch.ChangePackageNamePatch.execute(ChangePackageNamePatch.kt:35)
    at app.revanced.patches.all.misc.packagename.patch.ChangePackageNamePatch.execute(ChangePackageNamePatch.kt:11)
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:333)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
SEVERE: Client spoof failed: 
app.revanced.patcher.patch.PatchResultError: 'Client spoof' depends on 'Spoof signature verification' but the following error was raised: 'Spoof signature verification' depends on 'Player type hook' but the following error was raised: Failed to resolve VideoStateFingerprint
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:312)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: Comments succeeded 
SEVERE: Copy video url failed: 
app.revanced.patcher.patch.PatchResultError: 'Copy video url' depends on 'Player controls bytecode patch' but the following error was raised: java.lang.NullPointerException
    at app.revanced.patches.youtube.misc.playercontrols.bytecode.patch.PlayerControlsBytecodePatch.execute(PlayerControlsBytecodePatch.kt:28)
    at app.revanced.patches.youtube.misc.playercontrols.bytecode.patch.PlayerControlsBytecodePatch.execute(PlayerControlsBytecodePatch.kt:19)
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:333)
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:309)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)

    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:312)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: Custom branding succeeded 
INFO: Disable Shorts on startup succeeded 
SEVERE: Disable auto captions failed: 
app.revanced.patcher.patch.PatchResultError
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:337)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
Caused by: java.lang.NullPointerException
    at app.revanced.patches.youtube.layout.autocaptions.patch.AutoCaptionsPatch.execute(AutoCaptionsPatch.kt:53)
    at app.revanced.patches.youtube.layout.autocaptions.patch.AutoCaptionsPatch.execute(AutoCaptionsPatch.kt:23)
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:333)
    ... 16 more
SEVERE: Disable fullscreen panels failed: 
app.revanced.patcher.patch.PatchResultError
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:337)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
Caused by: java.lang.NullPointerException
    at app.revanced.patches.youtube.layout.panels.fullscreen.remove.patch.FullscreenPanelsRemoverPatch.execute(FullscreenPanelsRemoverPatch.kt:45)
    at app.revanced.patches.youtube.layout.panels.fullscreen.remove.patch.FullscreenPanelsRemoverPatch.execute(FullscreenPanelsRemoverPatch.kt:24)
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:333)
    ... 16 more
INFO: Disable player popup panels succeeded 
INFO: Disable zoom haptics succeeded 
INFO: Enable android debugging succeeded 
INFO: Enable debugging succeeded 
INFO: Export all activities succeeded 
SEVERE: External downloads failed: 
app.revanced.patcher.patch.PatchResultError: 'External downloads' depends on 'Player controls bytecode patch' but the following error was raised: 'Player controls bytecode patch' did not succeed previously
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:312)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: HDR auto brightness succeeded 
INFO: Hide Shorts components succeeded 
INFO: Hide ads succeeded 
INFO: Hide album cards succeeded 
SEVERE: Hide autoplay button failed: 
app.revanced.patcher.patch.PatchResultError: Failed to resolve LayoutConstructorFingerprint
    at app.revanced.extensions.ExtensionsKt.toErrorResult(Extensions.kt:22)
    at app.revanced.patches.youtube.layout.buttons.autoplay.patch.HideAutoplayButtonPatch.execute(HideAutoplayButtonPatch.kt:75)
    at app.revanced.patches.youtube.layout.buttons.autoplay.patch.HideAutoplayButtonPatch.execute(HideAutoplayButtonPatch.kt:29)
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:333)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: Hide breaking news shelf succeeded 
SEVERE: Hide captions button failed: 
app.revanced.patcher.patch.PatchResultError
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:337)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
Caused by: java.lang.NullPointerException
    at app.revanced.patches.youtube.layout.buttons.captions.patch.HideCaptionsButtonPatch.execute(HideCaptionsButtonPatch.kt:40)
    at app.revanced.patches.youtube.layout.buttons.captions.patch.HideCaptionsButtonPatch.execute(HideCaptionsButtonPatch.kt:21)
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:333)
    ... 16 more
INFO: Hide cast button succeeded 
INFO: Hide crowdfunding box succeeded 
INFO: Hide email address succeeded 
INFO: Hide endscreen cards succeeded 
INFO: Hide filter bar succeeded 
INFO: Hide floating microphone button succeeded 
INFO: Hide info cards succeeded 
INFO: Hide layout components succeeded 
SEVERE: Hide load more button failed: 
app.revanced.patcher.patch.PatchResultError: Failed to resolve HideLoadMoreButtonFingerprint
    at app.revanced.extensions.ExtensionsKt.toErrorResult(Extensions.kt:22)
    at app.revanced.patches.youtube.layout.hide.loadmorebutton.bytecode.patch.HideLoadMoreButtonPatch.execute(HideLoadMoreButtonPatch.kt:40)
    at app.revanced.patches.youtube.layout.hide.loadmorebutton.bytecode.patch.HideLoadMoreButtonPatch.execute(HideLoadMoreButtonPatch.kt:20)
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:333)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: Hide player buttons succeeded 
SEVERE: Hide player overlay failed: 
app.revanced.patcher.patch.PatchResultError: Failed to resolve CreatePlayerOverviewFingerprint
    at app.revanced.extensions.ExtensionsKt.toErrorResult(Extensions.kt:22)
    at app.revanced.patches.youtube.layout.hide.player.overlay.bytecode.patch.HidePlayerOverlayPatch.execute(HidePlayerOverlayPatch.kt:42)
    at app.revanced.patches.youtube.layout.hide.player.overlay.bytecode.patch.HidePlayerOverlayPatch.execute(HidePlayerOverlayPatch.kt:21)
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:333)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: Hide seekbar succeeded 
SEVERE: Hide timestamp failed: 
app.revanced.patcher.patch.PatchResultError: Failed to resolve TimeCounterFingerprint
    at app.revanced.extensions.ExtensionsKt.toErrorResult(Extensions.kt:22)
    at app.revanced.patches.youtube.layout.hide.time.patch.HideTimestampPatch.execute(HideTimestampPatch.kt:54)
    at app.revanced.patches.youtube.layout.hide.time.patch.HideTimestampPatch.execute(HideTimestampPatch.kt:21)
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:333)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: Hide video action buttons succeeded 
INFO: Hide watch in VR succeeded 
INFO: Hide watermark succeeded 
SEVERE: Minimized playback failed: 
app.revanced.patcher.patch.PatchResultError: 'Minimized playback' depends on 'Player type hook' but the following error was raised: 'Player type hook' did not succeed previously
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:312)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: Navigation buttons succeeded 
INFO: Old video quality menu succeeded 
INFO: Open links externally succeeded 
SEVERE: Playback speed failed: 
app.revanced.patcher.patch.PatchResultError: 'Playback speed' depends on 'Remember playback speed' but the following error was raised: 'Remember playback speed' depends on 'Video information' but the following error was raised: 'Video information' depends on 'Video id hook' but the following error was raised: Failed to resolve VideoIdFingerprint
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:312)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: Predictive back gesture succeeded 
INFO: Premium heading succeeded 
SEVERE: Remember video quality failed: 
app.revanced.patcher.patch.PatchResultError: 'Remember video quality' depends on 'Video information' but the following error was raised: 'Video information' depends on 'Video id hook' but the following error was raised: 'Video id hook' did not succeed previously
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:312)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: Remove player controls background succeeded 
INFO: Remove screen capture restriction succeeded 
INFO: Remove screenshot restriction succeeded 
SEVERE: Return YouTube Dislike failed: 
app.revanced.patcher.patch.PatchResultError: 'Return YouTube Dislike' depends on 'Video id hook' but the following error was raised: 'Video id hook' did not succeed previously
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:312)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: Seekbar tapping succeeded 
SEVERE: SponsorBlock failed: 
app.revanced.patcher.patch.PatchResultError: 'SponsorBlock' depends on 'Video id hook' but the following error was raised: 'Video id hook' did not succeed previously
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:312)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: Spoof app version succeeded 
INFO: Spoof wifi connection succeeded 
SEVERE: Swipe controls failed: 
app.revanced.patcher.patch.PatchResultError: 'Swipe controls' depends on 'Player type hook' but the following error was raised: 'Player type hook' did not succeed previously
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:312)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
SEVERE: Tablet mini player failed: 
app.revanced.patcher.patch.PatchResultError: Failed to resolve MiniPlayerOverrideFingerprint
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:337)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
Caused by: app.revanced.patcher.patch.PatchResultError: Failed to resolve MiniPlayerOverrideFingerprint
    at app.revanced.extensions.ExtensionsKt.toErrorResult(Extensions.kt:22)
    at app.revanced.patches.youtube.layout.tabletminiplayer.patch.TabletMiniPlayerPatch.execute(TabletMiniPlayerPatch.kt:72)
    at app.revanced.patches.youtube.layout.tabletminiplayer.patch.TabletMiniPlayerPatch.execute(TabletMiniPlayerPatch.kt:27)
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:333)
    ... 16 more
INFO: Theme succeeded 
SEVERE: Vanced MicroG support failed: 
app.revanced.patcher.patch.PatchResultError: 'Vanced MicroG support' depends on 'Client spoof' but the following error was raised: 'Client spoof' depends on 'Spoof signature verification' but the following error was raised: 'Spoof signature verification' depends on 'Player type hook' but the following error was raised: 'Player type hook' did not succeed previously
    at app.revanced.patcher.Patcher.executePatches$executePatch(Patcher.kt:312)
    at app.revanced.patcher.Patcher.access$executePatches$executePatch(Patcher.kt:38)
    at app.revanced.patcher.Patcher$executePatches$1.invokeSuspend(Patcher.kt:358)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:83)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:19)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
INFO: Video ads succeeded 
INFO: Wide searchbar succeeded 
INFO: Compiling resources 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8775: error: resource android:color/bright_foreground_dark_disabled is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8778: error: resource android:color/btn_default_material_dark is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8779: error: resource android:color/btn_leanback_color is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8780: error: resource android:color/bright_foreground_dark_inverse is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8781: error: resource android:color/btn_default_material_light is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8782: error: resource android:color/btn_leanback_focused is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8783: error: resource android:color/background_floating_device_default_light is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8784: error: resource android:color/background_device_default_light is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8785: error: resource android:color/car_action1 is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8786: error: resource android:color/car_action1_dark is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8787: error: resource android:color/background_holo_light is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8788: error: resource android:color/background_floating_material_light is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8789: error: resource android:color/car_blue_100 is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8790: error: resource android:color/car_blue_200 is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8791: error: resource android:color/bright_foreground_disabled_holo_light is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8792: error: resource android:color/accent_device_default_700 is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8793: error: resource android:color/btn_colored_borderless_text_material is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8794: error: resource android:color/bright_foreground_dark is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8795: error: resource android:color/background_material_dark is private. 
WARNING: /data/data/com.termux/files/home/revancify-data/revanced-cache/res/values/styles.xml:8796: error: resource android:color/car_blue_50 is private. 
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [./aapt2, link, -o, /data/data/com.termux/files/home/revancify-data/revanced-cache/aapt_temp_file, --min-sdk-version, 26, --target-sdk-version, 33, --version-code, 1538774464, --version-name, 18.27.34, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/data/com.termux/files/usr/tmp/APKTOOL13896470202748161622.tmp, -0, arsc, -I, revanced-cache/1.apk, --manifest, /data/data/com.termux/files/home/revancify-data/revanced-cache/AndroidManifest.xml, /data/data/com.termux/files/home/revancify-data/revanced-cache/build/resources.zip]
    at brut.androlib.res.AndrolibResources.aapt2Package(AndrolibResources.java:484)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:619)
    at app.revanced.patcher.Patcher.save(Patcher.kt:128)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:21)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:167)
    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.main.MainKt.main(Main.kt:7)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [./aapt2, link, -o, /data/data/com.termux/files/home/revancify-data/revanced-cache/aapt_temp_file, --min-sdk-version, 26, --target-sdk-version, 33, --version-code, 1538774464, --version-name, 18.27.34, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/data/com.termux/files/usr/tmp/APKTOOL13896470202748161622.tmp, -0, arsc, -I, revanced-cache/1.apk, --manifest, /data/data/com.termux/files/home/revancify-data/revanced-cache/AndroidManifest.xml, /data/data/com.termux/files/home/revancify-data/revanced-cache/build/resources.zip]
    at brut.util.OS.exec(OS.java:99)
    at brut.androlib.res.AndrolibResources.aapt2Package(AndrolibResources.java:480)
    ... 13 more

Variant: nonRoot
Arch: arm64-v8a
App: YouTube v18.27.34
CLI: revanced-cli-v2.22.0.jar
Patches: revanced-patches-v2.185.0.jar
Integrations: revanced-integrations-v0.113.0.apk
Patches argument: -i always-autorepeat
-i change-package-name
-i client-spoof
-i comments
-i copy-video-url
-i custom-branding
-i disable-shorts-on-startup
-i disable-auto-captions
-i disable-fullscreen-panels
-i disable-player-popup-panels
-i disable-zoom-haptics
-i enable-android-debugging
-i enable-debugging
-i export-all-activities
-i external-downloads
-i hdr-auto-brightness
-i hide-shorts-components
-i hide-ads
-i hide-album-cards
-i hide-autoplay-button
-i hide-breaking-news-shelf
-i hide-captions-button
-i hide-cast-button
-i hide-crowdfunding-box
-i hide-email-address
-i hide-endscreen-cards
-i hide-filter-bar
-i hide-floating-microphone-button
-i hide-info-cards
-i hide-layout-components
-i hide-load-more-button
-i hide-player-buttons
-i hide-player-overlay
-i hide-seekbar
-i hide-timestamp
-i hide-video-action-buttons
-i hide-watch-in-vr
-i hide-watermark
-i minimized-playback
-i navigation-buttons
-i old-video-quality-menu
-i open-links-externally
-i playback-speed
-i predictive-back-gesture
-i premium-heading
-i remember-video-quality
-i remove-player-controls-background
-i remove-screen-capture-restriction
-i remove-screenshot-restriction
-i return-youtube-dislike
-i seekbar-tapping
-i sponsorblock
-i spoof-app-version
-i spoof-wifi-connection
-i swipe-controls
-i tablet-mini-player
-i theme
-i vanced-microg-support
-i video-ads
-i wide-searchbar

Screenshots or videos

No response

Solution

No response

Additional context

No response

Acknowledgements

LisoUseInAIKyrios commented 1 year ago

You are including chance package name patch, but did not include the options JSON with the package name.

YouTube does not benefit from any of the universal patches anyways. Don't use them. Only patch with recommend.

And you are patching an unsupported version of YouTube.

Not a bug, this is user error.

oSumAtrIX commented 1 year ago

You set the experimental option to true.