언어 설정

Menu
Sites
Language
Emulator problem

Hi guys,

I'm new to Tizen. I've already installed SDK 2.1 and am trying to launch some applications on the emulator.

I'm using 2 computers - Lenovo laptop and custom PC - both with Windows 7 64-bit. On both I have a problem to launch any web application on the emulator as follows:

LAPTOP:

1. I had to follow steps from this post to launch the emulator and upload the apps https://developer.tizen.org/forums/sdk-ide/tizen-emulator-not-starts i.e. (1) sdb root on and (2) Type=oneshot in /usr/lib/systemd/system/user-session@.service

2. I cannot use HW Virtualization on laptop (this option is not available)

3. When running simple web app (single page) or any web app sample - the application is installed in the emulator, but there is black screen similar to this post https://developer.tizen.org/forums/web-application-development/unable-launch-web-application-tizen-emulator

4. I'm able to push "home" button and get back to home screen of the emulator ... note that I'm able to launch all other preinstalled apps without problems (calculator, memo, etc.)

After fighting with Tizen on the laptop I moved to desktop

DESKTOP:

1. I did not have to do steps mentioned in Laptop #1

2. I'm using HW Virtualization - the emulator runs smooth

3. When running simple web app (single page) or any web app sample - the application is installed in the emulator, and it crashes (emulator is shut down). I tried to use Debug As -> Tizen Web Application instead of Run As -> Tizen Web Application ... the result was the same, and I got an info - java.lang.NullPointerException (see screenshot image) - the same happens to all tizen web application

Any help how to handle these issues will be greatly appreciated.

EDIT: emulator logs from desktop are attached in the comment below

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

10 댓글
Raghu Kona
Hi, I have raised a Jira request for this issue. Please follow the below link for updates on this issue. https://bugs.tizen.org/jira/browse/TSDK-148 Regards, Raghu Kona
SeokYeon Hwang
Please attach emulator.log and emulator.klog.
Jacek Serafinski
Hi SeokYeon, here are the files: https://www.dropbox.com/s/hvnerixbs2dv6gq/emulator.klog https://www.dropbox.com/s/4fhrbss5ij15k5h/emulator.log Thanks!
MooChang Kim
hi I heard that 2.1 has a bug, so 'app project name' and 'project folder name' should be same. otherwise this java null pointer exception happens. and this issue is fixed in 2.2beta.
Jacek Serafinski
Hi MooChang, I guess the project name and folder name are the same in my case. I just created new project with new name and as far as I understand - the main folder name is the same as project name by default (I did not change anything). I will try SDK 2.2 in this case.
MooChang Kim
Hi Jacek. in your LAPTOP case.. black screen may related with GL issue. you can try to use S/W backend to avoid this. (by turn off GPU in emulator manager) if it works then you may need to upgrade your graphic card driver version OR if your graphic card is Intel HD graphics 1th generation then this is known issue. and in your DESKTOP case.. I need more information.. if it is just test project and there is no proprietary code then could you zip and upload whold project files to Jira? Thanks
Jacek Serafinski
Hi MooChang, I switched off GPU in emulator and got and error: "Creating webkit context was failed". See screenshot: https://www.dropbox.com/s/oro4v5kr6y97n0w/tizen-laptop-disabled-GPU.png Two projects are attached: https://www.dropbox.com/s/k1qltwq2qnz4ilr/BlankAppTest.zip https://www.dropbox.com/s/8s8e2vqkaug94sn/SinglePageTest.zip They are created simply clicking (BlankAppTest.zip) New -> Tizen Web Project -> Template -> Basic -> Blank Application ... writing project name (BlankAppTest) -> Finish ... Right click on project -> Run As -> Tizen Web Application (after starting emulator) (SinglePageTest.zip) New -> Tizen Web Project -> Template -> Tizen-> Tizen Web UI Framework -> Single Page Application ... writing project name (SinglePageTest) -> Finish ... Right click on project -> Run As -> Tizen Web Application (after starting emulator)
MooChang Kim
Hi. Jacek. I tried app project that you uploaded and found no issue. I guess your host PC setting is related.. for the 'java null exception' issue, could you check 'chrome' installation status and it's path setting in Tizen IDE preferance? until 2.1, chrome path setting is required manually.. but I heard that this is automated from 2.2beta. it will be good if you share 2.2beta result as well. Regards
Jacek Serafinski
Hi MooChang, on laptop (black screen on emulator) it started to work after installing new drivers for Intel HD Graphics Card. I'll still try to figure out how to overcome the issue on my desktop. Thanks, Jacek
Jannie Marie Co
Thanks for this guide. Though I have contributed nothing, I still have learned something through their replies. Keep posting! sports photos