Wednesday, November 22, 2017

adb devices not showing the Android device

Connect your android device
Go to Settings->About Phone/Device -> Tap on the build number 7 times
you will go to developer mode.
Just above the option About device you will find "Developer Options" setting. tap on that.
Enable USB debugging.
It would ask for a confirmation of RSA fingerprint. Click on Ok.

Now go to terminal/command prompt and run the command "adb devices"
Your device will be listed with device id.

In the android capabilities in your code you can use the above device id as udid 
Ex: udid=c55c70af04399e58



No comments:

Post a Comment