Download Tizen 3.1.0 Release

SDK and Studio

You can either download the 3.1 version of Titanium Studio here, or update your existing version to 3.1.

Studio | SDK Studio | SDK 32-bit Studio | 64-bit Studio | SDK

Installation

The Tizen development environment is required for any Tizen development, even if the development itself will be performed using Titanium tools.

Download and Install Tizen SDK 2.0

  1. Download the Install Manager from: https://developer.tizen.org/sdk (be sure to select the installer for that belongs to your operating system)
  2. Run the Install Manager
  3. Click Next.
  4. Accept the terms and conditions, and click Next.
  5. Select the components you want to install and click Next.
  6. Select the SDK home folder and click Install.

Windows: Install Intel HAXM for Tizen

This step can be skipped on Linux, as hardware acceleration is usually enabled on Linux by default.

Without hardware acceleration, the Tizen emulator is very slow even on fastest Windows machines. It is recommended to configure hardware acceleration. It does not show as currently available for Windows 8, but the above installer appears to work fine.

  1. Visit the page https://developer.tizen.org/downloads/sdk/installing-sdk/hardware-accelerated-execution-manager, download and install IntelHaxmTizen.exe.
  2. Important: HAXM for Tizen conflicts with HAXM for Android. You might have to Uninstall the Android version first.
  3. Reboot your computer.

Create a Tizen Emulator instance

  1. Run the Tizen Emulator Manager from the installation directory above. On Windows, it might be:  C:\tizen-sdk\tools\emulator\bin\emulator-manager.exe or /Users/username/tizen-sdk/tools/emulator/bin/emulator-manager on OS X.
  2. In the tree pane, click "x86-standard -> <<Create new">> and then click the button Create.
  3. Ensure that following options are set:
    • Display Resolution: 480x800 (might be different)
    • RAM Size: 512 or 1Gb
    • HW Virtualization: Supported
    • HW GL Acceleration: Supported.
  4. Note: Beware of the HW Virtualization setting. It should be enabled and show "Supported". If it is disabled, check if Windows: Install Intel HAXM for Tizen is installed properly. Intel Hardware Accelerated Execution Manager and installation instruction available here.
  5. Click the Launch button to start it.
  6. For the first start, Tizen shows a welcome screen. Tap Start. On the next screen, click "Next" and click "Finish" on the last screen.

Using the SDK

Note: you can't use a project created for Tizen SDK 2.0.0a out-of the box with Tizen 2.0.0. You need to remove any existing <tizen> notes from tiapp.xml

  1. Open Studio and install the downloaded Titanium SDK using Help > Install Titanium SDK...
  2. Open Window > Preferences > Titanium Studio > Titanium > Tizen and set the installed Tizen SDK home location.
  3. Run File > New Titanium Project, select a template and then the specific Titanium SDK in the next page.
  4. If you have not created the emulator instance above, do so now.
  5. You can now run your application.

Known Issues

Issue #1. On starting an instance of the Tizen emulator on some OS X machines, you may get an error 'Not enough shard memory'. This is a known native Tizen SDK issue.

The workaround for this issue is to run the following commands in the terminal to increase the shared memory manually.

  1. sudo sysctl -w kern.sysv.shmmax=1610612736
  2. sudo sysctl -w kern.sysv.shmall=393216
  3. sudo sysctl -w kern.sysv.shmmin=1
  4. sudo sysctl -w kern.sysv.shmmni=32
  5. sudo sysctl -w kern.sysv.shmseg=8
  6. sudo sysctl -w kern.maxprocperuid=512
  7. sudo sysctl -w kern.maxproc=2048

Now, start the instance of the emulator again and it should run. You will need to redo these steps on each restart of the machine.

Issue #2. On OS X, you may try to run the app on device and the progress bar in Studio gets stuck at 59%. This happens because the sdb command hangs halfway while starting the daemon server. This is also a native Tizen SDK issue.

The workaround:

  1. Remove the device from the machine
  2. In the terminal cd in to tizen-sdk/tools
  3. Kill the sdb server by running './sdb kill-server'
  4. Now start the server again by running './sdb start-server'
  5. Connect the device to the machine by USB cable
  6. Run './sdb devices', it should show you the device id
  7. Now 'Run on device' from inside Studio and the app will be successfully install and launch on the device