IBM Worklight v6.0 - 将应用程序添加到Mobile Test Workbench时出错 [英] IBM Worklight v6.0 - Error while adding an application to the Mobile Test Workbench
问题描述
我有一个Worklight应用程序,从中创建了一个apk文件。创建了一个测试项目。
将apk文件添加到工作台,它有一个错误说:
I have a Worklight app, created an apk file from it. Created a Test Project.
Adding the apk file to the workbench, it has an error saying:
应用程序xxx .apk无法导入;它是无效的或
它包含不受支持的特定功能。
Application xxx.apk cannot be imported; it is either an invalid one or it contains specific features that are not supported.
推荐答案
尝试打开worklight工作区的.log文件。我看到一个错误,说为了使Rational Test Workbench工作,我需要使用JDK而不是JRE。
Try opening the .log file for the worklight workspace. I saw an error saying that for the Rational Test Workbench to work, I need to use JDK and not JRE.
解决我问题的解决方案如下:
The solution that solves my problem is as follow:
- 在工作区中,转到窗口> 偏好设置
- 展开 Java > 已安装的JRE
- 添加新JDK 并勾选标记
- 打开xxx.ma文件
- 您仍然应该看到该文件中的错误
- 从中选择移动应用程序测试工作台文件。 删除
- 再次将移动应用添加到测试工作台文件中。处理需要一些时间。
- In the workspace, go to Window > Preferences
- Expand Java > Installed JREs
- Add a new JDK and ticky mark it
- Open the xxx.ma file
- You should still see the error in that file
- Select the mobile app from the test workbench file. Delete it
- Add the mobile app again to the test workbench file. It will take some time to process.
这篇关于IBM Worklight v6.0 - 将应用程序添加到Mobile Test Workbench时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!