• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Trying to use adobe air 17 in a Flex Mobile ap

Explorer ,
Apr 28, 2015 Apr 28, 2015

Copy link to clipboard

Copied

hello,

My Flashbuilder is using  AIR 17 as is visible in AIR aps.

However, my Adobe flex mobile app won't let me update a certain line in the .xml

I want to change:

<?xml version="1.0" encoding="utf-8" standalone="no"?>

<application xmlns="http://ns.adobe.com/air/application/3.1">

to

<?xml version="1.0" encoding="utf-8" standalone="no"?>

<application xmlns="http://ns.adobe.com/air/application/17">

Yet when I try and debug, I get a popup window that says:

Process terminated without establishing connection to debugger.

invalid application descriptor: Unknown namespace: http://ns.adobe.com/air/application/17

Launch command details:  "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0\bin\adl.exe" -runtime "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0\runtimes\air\win" -profile mobileDevice -screensize 480x762:480x800 -XscreenDPI 252 -XversionPlatform AND "C:\Users\l\Adobe Flash Builder 4.7\CSemt\bin-debug\CSemt-app.xml" "C:\Users\l\Adobe Flash Builder 4.7\CSemt\bin-debug"

any help?

Views

2.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 28, 2015 Apr 28, 2015

Copy link to clipboard

Copied

Back in the day, you had to overlay the Flex and AIR SDks to make it work.  It may still be the case.

i've since switched to pure AS3 projects since I didn't use any Flex components, so I don't follow this workflow anymore, I do this instead: Update the AIR SDK for ActionScript Projects | Flash Builder 4.7

I remember following these instructions back when I was still overlaying the SDKs, maybe they'll help you:

Overlay AIR SDK on Flex SDK | Flash Builder

Obviously back up your existing SDK directory first....

Good luck!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 29, 2015 Apr 29, 2015

Copy link to clipboard

Copied

Sounds as though you do not have either Apache Flex compiled with AIR 17 installed and set as the compiler: Project Properties > Flex Compiler

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 29, 2015 Apr 29, 2015

Copy link to clipboard

Copied

I'd recommend grabbing a fresh version of the SDK and AIR 17 via Apache Flex® - SDK Installer

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 29, 2015 Apr 29, 2015

Copy link to clipboard

Copied

Hello guys,

I do have AIR 17 and Flex SDK 4.6.   I'm up to date.  And my project works fine in emulator mode, but not when downloaded in Android.

I think it could be this line:

<application xmlns="http://ns.adobe.com/air/application/3.1">

Should probably be:

<application xmlns="http://ns.adobe.com/air/application/17.0.0.124">

Yet when I try and run it, I get a popup box error.

Any help?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 29, 2015 Apr 29, 2015

Copy link to clipboard

Copied

If the AIR version is wrong it shouldn't even compile.

For AIR 17, try:

<application xmlns="http://ns.adobe.com/air/application/17">

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 29, 2015 Apr 29, 2015

Copy link to clipboard

Copied

I tried that too.

Here is my entire project if you want to have a look:

Can someone take a look at my project? Just a Chat room

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 01, 2015 Jul 01, 2015

Copy link to clipboard

Copied

I'm going to strip my project down to bare minimum tomorrow likely.  No one likes looking through a lot of code when the problem isn't reduced to the bare minimum.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 02, 2015 Jul 02, 2015

Copy link to clipboard

Copied

LATEST

Does <application xmlns="http://ns.adobe.com/air/application/17.0"> work?

If no - are you sure the AIR 17 SDK is configured correctly in the project?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines