调试AIR:ADL启动失败 [英] Debugging AIR: ADL fails to launch

查看:153
本文介绍了调试AIR:ADL启动失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经打了尝试使用 ADL 来调试AIR应用程序时,一个障碍。

I've hit a snag when trying to debug an AIR app using adl.

尽管 ADL 成功启动,应用程序从不出现在屏幕上/启动。

Although adl successfully launches, the application never appears on screen / starts up.

例如:

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
                       xmlns:s="library://ns.adobe.com/flex/spark" 
                       xmlns:mx="library://ns.adobe.com/flex/mx"
                       width="400" height="400"
                       preinitialize="trace('hello')">
    <s:Label text="Hello, world" />
</s:WindowedApplication>

在启动这一点,跟踪永远不会执行,应用程序永远不会出现在屏幕上。

When launching this, the trace is never executed, and the application never appears on-screen.

其他景点:

  • ADL 调试器启动(即,我看到在我的被告席它的图标)
  • 我从AIR 2.6和AIR 2.7试图与ADT
  • 在此的使用的工作,我的机器上,并突然停了下来(见下文)
  • 在这没有什么区别,如果我从Flash Builder启动,或通过调用 ADT 命令行直接
  • 我在Mac上运行OSX 10.6.7
  • 在此停止了工作,我尝试安装在FB 4.5.1升级补丁,希望,这也将更新任何地方框架/ SDK文件的最新版本。这是没有效果的。
  • The adl debugger does start (ie., I see it's icon in my dock)
  • I've tried this with adt from AIR 2.6 and AIR 2.7
  • This used to work on my machine, and has suddenly stopped (see below)
  • It makes no difference if I launch from Flash Builder, or by invoking the adt command line directly
  • I'm on a mac, running OSX 10.6.7
  • After this stopped working, I tried installing the FB 4.5.1 upgrade patch, in the hope that this would also update any local framework / SDK files to the latest version. This had no effect.

正如我上面提到的,这用来做工精细,并且似乎已停止。

As I mentioned above, This used to work fine, and appears to have stopped.

大约事情停止工作,我在另一个应用程序,其中涉及安装一个防火墙来阻止特定端口做调试的时间。我怀疑它可能与此有关。

Around the time that things stopped working, I was doing debugging on another app, which involved installing a firewall to block specific ports. I suspect it may be related to this.

不过,我因为卸载所有的防火墙,它仍然无法正常工作。我不知道哪个端口 ADT 使用,但我不认为它试图运行时,连接 lsof的-i -n -P

However, I've since uninstalled all firewalls, and it still doesn't work. I'm not sure which port adt uses, but I don't see it attempting to connect when running lsof -i -n -P.

有什么建议?

更新:我也一直因为卸载并重新安装Flash Builder中(因此,在AIR SDK),它仍然无法正常工作。我想,这增加了重量的端口冲突,但还是让我不能确定在哪里/如何进行

Update: I've also since uninstalled and reinstalled Flash Builder (and therefore, the AIR SDK), and it still doesn't work. I think this adds weight to the port conflict, but still leaves me unsure of where / how to proceed

进一步更新编译一模一样codeBase的一个AIR安装程序,安装和运行应用程序工作正常。 (即,一个产能释放)。然而,codeBase类无法启动与 ADL 。这pretty的多少与 ADL ,而不是一个问题,codeBase的确认问题作为本地计算机的配置问题的地方。

Further update Compiling exactly the same codebase to a AIR installer, installing, and running the application works fine. (Ie., a production release). However, the codebase fails to launch with adl. This pretty much confirms the issue as a local machine config problem somewhere with adl, and not an issue with the codebase.

推荐答案

我终于(7周后),解决了这个问题。

I have finally (7 weeks later) solved this problem.

在我的的mm.cfg 文件,以下行已被放置有一个Firefox扩展:

In my mm.cfg file, the following line had been placed there by a Firefox extension:

PreloadSWF=/Users/martypitt/Library/Application Support/Firefox/Profiles/vxtpdg3i.default/extensions/flashfirebug@o-minds.com/chrome/content/flashfirebug/flashfirebug.swf

删除该做的事情再次合作。

Deleting this made things work again.

这篇关于调试AIR:ADL启动失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆