Skip to content

[Bug]: While using PC Patcher, adb crashes with error while installing apk #61

@boowoompTheOffical

Description

@boowoompTheOffical

All of the following criteria must be met

  • All Requirements must be installed.
  • Changed the title so that it doesn't just says "[Bug]: "
  • I have searched the GitHub issues for my bug, even in the closed issues.

All of the following are optional to answer

  • Tried reinstalling the Game.
  • Tried reinstalling MelonLoader.
  • Tried restarting PC.
  • Was able to see the Start Screen.

Describe the issue.

When installing apk, it does this after like 5 minutes

25-7-13_18-0-32.log

Installing, please wait... AdvancedSharpAdbClient.Exceptions.AdbException: An error occurred while receiving data from the adb server: An existing connection was forcibly closed by the remote host.. ---> System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host. at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at AdvancedSharpAdbClient.AdbSocket.ReadAsync(Memory1 data, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at AdvancedSharpAdbClient.AdbSocket.ReadAsync(Memory1 data, CancellationToken cancellationToken) at AdvancedSharpAdbClient.AdbClient.InstallAsync(DeviceData device, Stream apk, Action1 callback, CancellationToken cancellationToken, String[] arguments)
at MelonLoader.Installer.App.Utils.ADBManager.InstallAPK(String apkPath) in X:\Projects\GitHub\MelonLoaderInstaller\App\Utils\ADBManager.cs:line 79
at MelonLoader.Installer.App.Utils.APKInstaller.InternalInstall() in X:\Projects\GitHub\MelonLoaderInstaller\App\Utils\APKInstaller.cs:line 115
at MelonLoader.Installer.App.Utils.APKInstaller.UninstallPackage() in X:\Projects\GitHub\MelonLoaderInstaller\App\Utils\APKInstaller.cs:line 145
at MelonLoader.Installer.App.Utils.APKInstaller.Install(String apkDirectory) in X:\Projects\GitHub\MelonLoaderInstaller\App\Utils\APKInstaller.cs:line 58
at MelonLoader.Installer.App.Utils.PatchRunner.ReinstallApp(Data data) in X:\Projects\GitHub\MelonLoaderInstaller\App\Utils\PatchRunner.cs:line 459
at MelonLoader.Installer.App.Utils.PatchRunner.InternalBegin(Data data, String localUnityDepsPath) in X:\Projects\GitHub\MelonLoaderInstaller\App\Utils\PatchRunner.cs:line 93
at MelonLoader.Installer.App.Utils.PatchRunner.<>c__DisplayClass11_0.<b__0>d.MoveNext() in X:\Projects\GitHub\MelonLoaderInstaller\App\Utils\PatchRunner.cs:line 60
--- End of stack trace from previous location ---
at MelonLoader.Installer.App.Utils.PatchRunner.Begin(Data data, String localUnityDepsPath) in X:\Projects\GitHub\MelonLoaderInstaller\App\Utils\PatchRunner.cs:line 61
Patching failed.`

Did you attach your log file?

Select an option below

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions