Closed Torombolo00 closed 4 years ago
Hi.
adb.exe
into PATH
environment variable. Something like this (method 2). I'm not sure if windows will apply changes right away, probably you will need to restart your PC.pixel 3
is listening on tcp instead of usb? (it does not matter, I'm just curious)adb disconnect
. After state changed to device
server (nodejs) should "install" scrcpy server to the device, and the value in the PID column should be changed. If it is not try to reload the page, it will trigger check/install sequence for all connected devices. P.S. Actually after you have server running on the device you can do disonnect
and still be able to steam screen (but not to connect to shell) , but you will need to specify parameters (ip
and port
) manually in the url, because the device will disappear from the list.
Please, try to reproduce crash with develop
branch, I added some logging (if it was the right place, then it will not crash, but just print more sensible message).
Hi.
- You need to add path to
adb.exe
intoPATH
environment variable. Something like this (method 2). I'm not sure if windows will apply changes right away, probably you will need to restart your PC.- Why adb on your
pixel 3
is listening on tcp instead of usb? (it does not matter, I'm just curious)- You don't need to run
adb disconnect
. After state changed todevice
server (nodejs) should "install" scrcpy server to the device, and the value in the PID column should be changed. If it is not try to reload the page, it will trigger check/install sequence for all connected devices.P.S. Actually after you have server running on the device you can do
disonnect
and still be able to steam screen (but not to connect to shell) , but you will need to specify parameters (ip
andport
) manually in the url, because the device will disappear from the list.
Thanks for the Reply let me answer the questions.
Done >.> i am dumb this will save me a lot of headaches thanks!
Im used to using TCP instead of usb on my phones so its been hammered in my brain, for me its easier to remember the ip
I waited a bit and boy oooooh boy
PS. i did download the dev build and it seems to get it working 0 errors, will do more test tomorrow.
Thank you so much!!!!!
Hello, ive been trying to figure out how to get this project running but it seems to fail over and over.
i dont know if i installed something wrong and im doing it wrong
Im using a Stock Pixel 3
So here is the situation
I run Npm start and it all goes well i get the list of the paths
and i get this screen on my browser
![1](https://user-images.githubusercontent.com/38669445/90025508-044d2f00-dc6b-11ea-805e-93b13abe7d9b.PNG)then i go into cmd, go to my adb folder in Android SDK and run the adb connect command
i get this image but no options
![2](https://user-images.githubusercontent.com/38669445/90025645-352d6400-dc6b-11ea-9aa6-26b3594ea91a.PNG)so i run and adb disconnect command i get this
![3](https://user-images.githubusercontent.com/38669445/90025718-4a09f780-dc6b-11ea-9eef-b4645723d8ba.PNG)But nothing happens when i click the options, only a blank screen, so i do an adb connect again
and im still not getting anything.
![4](https://user-images.githubusercontent.com/38669445/90025799-6148e500-dc6b-11ea-96a4-48b37cc365de.PNG)now you might be asking why am i doing it this way, and its because in previous version that i used for testing, one of the options had a logcat option, the only way to get that working was with this steps 1- adb connect - See device on list 2- adb disconnect - select logcat option from list 3- adb connect again, refresh logcat page working logcats 4- crashes after 5-10 seconds
Now i tried the following as well 1- adb connect - See device on list 2- adb forward tcp:8886 tcp:8886 3- 127.0.0.1 host 4- same issue and sometimes it crashes
Thank you for you time.
Crash log file.