IBM Worklight 5.0.6.x - Hybrid Android application can't run on real device

本小妞迷上赌 提交于 2019-12-02 12:27:35
Idan Adar

You have probably installed ADT v22. I have provided an answer for this problem in this question: worklight auto-generated android folder does not run on avd

This happens due to a change Google has made in this version of ADT. It affects users of ADT v22 only. Worklight will have a built-in fix for this in Worklight v6.0.

In the meanwhile, follow these instructions (on a per-project basis):

  1. Right-click on your generated Android project and choose "properties"
  2. From the left pane, choose "Java Build Path'
  3. Tick the "Android Private Libraries" checkbox
  4. Refresh the project / re-build the app

The app should now successfully launch in the device.

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