Installing Applications Using the Wireless Android Debug Bridge

Installing Applications Using the Wireless Android Debug Bridge

Use ADB commands to install an application onto the device.
Ensure the latest adb files are installed on the host computer.
If device number does not appear, ensure that ADB drivers are installed properly.
  1. Go to
    Settings
    .
  2. Touch
    System
    Advanced
    Developer options
    .
  3. Slide the
    USB debugging
    switch to the
    ON
    position.
  4. Slide the
    Wireless debugging
    switch to the
    ON
    position.
  5. If the device and host computer are connected for the first time, the
    Allow wireless debugging on this network?
    dialog box with the
    Always allow from this network
    check box displays. Select the check box, if required.
  6. Touch
    ALLOW
    .
  7. Touch
    Wireless debugging
    .
  8. Touch
    Pair with pairing code
    .
    The
    Pair with device
    dialog box displays.
  9. On the host computer, navigate to the
    platform-tools
    folder and open a command prompt window.
  10. Type
    adb pair XX.XX.XX.XX.XXXXX
    .
    where XX.XX.XX.XX:XXXXX is the IP address and port number from the
    Pair with device
    dialog box.
  11. Press
    Enter
    .
  12. Type the pairing code from the
    Pair with device
    dialog box.
  13. Press
    Enter
    .
  14. Type
    adb connect XX.XX.XX.XX:XXXXX
    .
    where XX.XX.XX.XX:XXXXX is the IP address and port number from the
    Pair with device
    dialog box.
  15. Press
    Enter
    .
    The device is now connected to the host computer.
  16. Type
    adb devices
    .
    The following displays:
    List of devices attached XXXXXXXXXXXXXXX device
    Where XXXXXXXXXXXXXXX is the device number.
    If device number does not appear, ensure that ADB drivers are installed properly.
  17. On the host computer command prompt window type:
    adb install <application>
    where: <file> = the path and filename of the apk file.
  18. On the host computer, type:
    adb disconnect
    .