HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Appium Beginner Tutorial 5 | How To Connect Real Android Mobile Device On Windows

329,245 views October 29, 2019 20:02

Watch on YouTube
ChannelAutomation Step by Step - Raghav Pal

Description from the creator

All FREE tutorials - automationstepbystep.com/
Download Android SDK tools folder - androidsdkmanager.azurewebsites.net/SDKTools
In case USB options NOT showing in android when connected to PC but phone charges youtu.be/ZvR3zxaZ6io
FREE Courses - automationstepbystep.com/
PREREQUISITES
- Java installed on system
- JAVA_HOME is set in environment variables
command to check : java -version
- An android mobile device
- Connecting cable
- 200 MB to 1 GB of free space

ERRORS
Error Description :
error could not find or load main class com.android.sdklib.tool.sdkmanager.sdkmanagercli
Solution:
using 7zip to extract worked great. Windows zip manager must have an issue when extracting the files

Error Description :
Warning: Could not create settings
java.lang.IllegalArgumentException
at com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.<init> (SdkManagerCliSettings.java:428)
...(and so on)

Solution:
create folder "cmdline-tools" inside
"android-sdk" folder and cut-paste the "tools" foder into "cmdline-tools" folder. Here is how they relate to each other:
...\android-sdk\cmdline-tools\tools\...

Step 1 : Download SDK tools
developer.android.com/studio
----------------------------------------------------------------------------------
Step 2 : Unzip folder & Extract platform tools
----------------------------------------------------------------------------------
Step 3 : Set environment variables
ANDROID_HOME = location of sdk folder
Path : append path of platform_tools folder
----------------------------------------------------------------------------------
Step 4 : Check command adb devices on command line
----------------------------------------------------------------------------------
Step 5 : Make device ready
- enable developer mode
- make USB Debugging on
----------------------------------------------------------------------------------
Step 6 : Connect device to computer system thorugh USB cable
- if asked enable USB Debbugging
----------------------------------------------------------------------------------
Step 7 : Run command adb devices
adb = android debug bridge
Check your device id displayed

#AppiumBeginnerTutorial

FREE Courses - automationstepbystep.com/online-courses/
Udemy - udemy.com/user/raghav-pal-3/
Training by Raghav at your venue - [email protected]
Training schedule - automationstepbystep.com/trainings-2/
------------ UI TESTING ------------
Selenium Beginners - bit.ly/2MGRS8K
Selenium Java Framework from Scratch - bit.ly/2N9xvR6
Selenium Python - bit.ly/2oyMp5x
Selenium Tips - bit.ly/2owxc50
Selenium Builder - bit.ly/2MKNtlq
Katalon Studio - bit.ly/2wARFdi
Robot Framework with RIDE- bit.ly/2Px6Ue9
Robot Framework with Eclipse - bit.ly/2N8DZxb

------------ API TESTING ------------
Web Services (API) - bit.ly/2MGafL7
SoapUI - bit.ly/2MGahmd
Postman - bit.ly/2wz8LrW
General - bit.ly/2PYdwmV
Katalon Studio API Testing - bit.ly/2BwuCTN

------------ MOBILE TESTING ------------
Appium - tinyurl.com/y3c8ckz8
Mobile Playlist - bit.ly/2PxpeUv

------------ CI | CD | DEVOPS ------------
Jenkins Beginner - bit.ly/2MIn8EC
Jenkins Tips & Trick - bit.ly/2LRt6xC
Docker - bit.ly/2MInnzx

------------ VERSION CONTROL SYSTEM ------------
Git & GitHub - bit.ly/2Q1pagY

------------ PERFORMANCE TESTING ------------
JMeter Beginner - bit.ly/2oBbtIU
JMeter Intermediate - bit.ly/2oziNVB
JMeter Advanced - bit.ly/2Q22Y6a
JMeter Tips & Tricks - bit.ly/2NOfWD2
Performance Testing - bit.ly/2wEXbLS

------------ PROGRAMMING ------------
Java Beginners - bit.ly/2PVUcXs
Java Tips & Tricks - bit.ly/2CdcDnJ
GROOVY - bit.ly/2FvWV5C

------------ IDE ------------
Visual Studio Code - bit.ly/2V15yvt

------------ MAVEN ------------
Maven - bit.ly/2NJdDRS

------------ OTHERS ------------
Redis- bit.ly/2N9jyCG
Misc - bit.ly/2Q2q5xQ
Tools & Tips - bit.ly/2oBfwoR
QnA Friday- bit.ly/2NgwGpw
Sunday Special - bit.ly/2wB23BO

Ask Raghav - bit.ly/2CoJGWf
Interviews - bit.ly/2NIPPxk
All Playlists - bit.ly/2LSiezA

Keep Learning,
Raghav

You can support my mission for education by sharing this knowledge and helping as many people as you can.

About this tutorial

Automation Step by Step - Raghav Pal published this 20:02 video tutorial on October 29, 2019. It has been watched 329,245 times on YouTube.

Category
Education
Duration
20:02
Published
October 29, 2019
Views
329,245
Likes
1,834

Tags

Share

This tutorial in other languages