tizen studio installation&setup

30
TIZEN STUDIO INSTALLATION & ENVIRONMENT SETUP FOR DEVLAB

Upload: manoj-behera

Post on 12-Jan-2017

49 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Tizen Studio Installation&Setup

TIZEN STUDIO INSTALLATION & ENVIRONMENT SETUP FOR DEVLAB

Page 2: Tizen Studio Installation&Setup

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.

Page 3: Tizen Studio Installation&Setup

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

Page 4: Tizen Studio Installation&Setup

Accept the software license agreement

Page 5: Tizen Studio Installation&Setup

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

Page 6: Tizen Studio Installation&Setup

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

Page 7: Tizen Studio Installation&Setup

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

Page 8: Tizen Studio Installation&Setup

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

Page 9: Tizen Studio Installation&Setup

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.

Page 10: Tizen Studio Installation&Setup

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

Studio

Page 11: Tizen Studio Installation&Setup

Set a workspace in your desired location, then click OK

Page 12: Tizen Studio Installation&Setup

Setting up the Emulator In the connection explorer window

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

Page 13: Tizen Studio Installation&Setup

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

Page 14: Tizen Studio Installation&Setup

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

Page 15: Tizen Studio Installation&Setup

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

Page 16: Tizen Studio Installation&Setup

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).

Page 17: Tizen Studio Installation&Setup

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

Page 18: Tizen Studio Installation&Setup

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

Page 19: Tizen Studio Installation&Setup

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

Page 20: Tizen Studio Installation&Setup

Internet is required for loading sample applications

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

Page 21: Tizen Studio Installation&Setup

Click on Next

Page 22: Tizen Studio Installation&Setup

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

Page 23: Tizen Studio Installation&Setup

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

Page 24: Tizen Studio Installation&Setup

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

Page 25: Tizen Studio Installation&Setup

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

Page 26: Tizen Studio Installation&Setup

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

Page 27: Tizen Studio Installation&Setup

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

Page 28: Tizen Studio Installation&Setup

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

Page 29: Tizen Studio Installation&Setup

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

Page 30: Tizen Studio Installation&Setup

FAQ