This content has been marked as final. Show 4 replies
The only thing I can think of is to make doubly sure that the "HelloWorld.xml" file is really called "HelloWorld.xml" and that it is really in that directory.
It's there and it's named like it should. ADL can launch the application:
ip-89-103-132-47:~/Documents/projectAIR/AIRHelloWorld goddard$ adl src/HelloWorld.xml
(displays an app window)
And that REALLY makes me wonder why one tool can read it, and another cannot. Anyone from Adobe can explain it?
Two other things that might impact this are:
1) The version of Java you're using, since adt is implemented in Java. A bug or misconfiguration in the Java XML parser might cause this error. Does this problem happen just with this one application, or with all applications you've tried?
2) A subtle problem in the application descriptor file that trips up ADT but not ADL. Can you post your descriptor file?
Oliver Goldman | Adobe AIR Engineering
thanks for reply. I checked the app descriptor and found out this:
ip-89-103-132-47:~/Documents/projectAIR/AIRHelloWorld/src goddard$ more HelloWorld.xml
<?xml version="1.0" encoding="UF-8"?>
<application xmlns=" http://ns.adobe.com/air/application/1.0">
So first, there are two mistakes:
1. The charset is misspelled: UF-8 instead of UTF-8.
I fixed that and then I've got next error message:
ip-89-103-132-47:~/Documents/projectAIR/AIRHelloWorld goddard$ adt -package -storetype pkcs12 -keystore src/air.pfx -keypass password -tsa none AIRHelloWorld.air src/HelloWorld.xml src/AIRHelloWorld.html src/AIRAliases.js
/Users/goddard/Documents/projectAIR/AIRHelloWorld/src/HelloWorld.xml(7): error 302: Root content AIRHelloWorld.html is missing from package
2. That was easy to fix. I just changed the content tag in app descriptor from
because I have all the source file in that dir.
Thank you very much for suggestions :) One more question - now when it's clear that ADL treats XML in different way (more tolerant) than ADT, can you explain us how it is possible or when it will be actually fixed?