Flash Builder 4.5 won't run my application

百般思念 提交于 2019-12-11 15:47:18

问题


I was running my application from Flash Builder 4.5.1 without any issues. (It is a Flex application that connects to .Net Web Services). However, something has changed recently in my configuration or project, because when I try to run the app with the play or debug button, I just get a grey screen. I can't even stop on any breakpoints.

Eventually (maybe 30 seconds), a message pops up like so: 'The Flash Builer failed to connect to the running application. Please make sure that you are running the debug version of Flash Player...'

  • I definitely have latest version of Flash Debug Player installed (11.1.102.55). I have tried uninstalling it and re-installing it.
  • I have tried cleaning and rebuilding my project.
  • I have tried switching to a different workspace and back again.
  • I have tried restarting the PC.

I am using the latest version of IE for testing.

I'm really stumped - has anybody got any ideas on how to solve this?

Thanks


回答1:


Have you tried deleting the html-template folder? This has caused issues for me in the past.

After it's deleted, when you try to build you will have a compiler error/warning about the missing folder. Right click and 'rebuild'.




回答2:


There are some issues with compatability between 64 bit IE9, the 64-bit flash player, and 32-bit debugger. It seems like flash builder gets confused on which to use. I haven't seen any decent resolution yet in the Adobe forums for this particular issue other than use a different browser for testing.

To switch browsers, go to Window > Preferences... > General > Web Browser in Flash Builder. Select Firefox or Chrome.

In order to use Firefox, you need the Flash Debugger for Netscape compatable browsers installed. You can get that from Adobe here.

To use Chrome, you need to replace the built in flash player that is installed with Chrome with the debug player. Instructions from Adobe are here.



来源:https://stackoverflow.com/questions/9065202/flash-builder-4-5-wont-run-my-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!