You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
INFO: Installing com.google.android.youtube by mounting
app.revanced.library.installation.installer.RootInstaller$FailedToFindInstalledPackageException: Failed to find installed package "com.google.android.youtube" because no activity was found
at app.revanced.library.installation.installer.RootInstaller.assertInstalled(RootInstaller.kt:126)
at app.revanced.library.installation.installer.RootInstaller.install$suspendImpl(RootInstaller.kt:55)
at app.revanced.library.installation.installer.RootInstaller.install(RootInstaller.kt)
at app.revanced.cli.command.PatchCommand$run$4$1.invokeSuspend(PatchCommand.kt:360)
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:359)
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
Unfortunately I couldn't verify this, but it seems to me that the condition in
Bug description
java -jar revanced-cli-5.0.0-all.jar patch -p patches-5.0.1.rvp -i [serial] -o output.apk --mount com.google.android.youtube_19.43.41.apk
Raises FailedToFindInstalledPackageException
Error logs
Solution
Unfortunately I couldn't verify this, but it seems to me that the condition in
revanced-library/src/commonMain/kotlin/app/revanced/library/installation/installer/RootInstaller.kt
Line 125 in cace517
Additional context
Running:
pm path com.google.android.youtube
Returns:
package:/data/app/~~_bb1lYTjLPKioHG4NpBMhQ==/com.google.android.youtube-CYzdlf-q6aJnotZmD7abCA==/base.apk
Acknowledgements
The text was updated successfully, but these errors were encountered: