IBM的工作灯 - "不幸的是,HelloWorkLight已经停止"错误信息的是、错误信息、不幸、工作灯

2023-09-05 04:06:49 作者:冬天不冷人心最冷

我已经创建了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:

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

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

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