How to persist Android device AND restart appium studio from command line

I’m running tests on an Android device using AppiumStudio v20, and sometimes I have to kill a test, and the handle to appium is not released. To resolve this, I have to quit appium studio, do an ‘adb kill-server’, start appium studio, and add the device EVERY TIME! Why does it not persist?

How can I get appium studio to persist the device across restarts?

And how do I stop & start appium studio from the command line? I’m on a mac.

Thank you!

Hello Gil,

I have following questions

  • Did you face this problem in previous version of Appium Studio ?
  • or has it happened because you changed the device

Its better you share the log file may be it will give some hints.