在将6.2.0.1项目迁移到7.0后,显示错误,项目仍然关闭:
Starting to migrate the <project_name> project from version 6.2.0.01.20141027-1531 to version 7.0.0.00.20150312-0731
Unexpected error during upgrade: java.lang.Error: java.io.FileNotFoundException: <path>/iphone/native/ExternalLibrary/iBeacon/NetworkServices.embeddedframework/NetworkServices.framework/Headers
(No such file or directory) at com.worklight.upgrader.WLUpgradeEngine.performUpgrade(WLUpgradeEngine.java:326) at com.worklight.upgrader.WLUpgradeEngine.upgradeProject(WLUpgradeEngine.java:188)
at com.worklight.studio.plugin.upgrader.WLUpgraderWorkspaceJob.runInWorkspace(Unknown Source) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.io.FileNotFoundException: <path>/iphone/native/ExternalLibrary/iBeacon/NetworkServices.embeddedframework/NetworkServices.framework/Headers
(No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146)
at com.worklight.upgrader.internal.Zipper.addFileContentToZip(Zipper.java:145) at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:205)
at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202) at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202)
at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202) at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202)
at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202) at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202)
at com.worklight.upgrader.internal.Zipper.addFolderToZip(Zipper.java:202) at com.worklight.upgrader.internal.Zipper.addFolder(Zipper.java:106)
at com.worklight.upgrader.internal.Zipper.addFolder(Zipper.java:91) at com.worklight.upgrader.WLUpgradeEngine.backupCurrentProject(WLUpgradeEngine.java:645)
at com.worklight.upgrader.WLUpgradeEngine.performUpgrade(WLUpgradeEngine.java:294) ... 4 more
[2015-03-31 10:31:58] java.lang.Error: java.io.FileNotFoundException: <path>/iphone/native/ExternalLibrary/iBeacon/NetworkServices.embeddedframework/NetworkServices.framework/Headers (No such file or directory)
任何人都对可能的原因和解决方案有所了解吗?
答案 0 :(得分:3)
这看起来像是一个外部文件夹,而不是项目的一部分 您可以逐步预测再现和调试错误吗?
解决方案可能是将ExternalLibrary / iBeacon文件夹放在项目之外,将项目导入MFP 7.0 Studio,然后将提到的文件夹放回其中,看看它是否有效。
我怀疑不熟悉的文件夹会混淆升级程序。