Access to ADB session

I’m using Python client to test app on real Android device. Most of things works fine but I have one big problem, every time I try to execute some adb command, either appium internal adb session gets killed or I can’t connect to adb server. I need to talk to adb to 1) get system sdk version on the device and then 2) delete file I push to the device. Is there any way to use Appium internal adb session, or at least access the data Appium already collected, like platform sdk version?

You can use

Not while Appium is running, its own adb process blocks usb device.

You can try equivalent in python

1 Like