1
1
.
.
2
2
.
.
3
3
S
S
e
e
t
t
u
u
p
p
P
P
h
h
y
y
s
s
i
i
c
c
a
a
l
l
D
D
e
e
v
v
i
i
c
c
e
e
I
I
n
n
f
f
o
o
[
[
R
R
]
]
This tutorial shows how to setup physical device so that you can test your mobile app on the real phone.
The main purpose is to enable Developer Options on your phone to get access to USB Debugging.
This feature is needed to install apps over USB.
USB drivers, which are needed for your PC to communicate with mobile phone, should be automatically installed by your
PC when you connect mobile phone over USB. If this is not the case you might need to install them manually.
Content
Enable Developer Options on your phone
Enable Debugging and Installation Options
Connect Phone over USB
E
E
n
n
a
a
b
b
l
l
e
e
D
D
e
e
v
v
e
e
l
l
o
o
p
p
e
e
r
r
O
O
p
p
t
t
i
i
o
o
n
n
s
s
o
o
n
n
y
y
o
o
u
u
r
r
p
p
h
h
o
o
n
n
e
e
Settings
About Phone
Tap several times on the following option (depending on the phone you have)
Build number
MIUI version
As you tap you will see a popup message: You are 7 clicks away from being a developer
At the end you will see a popup message: You are now a developer
Developer Options will appear at the following location (depending on the phone you have)
Settings - System - Developer Options
Settings - Additional settings - Developer Options
Settings - About Phone Multiple taps on MIUI version Developer Options will appear
E
E
n
n
a
a
b
b
l
l
e
e
D
D
e
e
b
b
u
u
g
g
g
g
i
i
n
n
g
g
a
a
n
n
d
d
I
I
n
n
s
s
t
t
a
a
l
l
l
l
a
a
t
t
i
i
o
o
n
n
O
O
p
p
t
t
i
i
o
o
n
n
s
s
Choose one (depending on the phone you have)
Settings - System - Developer Options
Settings - Additional settings - Developer Options
USB debugging: ON (the only options for most Android Phones)
Install via USB: ON (additional option only for Xiaomi Phones)
USB debugging (Security settings): ON (additional option only for Xiaomi Phones)
Settings - Additional settings Developer Options USB debugging, Install via USB
C
C
o
o
n
n
n
n
e
e
c
c
t
t
P
P
h
h
o
o
n
n
e
e
o
o
v
v
e
e
r
r
U
U
S
S
B
B
Connect Phone over USB
(Bellow popup should appear on the Phone)
OK
(If you click Cancel, disconnect Phone from PC and connect it back to make the dialog show up again on your device.)
OK