Installing Applications Using the Android Debug Bridge
Installing Applications Using the Android Debug Bridge
Use ADB commands to install applications onto the device.
Ensure that the ADB drivers are installed on the host computer.
Connect the device to a host computer using the USB-C cable.
When transferring files or debugging, make sure there is only one USB connection to the device. For example, if using a USB cable, do not dock the device or attach an expansion back.
Enable
Developer options
.
Go to
Settings
.
Touch
System
Advanced
Developer options
.
Slide the
USB debugging
switch to the
ON
position.
If the device and host computer are connected for the first time, the
Allow USB debugging?
dialog box with the
Always allow from this computer
check box displays. Select the check box, if required.
Touch
OK
.
Type
adb install <application>
.
where: <application> = the path and filename of the apk file.