Tizen WEB 应用程序在 2.2 版中不起作用 [英] Tizen WEB applications are not working in version 2.2

查看:25
本文介绍了Tizen WEB 应用程序在 2.2 版中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Tizen 的新手,通过在 64 位 Windows 7 机器中将 SDK 版本设置为 2.2 开始开发.

I'm new to Tizen and started development by setting the SDK version as 2.2 in a 64-bit Windows 7 machine.

我创建了一个新的 WEB 应用程序,在尝试运行它时(在模拟器和真实设备上)安装后没有任何反应.我尝试了几次启动应用程序,但它没有启动(在模拟器中,出现黑屏).

I created a new WEB app and while trying to run it (on emulator and a real device) nothing is happening after the installation. I tried several times to launch the application, but its not launching (in emulator, a black screen is appearing).

NATIVE 应用程序没有问题.示例本机应用程序在模拟器和设备中均正常运行.

There is no problems with the NATIVE applications. Sample Native applications are running without any issue in both emulator and device.

设备详情如下:

Ref.Device-PQ

Ref.Device-PQ

TIZEN 2.2.0 (Tizen_Ref.Device-PQ_20130719.1629)

TIZEN 2.2.0 (Tizen_Ref.Device-PQ_20130719.1629)

在尝试启动应用程序时,我收到如下错误日志:

While trying to launch the application I'm getting the error log as follows:

09-23 14:09:24.465 : ERROR / Tizen::Base::Collection ( 2709 : 2709 ) : virtual result Tizen::Base::Collection::ArrayList::IndexOf(const Tizen::Base::Object&, int, int, int&) const(290) > [E_OBJ_NOT_FOUND] The arraylist is empty.
09-23 14:09:24.465 : ERROR / Tizen::Base::Collection ( 2709 : 2709 ) : virtual result Tizen::Base::Collection::ArrayList::Remove(const Tizen::Base::Object&)(393) > [E_OBJ_NOT_FOUND] Propagating.
09-23 14:09:24.465 : ERROR / Tizen::Base::Collection ( 2709 : 2709 ) : virtual result Tizen::Base::Collection::ArrayList::IndexOf(const Tizen::Base::Object&, int, int, int&) const(290) > [E_OBJ_NOT_FOUND] The arraylist is empty.
09-23 14:09:24.465 : ERROR / Tizen::Base::Collection ( 2709 : 2709 ) : virtual result Tizen::Base::Collection::ArrayList::Remove(const Tizen::Base::Object&)(393) > [E_OBJ_NOT_FOUND] Propagating.
09-23 14:09:24.465 : ERROR / Tizen::App ( 2709 : 2709 ) : virtual void Tizen::App::_ContextManager::OnApplicationTerminated(const Tizen::App::AppId&, int)(477) > Not registered pid(3560)

请说明我在使用 WEB 应用程序时遇到的问题,是否需要进行任何其他设置才能在 Tizen 2.2 中运行 WEB 应用程序.

Please give some light on the issue which I'm facing with WEB apps, Whether I need to make any additional settings to run WEB applications in Tizen 2.2.

提前致谢...

推荐答案

In tizen device 2.2 刷机后会报错OpenGL is not enabled,所以有些网络应用程序无法在设备中运行.我们需要启用 3D 加速.

In tizen device 2.2 After flashing you will get an error OpenGL is not enabled,so some web apps will not run in device. We need to enable 3D acceleration.

启用 3D 加速的步骤:

Steps to enable 3D acceleration :

从以下位置下载马里 DDK:

Download mali DDK from :

https://source.tizen.org/mali-ddk-2.2

我们通过Smart Development Bridge安装Mali DDK(我用ubanthu 12.04试过了)

We install Mali DDK through Smart Development Bridge (I tried with ubanthu 12.04)

在命令提示符下转到 cd/tizen-sdk/tools/

   # sdb -d push libtbm-*.rpm /home/
   # sdb -d push libump-*.rpm /home/
   # sdb -d push opengl-es-*.rpm /home/
   # sdb -d shell

运行这些命令,然后;

  # cd /home/
  # rpm -e --nodeps opengl-es-virtual-drv
  # rpm -ivh --force *.rpm
  # sync
  # reboot

现在您的设备已启用 3D 加速.

Now 3D acceleration got enabled in your device.

完成这些步骤后,您可以在 tizen 设备 2.2 上运行任何网络应用程序.

After these steps you can run any web app on tizen device 2.2.

这篇关于Tizen WEB 应用程序在 2.2 版中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆