Flash Builder:无法导出错误

发布于 2024-10-12 12:19:47 字数 649 浏览 2 评论 0原文

我有一些导入到 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

永言不败 2024-10-19 12:19:47

我遇到了同样的问题,但原因是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.

命比纸薄 2024-10-19 12:19:47

花了一整天的时间研究这个问题,找到了答案。

如果您在任何打开的项目中使用 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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文