Languages

Menu
Sites
Language
Web App doesn't launch on emulator

Hi, I'm not able to launch any web application from the Tizen Studio on an emulator.

I created a Basic UI Template (Web Application) as mobile 3.0 version without any adjustments and deployed it to the emulator which I created with the Emulator Manager. After a short period, the application launches on the emulator and I can see a white screen (I guess it's some kind of splash screen) which will not disappear. 5 seconds later the application crashes without any helpful log entries (see log file below). A native application (C/ C++), however, runs on the emulator without any problems.

I already tried different settings from the emulator (Enabling/ Disabling device sensors, HW support etc.), but nothing really seems to be working. If I deploy the same application on a real device, the app runs without any issues. Since I don’t have access to that device all the time, I really need to get the emulator working.

I'm working with Tizen Studio 1.2 for macOS and I already reinstalled the Studio several times.

 

Thanks in advance!

 

Edited by: Anonymous on 04 Aug, 2017

Responses

6 Replies
André Reus

hi 

First thing you can that what is your emulator platform version. may be you are trying with an older platform version emulator. 

Secondly, check from Package Manager that if you have installed Web app. development (IDE) under 3.0 Mobile. 

 

Hi André,

thanks for your response. I just checked the version of the emulator platform. I'm runing the emulator as mobile-3.0-x86 version, same as the project version (mobile-3.0) version. I also just checked the installed packages from the Package Manager. The entire 3.0 mobile packe, which also contains the Web app. development (IDE) is already installed as well as the entire Tizen SDK tools kit, if that also matters.

John Ixion

i don't know much about Apple but these are the known issues with the emulator:

  • To use the Tizen emulator, install an Intel VTx supported by the CPU, and the latest version of the graphic card driver provided by the vendor. Check the prerequisites for the Tizen emulator from Prerequisites for the Tizen Studio.
    • If the host machine is using NVIDIA® Optimus® technology on either Ubuntu or Windows®, you must set the Tizen emulator to run with your NVIDIA graphics card. For Ubuntu, check the bumblebee project (https://wiki.ubuntu.com/Bumblebee). For Windows®, select "High Speed NVIDIA Processor" as "Preferred Graphics processor" in the NVIDIA control panel.
    • On Ubuntu, if the graphics driver is out-of-date, your Ubuntu desktop session can be occasionally logged out when launching the Emulator Manager, or the emulator skin can be drawn improperly. Check the prerequisites and upgrade to the latest graphics driver.
  • On Ubuntu 14.04, a shortcut menu can sometimes appear transparent.
  • On Windows®, depending on your OS theme (such as Non-Aero themes and Windows XP themes), a display surface can be erased for a while if the emulator window is covered with another window. If you click the emulator window, the display surface runs correctly again.
  • On Windows®, if a "failed to allocate memory" error occurs while executing the emulator, try the following:
    • Close some other programs and try to launch the emulator again.
    • If the RAM size is set to 768 or 1024 MB for the VM in the Emulator Manager, change it to 512 MB.
    • Increase the user area of the virtual memory in the system to 3 GB by entering the bcdedit /set increaseuserva 3072 command on the console with administrator rights (Windows® 7 only), and reboot.
  • If you use a MacBook Pro which has both Intel HD and NVIDIA® GPUs, when you execute the emulator with the OpenGL ES ver. v1.1 & v2.0 option, the emulator can be unexpectedly terminated. Use the OpenGL ES ver. v2.0 & v3.0 option.
  • When you launch the Emulator Manager in the Tizen IDE, the Emulator Manager shortcut image is not exposed properly.
  • Basic Web applications do not install on SD cards.

Thanks for your response. I read through all the prerequisites for the emulator and based on that it actually should work. However, I'm still not sure if it is really a problem with the emulator or maybe only a configuration issue with the web application.

I mean, I can run the emulator and use it without any issues and I also can deploy native applications on it and execute them. However, when I try to run a web application, it's not the emulator that crashes, it's the app itself. I just see the white screen I described in my initial post and after some seconds the app crashes.

What do you mean with "Basic Web applications do not install on SD cards."? Is this a problem in general or a problem with the emulator.

GO U

As far I can see, your emulator is running under non host GPU support environment. Under this environment, emulator boot process and native apps work well, but web apps do not. As I know, Tizen 3.0 web app engine works only for host GPU support environment. In conclusion, you should update latest PC graphic driver to solve your problem.

John Ixion

you should have posted this in the SDK section imo: the SDK guys probably don't read this section