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的名稱空間。什麼是缺少名稱空間。請任何幫助。