Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 2.37 KB

configure-device.md

File metadata and controls

61 lines (39 loc) · 2.37 KB

Configuring Tizen devices for development

To debug Flutter apps on your Tizen device (watch or TV), you need to configure a TCP/IP connection between the device and your host PC using Wi-Fi.

  1. Make sure the host and the target device are on the same network (connected to the same access point).

  2. Enable the developer options.

    • For Galaxy Watch, open Settings - About watch - Software and tap Software version multiple times.

      About watch Software version

    • For Smart TV, open Apps, enter 12345 using the remote control or the on-screen number keypad, switch Developer mode to On, enter your host's IP address, and press OK. You will see Develop mode is enabled in Apps after rebooting the TV.

      Apps

      Enter IP address

      Develop mode enabled

  3. (Optional) Find the path to sdb (<tizen-studio>/tools) and add to your PATH. If you're using Linux or macOS and Tizen Studio has been installed to the default location, run:

    export PATH=$HOME/tizen-studio/tools:$PATH
  4. Establish a connection using the device's IP address.

    $ sdb connect 192.168.0.101
    connecting to 192.168.0.101:26101 ...
    connected to 192.168.0.101:26101
    
    $ sdb devices
    List of devices attached
    192.168.0.101:26101     device          SM-R800

Troubleshooting

  • Connection failure

    $ sdb connect 192.168.0.101
    connecting to 192.168.0.101:26101 ...
    failed to connect to 192.168.0.101:26101

    Check if the target device is on the same network as the host, and the port is not blocked by a firewall. For Smart TV, make sure you entered the host IP address correctly in the developer mode settings.

  • Device unauthorized

    $ sdb devices
    List of devices attached
    192.168.0.101:26101     unauthorized    <unknown>

    Check the confirmation dialog on the device and approve the connection.

  • If you still have any problem, open an issue in this repo or ask for help in Samsung Developers / Tizen Forums / stackoverflow.