Sometimes, a new Appium Session is stuck on the code like new AndroidDriver....; There are two main reasons could be for this issue: 1. Incorrect values for platformVersion, deviceName or udid capabilities. Please check that every item has a proper value according to the Device details. 2. Appropriate Device is present in the Mobitru, but it's taken now by another user or autotest. In this case, you can wait for "Available" status or select another device.