升级 Flex SDK 后出错:“{预期”
将 Flex SDK 从 3.1 升级到任何较新版本的 SDK 并尝试编译现有项目后,“问题”窗格中会出现以下错误:
Description: {预期
资源:
(显示项目名称,而不是特定文件)位置:第 15 行
有什么想法可以解决这个问题或者从哪里开始寻找错误吗?
看起来问题出在 ...sdks/3.3.0/frameworks/libs/player/10/playerglobal.swc 文件中,但我当然不确定。
After upgrading the Flex SDK from 3.1 to any newer version of the SDK and trying to compile an existing project, the following error appears in the Problems pane:
Description: { expected
Resource:
(shows project name, not a specific file)Location: line 15
Any ideas how to solve this or where to start the bug hunt?
It looks like the problem is in the ...sdks/3.3.0/frameworks/libs/player/10/playerglobal.swc file, but I'm certainly not sure.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我就遇到过这种情况(以及其他)。 从来没有深究过。 最后我将我的代码文件迁移到一个新项目。 FlexBuilder 中存在一些非常严重的错误,尤其是在 64 位 Windows 上工作时。
I've had this happen (among others). Never got to the bottom of it. In the end I migrated my code files to a new project. There are some pretty nasty bugs in FlexBuilder, especially when working on 64bit windows.
您是否尝试过对项目进行清理? 你没有提到这一点,但我认为该项目在 3.1 下编译得很好? 如果您创建一个新项目,它是否可以干净地编译(如果没有,则可能意味着您下载的 SDK 错误,需要获取新的副本。)
Have you tried to do a clean on the project? You didn't mention this but I assume that the project compiles fine under 3.1? If you create a new project does it compile cleanly (if not, it may mean that you have a bad download of the SDK and need to get a new copy.)
通过从库中删除 halo.swc 解决了该问题。 在线教程建议将 halo.swc 复制到项目中(我现在找不到)。
The problem was solved by removing halo.swc from libraries. Copying halo.swc to the project was suggested by an online tutorial (which I cannot find right now).