Worklight build error Failed initializing ClientPr

2019-02-07 08:17发布

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条回答
够拽才男人
2楼-- · 2019-02-07 08:33

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(!).

查看更多
登录 后发表回答