Skip to main content
Participant
Jan 5, 2021 9:26 AM UTC
Question

Harman Air SDK release 33.1.1.300 mxml compile error

We are evaluating the purchase of your compiler, but we need to have answers to our question before confirming it

 

Question :

 

We are trying to migrate our legacy application Flex/AIR application, but we receive a strange error even just by compiling a simple Hello 

World application:

 

X1.mxml:

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

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

               xmlns:s="library://ns.adobe.com/flex/spark"

               xmlns:mx="library://ns.adobe.com/flex/mx" width="640" height="480">

    <s:layout>

        <s:BasicLayout />

    </s:layout>

    <s:Label text="Hello World!" horizontalCenter="0" verticalCenter="0" />

</s:Application>

 

This is the error:

./mxmlc X1.mxml

Loading configuration: /Users/g.zanella/Downloads/AIRSDK_MacOS (1)/frameworks/flex-config.xml

 

Error: /Users/g.zanella/Downloads/AIRSDK_MacOS (1)/bin/X1.mxml is of an unsupported type: mxml

 

with the legacy Apache Flex compiler all works fine:

 

/Applications/Adobe Flash Builder 4.6/sdks/4.16.0 AIR 31/bin/mxmlc X1.mxml

Create X1.swf

 

/Users/g.zanella/Downloads/AIRSDK_MacOS (1)/bin/mxmlc X1.mxml

Generates the above error

 

 

Thanks in advance for the reply

    This topic is closed to new replies. Start a new post to keep the conversation going.