scrcpy-plus icon indicating copy to clipboard operation
scrcpy-plus copied to clipboard

[MacOS] Device not detected

Open Thelm76 opened this issue 3 years ago • 3 comments

WHEN I launch scrcpy+ AND I try to connect to my android device THEN The device doesn't appear in the list and there are no devices found

image

image

image

Thelm76 avatar Oct 24 '22 15:10 Thelm76

I'll investigate this issue and send logs when I get time

Thelm76 avatar Oct 25 '22 09:10 Thelm76

I'll investigate this issue and send logs when I get time

alright. sounds good.

Frontesque avatar Oct 25 '22 11:10 Frontesque

could you open up the Remote Debugging Console in SCRCPY+ and run $nuxt.$adb("devices") and send me the output?

Frontesque avatar Oct 27 '22 13:10 Frontesque

I'm not familiar enough with JS debugging, could you explain to me how to open this remote console please (I'm using VSCode)?

Thelm76 avatar Oct 31 '22 12:10 Thelm76

I'm not familiar enough with JS debugging, could you explain to me how to open this remote console please (I'm using VSCode)?

sure!

follow the building guide to install your dependencies (I assume you've already done this) and instead of running yarn build run yarn dev and it should pop-up automatically!

Frontesque avatar Oct 31 '22 13:10 Frontesque

I'm not familiar enough with JS debugging, could you explain to me how to open this remote console please (I'm using VSCode)?

sure!

follow the building guide to install your dependencies (I assume you've already done this) and instead of running yarn build run yarn dev and it should pop-up automatically!

Well okay I already got the console then.... I thought it wasn't the good one as I have a "Uncaught ReferenceError: $nuxt is not defined"

EDIT : sorry it's not the same error, I have a "Uncaught TypeError: $nuxt.$adb is not a function"

Thelm76 avatar Nov 03 '22 12:11 Thelm76

I managed to get some info using logs : image

Thelm76 avatar Nov 03 '22 13:11 Thelm76

Okay I found the bug it's working now :D

Thelm76 avatar Nov 03 '22 13:11 Thelm76

Okay I found the bug it's working now :D

I do suggest compiling an older version of SCRCPY+ (v1.5.x) for now as v2 is still quite buggy. When v2 comes out, you can use that but you can just modify 1.5.x with these changes as a temporary fix.

Here is the v1.5.2 codebase.

Frontesque avatar Nov 04 '22 00:11 Frontesque