airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
200 stars 11 forks source link

error 102: invalid namespace #279

Open danielkotzer opened 4 years ago

danielkotzer commented 4 years ago

Problem Description

error 102: invalid namespace http://ns.adobe.com/air/application/33.1

Describe your problem in detail. Include the following information:

I am using the new Harman Air SDK 33.1, I had to change the top line of the descriptor file:

but when you compile an ipa file, I get this error: 102: invalid namespace http://ns.adobe.com/air/application/33.1 Even though I did change it to fit the SDK version. * Which AIR SDK did you use? Hint: always try the latest version from [Adobe Labs](http://labs.adobe.com/downloads/air.html). Harman Air SDK 33.1, I also tried using the lab version. I use Flash Builder v 4.7 Apache Flex 4.16.1
danielkotzer commented 4 years ago

Harman Air SDK 33 was working fine, only 33.1 gives this error when you build an ipa file.

marchbold commented 4 years ago

Which version of the SDK are you using?

danielkotzer commented 4 years ago

I down loaded the latest version 33.1 about a week ago. Then I downloaded the version from the lab 3.11 yesterday. Still the same error. Version 33 worked fine. I work with FB 4.7 I have an SDK I downloaded with Appache flex downloader 4.1 with Air 32 which I use as a base and then override it with the new version of the SDK I download from Harman.

בתאריך יום ב׳, 30 במרץ 2020, 11:40, מאת Michael ‏notifications@github.com:

Which version of the SDK are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Gamua/Adobe-Runtime-Support/issues/279#issuecomment-605863117, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKYST32B5RW4TGJLMRB4PTRKBLH5ANCNFSM4LWCQVUQ .

ajwfrost commented 4 years ago

Can you please clarify the actions you're taking: "when you compile an IPA file" so this is happening when creating the IPA, rather than when running your application in the FB debugger, or when opening it on the device?

Are you able to find the location of the ADT.jar that's in use? (maybe check that this is the one it's using by renaming it to something else and ensuring that it then doesn't work - although actually, with FB I think it won't let you rename or delete it as it will be in use the whole time..)

Then with that ADT.jar please either confirm the exact filesize or md5sum, or open it in a zip viewer such as 7-zip and look for a class com/adobe/air/validator/ApplicationDescriptorValidator331.class

thanks

danielkotzer commented 4 years ago

I checked it out, you are right, this ApplicationDescriptorValidator331.class was missing from ADT.jar, I don't know how this happened, I had some problem extracting the 33.1 sdk into the Appache 4.1 air 32 sdk, maybe some things didn't get copied because an error during the extraction. see attached image. Or maybe my FB was open when I was extracting the 33.1 sdk and it was using the ADT.jar file not letting it be overridden, anyway, you should know that having the folders MainWindow.nib and MainWindow-iPad.nib inside AIRSDK_Flex_Windows\lib\aot\lib which contain a file that has the same name of the folder it is in, seems to be a challenge to the unzipping software, I use winrar 5.71, the newest is 5.9 and it is still having problems extracting it, though I had this problem only when I was extracting the SDK into the Appache sdk, it did work on a higher folder more closer to the root folder, sometimes, so just would be better not to have such a thing as a folder that contains the same name as the folder.

On Mon, Mar 30, 2020 at 2:54 PM Andrew Frost notifications@github.com wrote:

Can you please clarify the actions you're taking: "when you compile an IPA file" so this is happening when creating the IPA, rather than when running your application in the FB debugger, or when opening it on the device?

Are you able to find the location of the ADT.jar that's in use? (maybe check that this is the one it's using by renaming it to something else and ensuring that it then doesn't work - although actually, with FB I think it won't let you rename or delete it as it will be in use the whole time..)

Then with that ADT.jar please either confirm the exact filesize or md5sum, or open it in a zip viewer such as 7-zip and look for a class com/adobe/air/validator/ApplicationDescriptorValidator331.class

thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Gamua/Adobe-Runtime-Support/issues/279#issuecomment-605955045, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKYSTZKTODVZ27TX7SQ3T3RKCCA3ANCNFSM4LWCQVUQ .