I have a Nexus 5X running Android 7.0 (security patch level: November 5, 2016, build number: N5D91L) connected to my Mac with USB debugging turned on.
ADB recognizes the device (therefore, this solution does not matter):
$ adb devices -l List of devices attached * daemon not running. starting it now on port 5037 * * daemon started successfully * 016e07928f462163 device usb:337641472X product:bullhead model:Nexus_5X device:bullhead
I turn on the Selendroid server using a demo installation :
java -jar selendroid-standalone-0.17.0-with-dependencies.jar -app selendroid-test-app-0.17.0.apk
But when I check http://localhost:4444/wd/hub/status , the device is not listed in supportedDevices :
{ "value": { "os": { "name": "Mac OS X", "arch": "x86_64", "version": "10.11.6" }, "build": { "browserName": "selendroid", "version": "0.17.0" }, "supportedDevices": [], "supportedApps": [ { "mainActivity": "io.selendroid.testapp.HomeScreenActivity", "appId": "io.selendroid.testapp:0.17.0", "basePackage": "io.selendroid.testapp" }, { "mainActivity": "io.selendroid.androiddriver.WebViewActivity", "appId": "io.selendroid.androiddriver:0.17.0", "basePackage": "io.selendroid.androiddriver" } ] }, "status": 0 }
In the same basic procedure, an Android 6 device or emulator will be shown.
How can I get Selendroid to recognize an Android 7 device?