IBM Worklight v6.0 - Error while adding an application to the Mobile Test Workbench

白昼怎懂夜的黑 提交于 2019-12-20 06:05:15

问题


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:

Application xxx.apk cannot be imported; it is either an invalid one or it contains specific features that are not supported.


回答1:


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:

  • 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.



回答2:


The problem is most likely to do with the fact that your Eclipse is not pointing to a JDK. Please edit eclipse.ini to point to your JDK (-vm ... jdk location...)



来源:https://stackoverflow.com/questions/17278129/ibm-worklight-v6-0-error-while-adding-an-application-to-the-mobile-test-workbe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!