Using Tizen Studio Features in Incompatible OS Environments

Shamima Nasrin

Engineer, Samsung Developer Program

Tizen Studio is the most popular IDE for developing applications for Tizen-based devices, such as Samsung smartwatches running Tizen OS and Samsung TVs. Its features include a developer-friendly environment for debugging, testing, and running applications.

The Tizen Studio IDE generally runs smoothly on most versions of Windows, macOS, and Linux distributions, provided that the OS version meets all the requirements defined in the Tizen documentation.

However, even if your operating system does not fully meet the requirements, Tizen Studio can be installed. But, tools such as Device Manager and Emulator Manager may not work properly in the graphical interface. Consequently, you may be unable to test your application on the emulator or actual devices through Device Manager.

In this scenario where you have installed the latest Tizen Studio version on your computer but encounter issues with the graphical UI (GUI), you can use Device Manager through the command line interface (CLI) instead to run and test your application on the target device.

The following instructions describe how to use the CLI as an alternative way to run your application on a connected device when using Tizen Studio on an incompatible OS version.

To install an application on a connected device through the Tizen Studio CLI:

  1. From the command prompt or terminal, navigate to your Tizen Studio installation folder.
  2. To retrieve the list of connected emulators and/or devices, enter the following command:
    <tizen-studio-path>/tools/sdb devices
    

    In the following figure, an emulator is connected.

    Figure 1: List of connected devices

  3. Grant permission to install the application:
    <tizen-studio-path>/tools/ide/bin/tizen install-permit -s emulator-26101
    

    You receive the message “Install Permitted.” If the device already had installation permission, the message instead says “Permit is not required for this target.”

    Figure 2: Installation permission

  4. To install the application on the device, enter the command in the following format:
    <tizen-studio-path>/tools/ide/bin/tizen install -s serial -n pkgname -- <path to base dir of tpk or wgt>
    

    For example:

    <tizen-studio-path>/tools/ide/bin/tizen install -n org.tizen.basic-1.0.0-i386.tpk -s emulator-26101 -- ~/workspace/basic/Debug
    

    Now you can test and debug the application on the device.

    For information about more CLI commands, see Command Line Interface Commands.

Although this alternative method enables you to access some Tizen Studio tools while running Tizen Studio on an incompatible operating system, it is strongly recommended to perform development in an environment that fully supports Tizen Studio.

If you have questions about or need help with the information in this article, you can share your queries on the Samsung Developers Forum or contact us through Developer Support.