Skip to main content
Samsung Developer Program

Debug DeX

The DeX  ADB plug-in helps you develop and debug DeX-optimized apps. Use the DeX ADB plug-in to connect a phone that is plugged into a DeX station to Android Studio over WiFi or Ethernet. Once connected, you can install, run, and debug your applications by pressing a single button.

DeX ADB plug-in adds a tab to your Android Studio. To use this plug-in, the project opened in your Android Studio has to be an Android project configured with the Android SDK.

main-window.png

Requirements:

  • Samsung Galaxy S8, S8+, or Note8 device

  • Samsung DeX Station

  • Monitor, keyboard, and mouse

  • Android Studio

  • Android SDK 

Installation

The installation process is the same for all plug-ins.

  1. Launch Android Studio, and open Preferences.
  2. Open the Plugins section:
    plugins-section.png
     
  3. Click Browse repositories... to load the full list of IntelliJ DEA plug-ins.
  4. Search for the DeX ADB Tool plug-in, and click the Install button:

    install-plugin.png
     
  5. After the installation completes, restart Android Studio.

Usage

The DeX ADB toolbar shows the following icons:

 start-debugging.png

Icon Function
reload-device-list.png Reload the device list
android-icon.png Choose ADB path
connect-using-wifi.png Connect device using WiFi
filter-icon.png

Connect device using Ethernet

connect-using-ethernet.png Disconnect the device
on-off-icon.png Activate or deactivate plug-in

To debug your app using Dex ADB: 

  1. Choose an ADB path by clicking  android-icon.png .
  2. Connect your device to your computer using a USB cable, and click  reload-device-list.png  to reload the device list.
  3. Select  connect-using-wifi.png  or  filter-icon.png  to see one of the two following windows. Then click  connect-using-ethernet.png to disconnect the USB: 

      ethernet-connect.png

      or

      wifi-connect.png

  1. Click OK or Done. A popup appears to let you know if your connection is successful or unsuccessful:

    Success_Popup.jpg

    Once connected, you can deploy, run, and debug your device. 

Note: Your device and your computer must be connected to the same network.

  • Was this article helpful?