IBM的工作灯 - "不幸的是,HelloWorkLight已经停止"错误信息 [英] IBM Worklight - "Unfortunately, HelloWorkLight has stopped" error message

查看:115
本文介绍了IBM的工作灯 - "不幸的是,HelloWorkLight已经停止"错误信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了Android环境的一个简单的HelloWorld应用程序。当我在我的Andr​​oid设备(ICS版本)运行它,我得到这个错误信息:

I have created a simple HelloWorld application with the Android environment. When I run it in my android device (ICS version) i get this error message:

不幸的是,HelloWorkLight已停止

Unfortunately, HelloWorkLight has stopped

当我运行它在Android仿真器(2.2版本),我得到这个错误:

When I run it in the Android emulator (version 2.2), I get this error:

抱歉!申请HelloWorkLight(过程com.HelloWorkLight)已意外停止。请再试一次。强制关闭。

Sorry! The application HelloWorkLight (process com.HelloWorkLight) has stopped unexpectedly. Please try again. Force Close.

我不知道该如何处理这个错误。

I have no idea what to do with this error.

推荐答案

您可能正在使用ADT V22。
要解决此问题:

You are probably using ADT v22.
To resolve this issue:

  1. 在工作灯Studio中的原生Android项目上单击右键 并选择属性。
  2. 选择Java构建路径,进入订单和出口 标签。
  3. 标记中的复选框为Android的私人图书馆
  4. 刷新/清洁/重建的Andr​​oid项目。
  1. Right-click on the native Android project in Worklight Studio and choose 'Properties'.
  2. Select 'Java Build Path' and go to the 'Order and Export' tab.
  3. Mark the check-box for 'Android Private Libraries'
  4. Refresh/clean/rebuild the android project.

您需要做的每个项目上。
这是内部固定在将来的工作灯发布。

You will need to do the above per-project.
This is fixed internally for a future Worklight release.

这篇关于IBM的工作灯 - "不幸的是,HelloWorkLight已经停止"错误信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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