2.0beta namespace is no longer supported.
It seems like you have an older (beta) SDK installed with Flex Builder. You must overlay your Flex SDK with the latest(AIR 2) SDK available at:
You can find the instructions for overlaying at:
And re-package your application after changing the namespace in your application.xml to 2.0:
Then, it must install without problems.
1 person found this helpful
Neha, thank you a thousand times, as I had the same problem as "bilgea" and have been searching for the correct namespace for over a week.
Though, I got solutions like "2.0beta" and "2.0beta2" none worked for me.
I too went through the same loop of overlapping the sdk , re-installing air runtime etc again n again.
Hope, others also find the solution soon.
Thank you for your answer, it was helpful in getting me further although I had to do the following additional steps to make it work:
- In Flex or Flash Builder, open the Properties dialog and choose the Flex Compiler page
- Click the Configure Flex SDKs... link
- Add the combined Flex and AIR 2 SDK folder created above
- Use this SDK for any projects accessing AIR 2 APIs.
It compiles fine now however, I have another problem that maybe you can shed some light on...
On installing my desktop app and running it returns that the NativeProcess API is unsupported (i.e NativeProcess.isSupported =false). My app is basically this example on the adobe site: http://www.adobe.com/devnet/air/flex/quickstart/interacting_with_native_process_print.html.
The error seems to indicate that the Air runtime is not Air 2.0.
I have checked my Air runtime version (as per instructions here http://kb2.adobe.com/cps/407/kb407625.html) and have uninstalled, downloaded again and re-installed the AIR 2.0 runtime just in case but no go.
Do you have any suggestions on how to overcome this issue?
1 person found this helpful
NativeProcess API is only supported for native applications. You need to convert your AIR app into a native app to be able to use it.
The link you have mentioned also contains the steps to convert your AIR app into a native app.
Please try that.
Again thank you for your help but unfortunately still cannot get this working, I have resorted to using the exact files (except the swf) and instructions at http://www.adobe.com/devnet/air/flex/quickstart/interacting_with_native_process_print.html to try and get some sort of example of NativeProcess working and after some tweeking got it to build the exe but running it gives me the same error i started with:
"This application requires an update to Adobe AIR that is not available for your system."
One of the tweeks i made was to the namespace in the xml file, it had to be:
http://ns.adobe.com/air/application/2.0 was not recognised running the adt command (got error 102: invalid namespace).
I really want to be able to get this working so I can determine if NativeProcess is the solution to my project.
Maybe if I explain my needs you could possibly offer a better, proven solution:
I have an existing Air desktop app (originally Air 1.0) that is invoked from the browser, I would like an additional feature to this app that executes a command line call to make something happen on the users machine - specifically add a track to the users iTunes library.
Any ideas would be greatly appreciated.
"http://ns.adobe.com/air/application/2.0 was not recognised running the adt command (got error 102: invalid namespace)."
This means you are still using the old SDK to convert your application into a native app(.exe), since namespace 2.0beta is now not supported.
You don't just have to overlay the AIR 2 SDK over your Flex SDK, but you also have to use this SDK for packaging your application.
You must change the namespace in your application back to 2.0 and do the following:
- Issue the command adt -version and ensure that it is 18.104.22.16810. (This is the version of AIR 2 SDK)
- Then, package your application using: adt -package -storetype pkcs12 -keystore myCert.p12 -target
native NativeProcessTest.exe NativeProcessTest-app.xml NativeProcessTest.swf