Appium is not identifying the device -


i new appium. did set configurations , tried test samsung galaxy tab of android kitkat 4.4.2. device not getting identified appium. device getting identified android not appium.please me resolve issue.

i giving coding here

@beforetest     public void setup() throws exception {         /*          * file classpathroot = new file(system.getproperty("user.dir")); file          * appdir = new file(classpathroot, "../../../apps/apidemos/bin"); file          * app = new file(appdir, "apidemos-debug.apk");          */         desiredcapabilities capabilities = new desiredcapabilities();         capabilities.setcapability("automationname","selendroid");         capabilities.setcapability(capabilitytype.version, "4.4.2");         capabilities.setcapability("devicename", "4d0001f745b350e1");         capabilities.setcapability("platformname","android");         capabilities.setcapability(capabilitytype.browser_name,"chrome");         driver = new androiddriver(new url("http://127.0.0.1:4723/wd/hub"),                 capabilities);      }      @aftertest     public void teardown(){         driver.quit();     }      @test     public void apidemo() {         driver.get("http://www.facebook.com");      } 

and when running this,appium showing 0 connected devices.

but same configured appium working fine emulator of 4.3.

  1. check cable connection
  2. are able see device on adb devices directly ?
  3. if not able see on adb devices , den please enable usb debugging , tap on yes on prompt authorize device.
  4. check drivers device , install
  5. check connecting debugging other in other mode instead of mtp mode

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -