2013-04-30 50 views
0

我只有一个html文件来打包内部重定向到另一个外部页面。尝试打包时获取“错误101:命名空间丢失”

的test.html:

<html> 
<head> 
<meta http-equiv="refresh" content="0; URL=http://google.com"/> 
</head> 
<body> 
</body> 
</html> 

测试-app.xml中:

<?xml version="1.0" encoding="UTF-8" standalone="no"?> 
<application xmlns="http://ns.adobe.com/air/application/2.7"> 
    <id>com.test.testServiceCenter</id> 
    <versionNumber>0.1</versionNumber> 
    <filename>TestSuite</filename> 
    <initialWindow> 
     <content>Test.html</content> 
     <visible>true</visible> 
     <width>1000</width> 
     <height>700</height> 
    </initialWindow> 
<allowBrowserInvocation>true</allowBrowserInvocation> 
</application> 

当我尝试使用这个打包以下:

D:\Adobe Air SDK\bin>adt -package -storetype pkcs12 -keystore MySample.pfx TestSuite.air TestSuite\Test.html TestSuite\Test-app.xml 

我得到以下错误:

D:\Adobe Air SDK\bin\TestSuite\Test.html: error 101: Namespace is missing 

在adobe的帮助中,它只是说缺少错误101的名称空间。什么是缺少名称空间。请任何帮助。

回答

0

现在就解决了。这是更多的与语法