且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Worklight构建错误初始化ClientProjectBuilder失败

更新时间:2021-10-03 01:22:16

解决方案通常,这个错误是删除位于操作系统TMPDIR中的 wlBuildResources 文件夹。

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

参见这里: Worklight - FWLST1040E:android build failed:java.io.FileNotFoundException


  1. 关闭Eclipse

  2. 找到你的临时文件夹( Windows OS X

  3. 删除 wlBuildResources 文件夹

  4. 打开Eclipse

  5. 重建

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

它也可能有帮助在关闭Eclipse之前删除本机文件夹,但请注意,如果您已编写自定义本机代码,则应首先对其进行备份以使其不会丢失(!)。

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