Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
111.91k stars 10.71k forks source link

Request: prevent ScrCpy window from closing when I close Android Studio or on other similar cases #4258

Open AndroidDeveloperLB opened 1 year ago

AndroidDeveloperLB commented 1 year ago

Is your feature request related to a problem? Please describe. Yes. As I often use ScrCpy together with Android Studio, but also when not, I often need to close Android Studio, but then ScrCpy closes too.

Describe the solution you'd like To have ScrCpy stay till I'm the one who closes it.

Describe alternatives you've considered The current "workaround" is to start it again.

Additional context Examples that such a thing occur, related to Android Studio:

  1. Update of the IDE
  2. Enable/disable a plugin in the IDE, which requires a restart
  3. Closing all windows of the IDE, manually.
  4. Some closing/starting combination related to multiple versions of the IDE (sometimes I use stable and canary versions of the IDE, at the same time).
rom1v commented 1 year ago

Because Android Studio kills adb?

AndroidDeveloperLB commented 1 year ago

@rom1v Probably. Is there perhaps a way to prevent it? Maybe to auto-restart it?

liuyanhang2004 commented 1 year ago

me too