
Description
Bug description
I encountered an issue when attempting to apply the "Hide 'Sponsored Stories'" patch to a merged Facebook APK using ReVanced CLI. The patch fails with the following error message:
Error logs
SEVERE: "Hide 'Sponsored Stories'" failed:
app.revanced.patcher.patch.PatchException: Failed to match the fingerprint: app.revanced.patcher.Fingerprint@1f02ce3
at app.revanced.patcher.Fingerprint.getException(Fingerprint.kt:254)
at app.revanced.patcher.Fingerprint.getMatch(Fingerprint.kt:263)
at app.revanced.patcher.Fingerprint.getOriginalMethod(Fingerprint.kt:368)
at app.revanced.patches.facebook.ads.mainfeed.HideSponsoredStoriesPatchKt.hideSponsoredStoriesPatch$lambda$2$lambda$1(HideSponsoredStoriesPatch.kt:20)
at app.revanced.patcher.patch.Patch.execute(Patch.kt:71)
at app.revanced.patcher.patch.BytecodePatch.execute$revanced_patcher(Patch.kt:159)
at app.revanced.patcher.Patcher$invoke$1.invokeSuspend$execute(Patcher.kt:84)
at app.revanced.patcher.Patcher$invoke$1.invokeSuspend(Patcher.kt:109)
at app.revanced.patcher.Patcher$invoke$1.invoke(Patcher.kt)
at app.revanced.patcher.Patcher$invoke$1.invoke(Patcher.kt)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:57)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:226)
at app.revanced.cli.command.PatchCommand$run$1$4.invokeSuspend(PatchCommand.kt:315)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at app.revanced.cli.command.PatchCommand.run(PatchCommand.kt:314)
at picocli.CommandLine.executeUserObject(CommandLine.java:2030)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2465)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2457)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2419)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2421)
at picocli.CommandLine.execute(CommandLine.java:2174)
at app.revanced.cli.command.MainCommandKt.main(MainCommand.kt:12)
Solution
No response
Additional context
-
ReVanced CLI version: 5.0.0
-
Patches version: 5.2.0-dev.4
-
Facebook APK version: 492.0.0.60.80
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.