Frontesque / scrcpy-plus

A simple GUI for SCRCPY and other ADB functions
MIT License
521 stars 34 forks source link

[MacOS] Device not detected #10

Closed Thelm76 closed 1 year ago

Thelm76 commented 1 year ago

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 commented 1 year ago

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

Frontesque commented 1 year ago

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

alright. sounds good.

Frontesque commented 1 year ago

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

Thelm76 commented 1 year ago

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

Frontesque commented 1 year ago

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!

Thelm76 commented 1 year ago

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 commented 1 year ago

I managed to get some info using logs : image

Thelm76 commented 1 year ago

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

Frontesque commented 1 year ago

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.