进程意外终止。
找不到初始内容
启动命令详细信息:"C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\bin\adl.exe" -runtime "C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\runtimes\air\win" "C:\Users\acer\Adobe Flash Builder 4\Dental Clinic_2\Main-app.xml" "C:\Users\acer\Adobe Flash Builder 4\Dental Clinic_2"
当我尝试在第一次导入其他项目时运行program...this时,会出现此错误。我没有这个问题与我自己的程序这只是出现在项目I imported...could某人帮助我..
发布于 2011-09-05 18:41:06
将应用程序标签和版本更改为1.5:
发布于 2013-07-23 01:49:02

Process terminated without establishing connection to debugger.
Invalid application descriptor. Unknown http://ns.adobe.com/air/application/3.1我无法让任何flex air项目在我的flash builder中运行,更改Main-app.xml中的这一行可以让项目运行。关于flex air的一些东西需要至少2.6 SDK才能运行,即使我正在使用flash 4.5.1 SDK。
<application xmlns="http://ns.adobe.com/air/application/2.6">发布于 2013-01-20 01:50:49
当我在Flash Builder 4.7 (Flex 4.6.0,Air 3.5)中开发移动应用程序时,我遇到了同样的错误。事实证明,自动格式化应用程序描述符XML文件主文件(-app.xml)是问题所在。
在应用程序描述符XML文件中,应该有一个<content>元素,比如
<!-- The main SWF or HTML file of the application. Required. -->
<!-- Note: In Flash Builder, the SWF reference is set automatically. -->
<content>[This value will be overwritten by Flash Builder in the output app.xml]</content>现在,当构建应用程序时,构建脚本将应用程序描述符复制到输出目录(对于examle bin-debug),并且应该用生成的SWF文件的名称替换<content>元素的内容,例如<content>Main.swf</content>。
在自动格式化应用程序描述符(在Flashbuilder中按下ctrl + shift +F)之后,元素看起来像这样
<!-- The main SWF or HTML file of the application. Required. -->
<!-- Note: In Flash Builder, the SWF reference is set automatically. -->
<content>[This value will be overwritten by Flash Builder in
the output app.xml]
</content>注意在text-content内和之后插入的换行符。
现在,构建脚本不再能够用SWF文件的名称替换text-content。因此,在输出文件夹(bin-debug)中得到的应用程序描述符中,<content>元素仍然包含格式化的占位符内容。因此,找不到SWF文件,并出现“未找到初始内容”错误。
https://stackoverflow.com/questions/5259694
复制相似问题