Skip to content

unable to start scrcpy #53

Open
Open
@n3rdcub

Description

@n3rdcub

Description

When I click the screen share button, it says adb debugging not enabled or connected.

Can start scrcpy just fine from cmd

excerpt from log file

2025-03-24 21:24:38.542 -07:00 [ERR] Error starting scrcpy process
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\ProgramData\chocolatey\lib\scrcpy\scrcpy.exe' with working directory 'C:\WINDOWS\system32'. The system cannot find the file specified.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at Sefirah.App.Services.ScreenMirrorService.<>c__DisplayClass8_0.b__3()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Sefirah.App.Services.ScreenMirrorService.StartScrcpy(String customArgs) 2025-03-24 21:24:38.942 -07:00 [DBG] Windows notification shown for AutoInput 2025-03-24 21:24:39.100 -07:00 [ERR] Error starting scrcpy process System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\ProgramData\chocolatey\lib\scrcpy\scrcpy.exe' with working directory 'C:\WINDOWS\system32'. The system cannot find the file specified. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at Sefirah.App.Services.ScreenMirrorService.<>c__DisplayClass8_0.<StartScrcpy>b__3() at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Sefirah.App.Services.ScreenMirrorService.StartScrcpy(String customArgs)
2025-03-24 21:24:39.350 -07:00 [DBG] Received raw data: {"type":"4","notificationKey":"0|com.joaomgcd.autoinput|-99982927|null|10524","notificationType":"Ne...
2025-03-24 21:24:39.364 -07:00 [DBG] Received raw data: 5nR2NWPQafnU18nBICKgix86/Kl\nqCzODeU5jCWrl9frbdu27bHtTU1NQxhrERXo9Lpk9OCbNCVjdF9baLV1VDds1E9a6HVNTU3...
2025-03-24 21:24:39.364 -07:00 [DBG] Processing message: {"type":"4","notificationKey":"0|com.joaomgcd.autoinput|-99982927|null|10524","notificationType":"Ne...
2025-03-24 21:24:39.365 -07:00 [DBG] Processing notification message from AutoInput
2025-03-24 21:24:39.604 -07:00 [ERR] Error starting scrcpy process
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'C:\ProgramData\chocolatey\lib\scrcpy\scrcpy.exe' with working directory 'C:\WINDOWS\system32'. The system cannot find the file specified.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at Sefirah.App.Services.ScreenMirrorService.<>c__DisplayClass8_0.b__3()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Sefirah.App.Services.ScreenMirrorService.StartScrcpy(String customArgs)

Steps To Reproduce

go to connected device, click on connect

Windows Version

11

Android Version

a15

Android Device

pixel 7

Other details

No response

Log File

wont let me upload log

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions