Worklight build error Failed initializing ClientProjectBuilder

≡放荡痞女 提交于 2019-12-18 13:30:25

问题


I have suddenly started getting worklight build errors like below. I have no clue why it started happening suddenly. The code was working fine until the remote machine I use for Xcode builds was rebooted. Any clue what could be causing it ?

ipad build failed: Failed initializing ClientProjectBuilder android build failed: Failed initializing ClientProjectBuilder iphone build failed: Failed initializing ClientProjectBuilder

Regards Avi


回答1:


The solution to this error, typically, is to delete the wlBuildResources folder, located in the TMPDIR of the OS.

See here: Worklight - FWLST1040E: android build failed: java.io.FileNotFoundException

  1. Close Eclipse
  2. Locate your temp folder (Windows, OS X)
  3. Delete the wlBuildResources folder
  4. Open Eclipse
  5. Re-build

It may be helpful to also delete the native folder before closing Eclipse, however do note that if you have written custom native code you should first back it up so it won't be lost(!).



来源:https://stackoverflow.com/questions/28582419/worklight-build-error-failed-initializing-clientprojectbuilder

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