Question
I'm starting with Tizen development using Tizen Studio 2.0 on Linux. When I try to open the UI Builder with a standard sample or template project, the UI Builder opens but immediately closes.
Here's the default layout XML I'm trying to load (created from a template):
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document>
<mscreen>
<configuration device="CIRCLE_360x360" id="config1" name="common" orientation="portrait" type="common"/>
</mscreen>
<views startup="view1">
<view id="view1" indicator="true" type="view" page_location_x="0" page_location_y="0"/>
</views>
</document>
The Tizen Studio log shows these errors:
!ENTRY edjResourceSyncManager.ResourceFileDuplicator 4 0 2017-11-29 15:56:42.807
!MESSAGE [2017.11.29 15:56:42][ERROR] ?(?) - It failed to make directory : /tmpTIZEN_UIB_RES\
!ENTRY org.tizen.efluibuilder.internal.connector.Connector 4 0 2017-11-29 15:56:42.921
!MESSAGE [2017.11.29 15:56:42][ERROR] ?(?) - Renderer connection not found
I noticed the path /tmpTIZEN_UIB_RES\ seems incorrect - should it be /tmp/TIZEN_UIB_RES?
If I remove the view element from the layout, the UI Builder loads:
<views/>
But attempting to add a view then causes a NullPointerError and the UI Builder crashes again. Any suggestions for resolving this issue?
Answer
Problem Understanding
The UI Builder in Tizen Studio 2.0 crashes when:
- Opening projects with view elements in the layout
- The system fails to create a temporary directory due to an incorrect path (
/tmpTIZEN_UIB_RES\) - The renderer connection fails
Solution Methods
-
Workspace Switch Solution:
- Try creating a new workspace directory
- Create a fresh UI Builder project in the new workspace
- This resolved the issue for some users with similar problems
-
Path Correction Solution:
- Manually create the correct temporary directory:
mkdir -p /tmp/TIZEN_UIB_RES chmod 777 /tmp/TIZEN_UIB_RES - Check if Tizen Studio has proper permissions to access this directory
- Manually create the correct temporary directory:
-
Clean Installation:
- Consider reinstalling Tizen Studio
- Verify all dependencies are properly installed
Additional Tips
- Ensure your Linux system meets all Tizen Studio requirements
- Check for any environment-specific issues (permissions, missing libraries)
- The issue might be related to workspace corruption - starting fresh often helps
- For reference, this was tested working on:
- Tizen Studio 2.0
- Ubuntu 14.04 64-bit
- Samsung Gear S2 device