Flash Builder:无法导出错误
我有一些导入到 Flash Builder 4 中的 Flex Builder 3 项目 (SDK 3.2/3.5)。它们在调试模式(IE、Firefox、Chrome)下运行良好,所有 swf 和 swc 都出现在 bin-debug 文件夹中。但是,当我尝试在主项目上执行导出发布构建时,出现以下错误:
"One or more errors were found while trying to
build the release version. Unable to export."
“问题”选项卡中没有错误,并且控制台中没有显示任何内容。只需点击“确定”并退出该过程即可。
更新: @doc_80 - 我检查了日志文件,错误是由以下原因引起的:
Caused by: java.lang.NoClassDefFoundError: flex2/tools/
oem/OEMException$CircularLibraryDependencyException
将按照@doc_80的建议查看.project文件
还有其他人看到过这个,或者知道修复吗?我查看了 adobe 论坛,但他们更改链接资源的解决方案根本没有帮助。
布莱恩
I have a a few Flex Builder 3 projects (SDK 3.2/3.5) that I imported into Flash Builder 4. They run fine in debug mode (IE, Firefox, Chrome), with all the swf's and swc's appearing in the bin-debug folder. But, when I try to do an Export Release Build on the main project, I get the following error:
"One or more errors were found while trying to
build the release version. Unable to export."
There is no in errors in the Problems tab, and nothing appears in Console. Just have to hit ok and quit the process.
UPDATE: @doc_80 - I checked the log file, error caused by:
Caused by: java.lang.NoClassDefFoundError: flex2/tools/
oem/OEMException$CircularLibraryDependencyException
Will look into the .project file as suggested by @doc_80
Has anyone else seen this, or know of a fix? I looked a the adobe forum, but their solution to change linked resourses didnt help at all.
Brian
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我遇到了同样的问题,但原因是desktop.ini 文件(Windows 7)。它与声音文件一起出现在 sme 目录中。
并且在日志中:
Caused by: java.io.FileNotFoundException: C:.....\assets\ui\sounds\desktop.ini (访问被拒绝)
...确保该文件被隐藏。我已经手动删除它,一切都OK了!
感谢这里的帖子帮助解决了这个问题。
I had the same issue but the reason was desktop.ini file (Windows 7). It appeared in the sme directory with the sound files.
And in the log:
Caused by: java.io.FileNotFoundException: C:.....\assets\ui\sounds\desktop.ini (Access is denied)
... sure this file is hidden. I've delete it manually and everything became OK!
Thanks to the posts here that helped to solve this problem.
花了一整天的时间研究这个问题,找到了答案。
如果您在任何打开的项目中使用 RSL,就会发生这种情况。就我而言,主应用程序使用的项目之一是图书馆项目。当调用 Export Release 构建时,Flex 3 SDK 缺少 FB4 处理 RSL 依赖项所需的文件。
这些缺失的文件可以从 Flex 4 SDK 中的 flex-compiler-oem.jar 文件复制到 Flex 3 SDK 中的同一 jar 中。
我在我的博客上放置了分步说明:
http: //bishoponvsto.wordpress.com/2011/01/19/flash-builder-4-flex-3-sdk-export-release-build-error/
Spent all day on this problem, found an answer.
It occurs if your using RSL's in any of your open projects. In my case one of the projects used by the main app was a Library project. Flex 3 SDK is missing files needed for FB4 to handle the RSL dependencies when Export Release build is invoked.
These missing files can be copied from the flex-compiler-oem.jar file in Flex 4 SDK to the same jar in the Flex 3 SDK.
I have put a step by step instructions on my blog:
http://bishoponvsto.wordpress.com/2011/01/19/flash-builder-4-flex-3-sdk-export-release-build-error/