1

我的环境在重新启动、清理、退出 Eclipse、删除本机文件夹后无法构建,我也在寻找原因并完美修复以下错误,因为任何开发人员不会在每次出现此问题时都删除,请帮助

error log 


windowsphone build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Error while reading XML file: /Users/Desktop/16th July/30thJuly-Map/test_Login/apps/test/windowsphone/native/Properties/WMAppManifest.xml (No such file or directory) Nested exception: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/windowsphone/native/Properties/WMAppManifest.xml (No such file or directory)
[2013-07-30 17:39:20] FWLST1040E: ipad build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Problem reading info.plist file /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/ipad/native/testLogintestIpad-Info.plist (No such file or directory) Nested exception: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/ipad/native/testLogintestIpad-Info.plist (No such file or directory)
[2013-07-30 17:39:21] FWLST1040E: iphone build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Problem reading info.plist file /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/iphone/native/testLogintestIphone-Info.plist (No such file or directory) Nested exception: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/iphone/native/testLogintestIphone-Info.plist (No such file or directory)
[2013-07-30 17:39:21] FWLST1040E: windows8 build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Error while reading XML file: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/windows8/native/package.appxmanifest (No such file or directory) Nested exception: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/windows8/native/package.appxmanifest (No such file or directory)
[2013-07-30 17:39:23] FWLST1040E: android build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Error while reading XML file: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/android/native/AndroidManifest.xml (No such file or directory) Nested exception: /Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/android/native/AndroidManifest.xml (No such file or directory)
[2013-07-30 17:39:24]             A core eclipse exception has occurred: Failed to read project description file from location '/Users/test/Desktop/16th July/30thJuly-Map/test_Login/apps/test/android/native/.project'.

谢谢 djrecker

4

3 回答 3

1

Refactor->Rename 使用以下修复程序更改项目名称后,我的 Eclipse 中出现了相同的错误,适用于 iPhone 环境。您也可以在其他环境中尝试相同的方法。

  • 错误说它找不到 info.plist 文件。尝试移动到计算机中的该位置并查看该文件是否存在。在你的情况下ESILoginESIIphone-Info.plist
  • 如果找不到文件。只需***-Info.plist在同一路径中查看并记下**** 工作灯将始终在 info.plist 文件中附加您的项目名称两次(不知道为什么)。例如,如果您的项目名称为 ESI,那么您的 plist 文件名将是 ESIESI-Info.plist。

我猜在您的项目文件中您已将名称更改为ESILogin

  • 尝试重命名****您在上述步骤中找到的项目。

就这样。快乐大厦。

于 2014-05-22T16:17:41.030 回答
0
  1. Please look in the Error Log view in Eclipse; there should be an exception trace there which could help us in identifying the root cause.

  2. Can you reproduce this? Does it happen only when you create a new project and add all Mobile environments at once, or even when you add only one Mobile environment?

  3. What is your Worklight version?

于 2013-07-30T12:23:22.333 回答
0

删除项目中的 bin 文件夹内容并重新启动服务器。再次部署所有适配器和应用程序

于 2014-05-10T07:13:22.133 回答