1 Tizen Studio Windows
1 Tizen Studio Windows
1 Tizen Studio Windows
Appendix 79
Prerequisites for the Tizen Studio
System Requirements for Tizen Studio Operating Systems
The following table lists the operating systems supported by the Tizen Studio.
OS Version Bit
5
System Requirements for Tizen SDK Processor and Memory
The following table lists the processor and memory requirements for the
Tizen SDK.
Note
The Tizen Studio can be installed on AMD processors, but may not perform properly due
to absence of the Intel Hardware Accelerated Execution Manager (HAXM), which
accelerates the speed of Tizen application emulation.
6
System Requirements for Tizen Emulator CPU &
Screen Resolution
The following table lists the CPU and screen resolution requirements for
the Tizen Emulator.
Component Requirement
* For more instructions on how to check for Intel VTx support, see
Appendix: Checking CPU VTx Support (pages 85-86).
7
System Requirements for Tizen Emulator Graphics Card
The following table lists the Graphic Card requirements for the Tizen
Emulator.
Brand Product
GeForce 8300 GS, GeForce 8500 GT, GeForce GT 220, GeForce GT 430,
NVIDIA GeForce GT 530, GeForce GT 330M, GeForce GTX 550Ti, Quadro NVS 290
and later versions
For more instructions on how to update the graphic card driver, see
Appendix: Checking and Updating the Graphic Card Driver (pages 87-88).
8
JDK Requirements Java Development Kit (JDK)
Tizen Studio requires the JDK (Java Development Kit) installation for using
the Java Runtime (VM).
Java 8 or higher is required for the Tizen Studio to work properly, and it is
recommended to install Oracle JDK 8 for the Tizen.
Note
Tizen Studio is a development tool based on the Eclipse IDE, which essentially requires
the JDK installation as well.
For instructions on how to check and uninstall the existing JDK in your
system, see Appendix: Checking and Uninstalling the JDK (page 89).
9
JDK Requirements Downloading the JDK
Click
Choose the
right version,
32bits (x86) or
64bits (x64).
10
JDK Requirements Installing the JDK
Click
Click
Click Click
11
Tizen Studio Installation
Tizen Studio Installation Downloading the installer
Choose the Tizen Studio with IDE installer according to your system environment.
For more information about the IDE and CLI options, see Appendix: Tizen
Studio Installation Options IDE and CLI (page 90).
13
Tizen Studio Installation Installing the Tizen SDK
Double-click on the installer (.exe file), and the installer starts verifying the
system
requirements prior to the installation of Tizen Studio.
Double-Click
14
Tizen Studio Installation Installing the Tizen SDK
If the JDK is not installed on your computer, the following pop-up appears.
Click OK and install the JDK before installing the Tizen SDK.
For more information about the JDK requirements and how to install JDK,
see JDK Requirements (page 7-9).
15
Tizen Studio Installation Installing the Tizen SDK
When the installer window appears, start installation by following the steps:
(2)
16
Tizen Studio Installation Installing the Tizen SDK
Click
17
Tizen Studio Installation Installing Additional Packages
Run the Package Manager to install additional packages required for the
development of Tizen applications. Later, you can launch the Update
Manager from Windows Start Menu > All Programs > Tizen Studio > Tools >
Update Manager.
18
Tizen Studio Installation Installing Additional Packages
19
Tizen Studio Installation Installing Additional Packages
Extension SDK tab shows the list of extra tools and packages for Tizen
Studio.
20
Tizen Studio Installation Installing Additional Packages
21
Tizen Studio Installation Installing Additional Packages
Click the arrow on the left and expand to view the components of the
package.
The description of each component is provided at the bottom of the window.
22
Tizen Studio Installation Installing Additional Packages
For the purpose of this tutorial, install all components of the 2.3.2 Wearable
package by clicking install.
Click
23
Tizen Studio Installation Installing Additional Packages
Do not switch off the Package Manager while it is downloading and installing
packages. Downloading and installing may take a few minutes.
Select the Progress tab to view the detailed progress of the installation.
24
Tizen Studio Installation Installing Additional Packages
The install button changes to delete when the packages are installed.
25
Tizen Studio Installation Confirming and Removing Packages
26
Tizen Studio Installation Uninstalling the Tizen Studio
To uninstall the entire Tizen SDK, launch the Uninstaller from Windows Start
Menu > All Programs > Tizen Studio > Tools > Uninstaller.
27
Running Applications on the Emulator
Running Applications on the Emulator Launching the Tizen Studio
Launch Tizen Studio from Windows Start Menu > All Programs > Tizen Studio.
The Tizen Studio is launched successfully as below.
29
Running Applications on the Emulator Launching the Tizen Studio
Toolbar
Project
Outline
Explorer
Edit
Connection
Explorer
Problem / Console
For more information about each section, see the Appendix: Tizen IDE
Views (page 99).
30
Running Applications on the Emulator
In this tutorial, a Tizen Web application project is created.
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
31
Running Applications on the Emulator
The Project Wizard is used to create the basic application skeleton with the
required folder structure and mandatory files.
Select Template and click Next. Then select profile and version.
For more information about each project type, see Appendix: Tizen Studio
Project Types (pages 100-102).
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
32
Running Applications on the Emulator
Select Web Application and click Next. Then select the application template.
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
33
Running Applications on the Emulator
Change the project name, if you want.
Click More properties, if you want to change more properties.
Leave all other fields in the Project Wizard to their default values, and click
Finish.
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
34
Running Applications on the Emulator
The new project is created and shown in the Project Explorer.
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
35
Running Applications on the Emulator
To install and run applications on devices, you must sign the application
package by generating a vendor-specific certificate and registering it in the
IDE. (The certificate policy may vary between different vendors and/or
models.)
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
36
Running Applications on the Emulator
Open Tizen Tool > Certificate Manager to set a security profile for generating
certificates.
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
37
Running Applications on the Emulator
In the Certificate Manager, click the plus icon ( ) to create a new profile.
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
38
Running Applications on the Emulator
Enter a profile name and click Next.
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
39
Running Applications on the Emulator
Create a new author certificate or use a previously created author certificate
and click Next. Then, fill in the required information.
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
40
Running Applications on the Emulator
You can use the default Tizen distributor certificate or another distributor
certificate if you have one. In general, the default Tizen distributor certificate
is used and you do not need to modify distributor certificates.
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
41
Running Applications on the Emulator
Launch an Emulator instance.
Launch the Emulator Manager by clicking the icon in the Connection Explorer.
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
42
Running Applications on the Emulator
Select wearable 2.3.2 circle.
Click
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
43
Running Applications on the Emulator
Click the Launch button to launch the emulator instance.
Click
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
44
Running Applications on the Emulator
The Emulator is launched in its own window, and the structure of the
emulator is shown in the Connection Explorer.
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
45
Running Applications on the Emulator
Right-click on the project title, and select Run As > Tizen Web Application
while the Emulator display of the is switched on.
Click
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
46
Running Applications on the Emulator
The application is launched in the Emulator successfully.
Running the
Creating the Generating the Creating the
Application on the
Application Project Author Certificate Emulator Instance
Emulator
47
Running Applications on the Target Device
Running Applications on a Target Device
The Certificate Extension is an extra package of Tizen Studio. It is required for
generating an author certificate for commercial devices, such as Samsung
Gear S2, and registering it in the IDE.
To install the Certificate Extension, launch Package Manager from Start > All
Programs > Tizen Studio > Tools > Package Manager, or Tools > Package
Manager in the Tizen Studio menu.
In Extension SDK tab, select the Certificate Extension, and click install.
172.20.10.13
In the first attempt, the connection can fail. In this case, a pop-up appears in
the device.
Click the check button to allow Gear to install apps in the device manually.
Click
OS
Processor
Memory
OS
73
Checking System Specifications Disk Space
You can check the available disk space by clicking the Windows Start
Menu > Computer.
74
Checking the CPU VTx Support SecurAble.exe
CPU VT supported
VT supported by CPU and HAXM available
but locked off by mainboard
VT supported
CPU VT not supported but locked on by BIOS
and HAXM NOT available (BIOS setup required)
75
Checking the CPU VTx Support VTx Option in BIOS
76
Checking and Updating the Graphic Card DriverWindows Update
You can check your graphic card driver in your system by clicking
Windows Start Menu , right-clicking Control Panel, and clicking Adjust
screen resolution > Advanced Settings.
77
Checking and Updating the Graphic Card DriverWindows Update
You must update to the latest vendor-provided version of the graphic card
driver for OpenGL ES acceleration to use the Tizen Emulator.
For Microsoft Windows 8/7, check and install the necessary drivers
in Control Panel > System and Security > Windows Update.
78
Checking and Uninstalling the JDK Programs and Features
79
Tizen SDK Installation Options IDE and CLI
80
Tizen SDK Installation Options Advanced Configuration
You can change the package server, upload a custom SDK image, change
the proxy settings, and add extra repositories in the Advanced Configuration.
81
Tizen SDK Installation Options Advanced Configuration
You can install or update the Tizen SDK by using one of the following options.
82
Tizen SDK Installation Options Advanced Configuration
You can install or update the Tizen SDK by using one of the following options.
83
Tizen SDK Installation Options Advanced Configuration
84
Tizen SDK Installation Options Advanced Configuration
To add an extra repository, click the Extra Repository tab and click Add.
When the Add Repository dialog appears, enter the Name and Repository in the
fields. The repository indicates the external server address.
85
Tizen SDK Installation Options Advanced Configuration
To remove an extra repository, click the Trash icon for the repository in the
table, and click Confirm.
If the external repository is removed, the packages from the external repository
are deprecated.
86
Tizen SDK Installation Options Advanced Configuration
To modify an extra repository, click the target repository and click Modify in the
table.
When the Modify Repository dialog box appears, modify the Name and
Repository fields. The repository indicates the external server address.
You can also click the folder icon on Repository to select a local image file or
local server location.
87
Tizen SDK Installation Options Advanced Configuration
88
Tizen IDE Views
The Project Explorer view provides a hierarchical view of all resources in the
workspace. You can open files for editing, or select resources for
operations, such as building, packaging, signing, or validating an
application.
The Connection Explorer view shows the devices connected to the system.
A list of connected devices is available after connecting a device or
launching a Tizen Emulator with a tree view.
The Outline view shows the structure outline and Object hierarchy of C/C++
and Javascript
The Property view shows the property of selected files on Project Explorer,
such as file path, size, editability, and name.
The Problem view shows the status of build and packaging error or warning.
The Console view shows the target or emulator log when applications are
run.
The Toolbar provides various shortcut icons for building and debugging.
Tizen SDK Project Type Template
The Template tab provides a list of templates with basic structure the
developers can use to create their own Web application project.
90
Tizen SDK Project Type Online Sample
91
Emulator Control Panel Emulator
92
Emulator Control Panel Emulator
In the Emulator Control Panel, developers can create and use any data
required during application execution and imitate environmental conditions
for the device sensors.
93
Screen Timeout on the Emulator
You can adjust the screen timeout of the emulator in Settings > Display >
Screen timeout.
Swipe-up
94
Troubleshooting Manual Troubleshooting
95
Troubleshooting Network Connection Failure
96
Troubleshooting SDK Image File Dialog Failure
When installing the Tizen SDK using the SDK image, you may see the Cannot
open SDK image file dialog box.
The box is displayed if you are using the JDK1.6 updates 26 JDK. To avoid
this problem, ensure that you are using the latest version of Java.
See JDK Requirements (pages 7-9) for the JDK installation guide.
97
Troubleshooting Crashing of Java during SDK Installation
During the Tizen SDK installation, the Java application can crash
unexpectedly, and the following window is displayed.
If the Install Manager does not appear, an error may have occurred in the JDK
installation.
If you see the following message, the Java libraries are not suitable to
Java executables.
"Registry key 'Software\JavaSoft\Java Runtime
Environment\CurrentVersion' has value 'XXX', but 'XXX' is required."
99
Troubleshooting Install Manager Not Appearing
The cause is that Java files in System32 do not match the Java Runtime
Environment in the registry.
To avoid this problem, copy the java.exe file to the System32 directory.
If Tizen Emulator does not appear when you launch it, you may face the same
trouble log at <TIZEN-SDK-DATA>/emulator/vms/<Emulator
name>/logs/emulator.log file.
100
Troubleshooting HAXM
If the Emulator does not work properly, there might be an error in the
HAXM.
101
Troubleshooting HAXM
Run the installer and accept the UAC prompt, if you are running the stand-
alone installer.
102
Troubleshooting HAXM
You can access the documentation at any time by clicking Intel HAXM
Documentation.
103
Troubleshooting HAXM
Read and accept the Intel HAXM End-User License Agreement (EULA).
104
Troubleshooting HAXM
Note
The installer also functions as a configuration tool for Intel HAXM. To change the
memory settings, run the installer again.
105
Troubleshooting HAXM
The next screen confirms your Intel HAXM memory allocation settings.
Click Install to proceed.
106
Troubleshooting HAXM
When the Intel HAXM installation is finished, click Finish to exit the
installer.
107
Troubleshooting HAXM
To verify that Intel HAXM is running, open a Command Prompt window and
execute the command: sc query intelhaxm
108
Troubleshooting HAXM
Note
Changes to Intel HAXM memory settings take effect when Intel HAXM is restarted. The
currently running emulators continue to use the previous memory setting.
109
Troubleshooting HAXM
Removing HAXM
Warning
Close all instances of the Tizen emulator before removing Intel HAXM.
To uninstall Intel HAXM, run the installer again or use the Control Panel.
Important
Removing Intel HAXM disables the acceleration of all Tizen emulators, but the Tizen
emulator still functions. Installing Intel HAXM again re-enables the emulator acceleration.
110
Troubleshooting HAXM
111