tizen studio installation&setup

Post on 12-Jan-2017

49 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

TIZEN STUDIO INSTALLATION & ENVIRONMENT SETUP FOR DEVLAB

Installing Tizen StudioPrerequisitesCheck the following prerequisites before attempting to install Tizen Studio Computer for running the Tizen Studio with the following system

requirements:◦ Ubuntu® 12.04 or 14.04 (32- or 64-bit), Microsoft Windows® 7/8/10 (32-

or 64-bit), Apple Mac OS® X 10.8(Mountain Lion) 64-bit, 10.9(Mavericks) 64-bit, 10.10 (Yosemite) 64-bit, 10.11 (El Capitan) 64-bit

◦ At least dual-core 2 GHz of CPU◦ At least 3 GB of RAM memory◦ At least 6 GB of free disk space◦ Intel processor with Intel VT support (required for emulator)

Oracle® Java* v8 or later installed (do not use OpenJDK)◦ Download the Oracle JDK installer executable◦ Execute the file and setup the path in the environment variables.

Installing Tizen StudioDownload Tizen Studio 1.0 with IDE installer

from the following link https://developer.tizen.org/development/tizen-studio/download

Run the Tizen Studio 1.0 installer

Accept the software license agreement

Basically, Tizen Studio is installed in the default location specified in the installation settings window, it can also be changed to your desired directory. After setting the location, click Install

Once you click install, the installer installs the required packages and tools in the specified directory. After installation launch the package manager by clicking the Launch the Tizen Studio Package Manager check box and clicking on Finish

The installer installs the basic mobile web application platform and its IDE. Through the Tizen Studio package manager, you can install additional platforms and tools. Internet connection is needed for the package manager to show all the available tools, platforms and to install them

In the package manager expand 2.4 Mobile, here install Emulator and Native app. development IDE

In addition to the 2.4 Mobile tools, Samsung certificate extension has to be installed. In the package manager click on Extension SDK tab-> install Samsung Certificate Extension. With this step Tizen Studio installation is complete.

Setting up the Environment for DevelopmentOpen Tizen Studio. In the start click Tizen

Studio

Set a workspace in your desired location, then click OK

Setting up the Emulator In the connection explorer window

(highlighted part) click on Emulator Manager-> Emulator Manager windows opens

In the Emulator Manager window, click on Create which opens emulator configuration window

In the emulator configuration window select mobile-2.4 (basic) and click on Next

In the emulator configuration window select HD Mobile device definition and click on Next

In the emulator configuration window, setup emulator general properties like its Name, No. of processors, RAM size. Navigate to Device, Camera, Network, HW support tabs to configure properties of your choice and click Finish (or you can directly click Finish without editing any properties i.e default properties are set).

Now you can see an emulator in emulator manager, select the emulator and click on Launch. The emulator gets launched

Once the emulator gets launched, it should be seen in the connection explorer window

Running a sample application on the emulator In the Tizen Studio, goto File-> click on Tizen

project-> select Sample -> click on Next -> select Mobile -> click on Next -> select Web Application -> click on Next

Internet is required for loading sample applications

Select any sample application, for example select Exercise Planner in the Application category

Click on Next

Give a project name of your choice and click on Finish.

The web project Exercise Planner is created and can be seen in the project explorer window

To run the application, right click on the project Exercise Planner in the project explorer-> select Run As->select Tizen Web Application.

The application gets installed on the emulator. Check the emulator to see the application running

FAQ1. My emulator is up and running but its not shown in

the connection explorer. What should I do?To solve this issue open command prompt goto C:\tizen-studio\tools and execute the command sdb connect localhost:26101. The emulator comes up in the connection explorer

FAQ2. Installed the emulator but I am unable to launch it or the

emulator shows a black screen with a boot message “Decompressing Kernel” for a long time?

The problem may be with the Intel HAXM driver which automatically gets installed while installing the Tizen Studio but in some cases it may fail. So try to install the HAXM driver manually, download the driver from the following link https://developer.tizen.org/development/tizen-studio/download/installing-tizen-studio/hardware-accelerated-execution-managerHardware requirements for Intel HAXM Intel processor with support for VT-x, EM64T, and Execute

Disable Bit At least 1 GB of available memory

To verify that Intel HAXM is running, open the command prompt and execute the following command sc query intelhaxm

FAQ

If you meet an installation failure because of hardware requirements, check the BIOS/OS settings: Make sure VT is enabled in BIOS Make sure Execute Disable Bit is enabled in BIOS Make sure Data Execution Prevention is enabled in

windows. On the windows platform, click Control Panel > System > Advanced system settings > Advanced tab > Performance section, Options (or Settings) > Data Execution Prevention. Make sure that DEP is enabled

FAQ3. How to check if my system supports emulator or not?Most of the issues caused while setting up the emulator are related to hardware virtualization or graphic driver. A simple tool to check them is already included in the Tizen Emulator package (located in tizen-studio/tools/bin). Run the following tools from the command prompt check-hax.execheck-gl.exeCheck if your system has an updated graphic driver, support HAX and UG features, and has hardware GL acceleration

FAQ

top related