Working With the Tizen Emulator

The Tizen emulator is useful as a general reference, but be aware that it does not provide an exact representation of how your application will perform on different Tizen TV models and platforms. You.i TV recommends that you test your app thoroughly on all available Tizen TV devices. Getting the emulator to run can sometimes be problematic. Follow the instructions below to help you navigate the potential issues with using the emulator.

WARNING DRM encrypted playback will not work in the emulator due to the lack of CDM (content decryption module) that is typically found in the physical hardware of a Tizen TV.

Before you begin using the emulator, ensure that you have all the necessary dependencies installed:

  1. Open your Tizen Package Manager. To do this, you can:
    • Click on the Package Manager button on the top button bar within Tizen Studio.

    • Select it from the Tools menu inside of Tizen Studio.
    • Open it directly through a shortcut or spotlight on macOS.
  2. Under the Main SDK tab, scroll down to Tizen SDK Tools and expand Baseline SDK. Ensure that the Emulator Manager is installed; if not, click on the Install button to install it.

    Image

  3. Click on the Extension SDK tab, and expand the Extras and TV Extensions-5.0 options. Ensure that the Emulator is installed; if not, click on the Install button to install it.
    • If the Emulator package fails to install, and this is not a first setup, open your Emulator Manager and verify that there are not emulators previously installed. If there are emulators installed, remove them and then uninstall and reinstall the Emulator package.

    • Your version of Tizen Studio will determine which TV Extensions package version you will have to install.

  4. Wait for the installation to complete, and then open the Emulator Manager from the same location you opened the Package Manager from.

    Image

  5. Look for an entry for an x86 TV emulator and launch it.

    Image

If your emulator appears to be stuck with an output message indicating that it was booting the kernel, you may be experiencing hardware acceleration issues.

To check your hardware acceleration settings and verify that it is enabled:

  1. From within the Emulator Manager, select your emulator.
  2. Click on the Edit button. A window called Emulator Configuration will open.

    Image

  3. Click on the HW Support tab at the bottom left, and ensure that both CPU VT and GPU are set to ON.

    Image

If CPU VT cannot be turned ON, and you are on macOS, you can do the following:

  1. Open System Preferences and click on Security & Privacy.
  2. Look for applications that are blocked that are related to Samsung, Intel or HAXM, and allow them to run.
  3. If no applications appear to be blocked, you may need to reinstall your version of the Intel Hardware Accelerated Execution Manager (HAXM), or you may have an incompatible version of this installed. Visit this page to download this manually.
  4. Restart your computer once you have installed or reinstalled the HAXM.
  5. Repeat steps 1-2. You should now be able to enable CPU VT on your emulator and boot it successfully.

If your emulator is still failing to run after resolving any HAXM issues or if you didn’t experience HAXM issues, try reinstalling your emulator from the Package Manager.

Note Before you reinstall your emulator from the Package Manager, you will need to remove the emulator instance from the Emulator Manager before doing so, or it will fail to install.