Tizen SDK and IDE FAQ

This section contains common questions about the Tizen SDK and IDE:

Tizen SDK
Q: Which host platforms are supported for Tizen application development?

A: Ubuntu® 12.04 or 12.10 (32- or 64-bit), Microsoft Windows® XP (32-bit), Microsoft Windows® 7 (32- or 64-bit), Apple Mac OS® X 10.7 Lion or 10.8 Mountain Lion (64-bit).

Tizen IDE
Q: How do I select a perspective in the Tizen IDE?

A: Before starting development in the Eclipse IDE, you are prompted for a few decisions on your IDE workbench for creating a workspace and choosing a perspective. Start executing the Eclipse IDE from the installed directory and select a folder for the specific workspace (for example, your home directory). You can create your own workspace, if needed. After this, the Welcome page appears.

Q: How do I change a perspective in the Tizen IDE?

A: Go to Window > Open Perspective on the main menu, and select the perspective you want. Before creating a new project, configure the development environment and set the preferences.

Q: How do I check the version of the Tizen IDE?

A: Select Help > About. A window is displayed with Tizen IDE features, plug-in information, and configuration details.

Q: How do I improve the execution performance of the Tizen IDE?

A: You can tweak the memory size to fit your development computer. Modify the eclipse.ini configuration file in the Tizen IDE folder as follows:

  • Change Xms40m to Xms256m.
  • Change Xmx256m to Xmx1024m.

Q: How do I handle the following error:

java.lang.OutOfMemoryError: PermGen space

A: "PermGen" means permanent generation of objects in the VM (Virtual Machine). Fix the error by appending the following lines to the eclipse.ini configuration file in the Tizen IDE folder:

  • XX:PermSize=64m
  • XX:MaxPermSize=128m

Q: How can I customize keyboard shortcuts?

A: . Keyboard shortcuts can be customized using the Window > Preferences > General > Keys page.

Q: How can I reduce the font size in the menus and help contents on Ubuntu?

A: You can reduce the font size in the menus and help contents on Ubuntu by overwriting the GTK theme:

  1. Create the ~/.gtkrc-eclipse file with the following content:
    style "eclipse"
    {
       font_name = "Sans Condensed 9"
    }
    class "GtkWidget" style "eclipse"
  2. Modify 2 lines in the startsup.sh start-up script file of the Tizen IDE to apply the GTK2_RC_FILES environment variable to Eclipse:
    1. Change
      GDK_NATIVE_WINDOWS=true UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 ./eclipse -Dorg.eclipse.swt.browser.DefaultType=MOZILLA

      to

      GTK2_RC_FILES=~/.gtkrc-eclipse GDK_NATIVE_WINDOWS=true UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 ./eclipse -Dorg.eclipse.swt.browser.DefaultType=MOZILLA
    2. Change
      GDK_NATIVE_WINDOWS=true ./eclipse -Dorg.eclipse.swt.browser.DefaultType=MOZILLA
    3. to

      GTK2_RC_FILES=~/.gtkrc-eclipse GDK_NATIVE_WINDOWS=true ./eclipse -Dorg.eclipse.swt.browser.DefaultType=MOZILLA

Q: How do I cope with errors that occur when running or debugging an application on the target device?

A: In the Tizen IDE, click the Terminate button in the Console or Debug view to terminate the run or debug process.

Q: How can I see tooltip text in the hover mode? The background is black.

A: This is a known issue for Eclipse in Ubuntu. Check the Tooltip Color Setting in the Ubuntu menu. The default color scheme of the Radiance theme for tooltips is white text on black background. After changing the background, restart the IDE. For more information, see Eclipse bugs.

Q: Launching an application failed due to an invalid certificate message. What do I do?

A: If more than 1000 files exist in the current project on Linux, the signature file generation fails because of the file descriptor limit. Modify the /etc/security/limits.conf file as follows with root authority and log on again.

<User name> soft nofile 8192
<User name> hard nofile 100000
Q: I do not see the menu icons in Linux.

A: You can reset the perspective using the Window > Reset Perspective menu.

Q: How can I edit the HTML block widget in the Page Designer?

A: To edit the HTML block in the Page Designer:

  1. Double-click on the HTML Block widget in Page Designer or click Open HTML editor in the Properties view.
  2. On the Confirm Save message box, click OK.
  3. Edit the HTML block in the HTML editor.

Q: How can I re-open the contributed view?

A: Reset a perspective to its original state. Go to Window > Reset Perspective.

Q: How can I view the menu icons in Eclipse?

A: For Ubuntu, use the following command in shell and restart IDE:

$ gsettings set org.gnome.desktop.interface menus-have-icons true
Q: How can I see tooltip text when hovering? The background is black.

A: This is a known issue for Eclipse in Ubuntu, see Bug 309907. Check the System > Preferences > Appearance > Theme > Colors > tooltip setting in the Ubuntu menu. The default color scheme of the Radiance theme for tooltips is white text on black background.

In Ubuntu 12.XX or higher:

  1. Use the following command:
    $ gnome-color-chooser
  2. Go to Gnome Color Chooser > Specific > Tooltips > Background Check > Apply. Restart the IDE.

Tools
Q: Why are some of the dynamic analyzer features not available?

A: The following dynamic analyzer features are only available when you use the Tizen native APIs:

  • Timeline life-cycle information
  • Capturing screenshots
  • Detecting gesture events
  • UI analysis features

Q: How can I make the Emulator run faster?

A: The Emulator may run slowly because VT acceleration and GL acceleration are disabled. For more information, see VT acceleration setting and GL acceleration setting.

Q: Multiple instances of the Emulator do not work properly. What should I do?

A: For Windows®, you may get a failed to allocate memory error. In that case, try the following actions:

  • Increase the user area of the virtual memory in the system to 3 GB by running the bcdedit /set increaseuserva 3072 command on the console with administrator rights (Windows7 only).
  • Close some other programs and try to launch the Emulator again.
  • If you set the RAM size for the VM as 768 MB or 1024 MB from the Emulator Manager, change the RAM size to 512 MB.

For Mac OS®, running the Emulator with the Oracle Java version 1.7 or higher can slow down your host machine. Oracle Java version 1.6 is recommended.

Where to Go Next