ReVanced / revanced-patches

🧩 Patches for ReVanced
https://revanced.app
GNU General Public License v3.0
2.25k stars 261 forks source link

bug: SPOTIFY - SEVERE: hide-premium-navbar failed #2031

Closed AMSAMSAMSAMS closed 1 year ago

AMSAMSAMSAMS commented 1 year ago

Type

Error while patching

Bug description

CLI: v2.12.0 Patches: v2.71.2 Integrations: v0.44.0 APK: v8.7.68.568

Steps to reproduce

sudo java -jar revanced-cli--all.jar -a Spotify_.apk -c -o Spotify.apk -b revanced-patches-*.jar -m app-release-unsigned.apk -e spotify-theme

Relevant log output

SEVERE: hide-premium-navbar failed: 
app.revanced.patcher.patch.PatchResultError: 'hide-premium-navbar' depends on 'hide-premium-navbar' but the following error was raised: java.io.FileNotFoundException: revanced-cache/res/values/public.xml (No such file or directory)
    at app.revanced.patcher.Patcher.applyPatch(Patcher.kt:259)
    at app.revanced.patcher.Patcher.access$applyPatch(Patcher.kt:46)
    at app.revanced.patcher.Patcher$applyPatches$1.invokeSuspend(Patcher.kt:383)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:127)
    at app.revanced.utils.patcher.PatcherKt.applyPatchesVerbose(Patcher.kt:92)
    at app.revanced.cli.patcher.Patcher.start$revanced_cli(Patcher.kt:24)
    at app.revanced.cli.command.MainCommand.run(MainCommand.kt:157)
    at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
    at picocli.CommandLine.access$1300(CommandLine.java:145)
    at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
    at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
    at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
    at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
    at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
    at picocli.CommandLine.execute(CommandLine.java:2078)
    at app.revanced.cli.main.MainKt.main(Main.kt:7)

Screenshots or videos

No response

Solution

No response

Additional context

No response

Acknowledgements

oSumAtrIX commented 1 year ago

ReVanced/revanced-patches-template#2058