AIR Error: invalid application descriptor: Unknown namespace/ versionNumber must have a non-empty value.

Categories: Flex; Tagged with: ; @ October 23rd, 2011 15:26

Adobe AIR 最近一年升级火速, 去年1.5.3创建的Project使用高版本的SDK后会因为配置文件引发各类错误, 譬如:

Error1:  Namespace 1.5.3 in the application descriptor file should be equal or higher than the minimum version 2.6.0 required by Flex SDK.   

OK, 那替换1.5.3为2.6.0:

Process terminated without establishing connection to debugger.
invalid application descriptor: Unknown namespace: http://ns.adobe.com/air/application/2.6.0

Ok, 看来2.6.0只是个提示信息, 并不存在2.6.0这个命名空间, 于是参考新的Project, 修改为2.6;

继续尝试, 错误又来:

Error2: Process terminated without establishing connection to debugger.
invalid application descriptor: versionNumber must have a non-empty value.

Ok, 结构变化了, versionNumber 这个必须要有, 增加一下:

<versionNumber>0.0.0</versionNumber>

<->



// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.