Harman AIR SDK Flex Compiler Problem In Intellij IDEA

Answered

Hello

Altough i added  new AIR FLEX SDK (Harman Air 33.0) to  My Mobile Project  in Intellij SDK Section , i am getting  this error during debug period..

Information:[napeProject]: Compilation failed
Information:16.09.2019 10:01 - Build completed with 3 errors and 0 warnings in 11 s 373 ms
Error:[napeProject]: Exception in thread "main"
Error:[napeProject]: java.net.SocketTimeoutException: Accept timed out
Error:[napeProject]: java.lang.NoClassDefFoundError: flex2/tools/VersionInfo
at com.intellij.flex.compiler.FlexCompiler.<clinit>(FlexCompiler.java:19)
Caused by: java.lang.ClassNotFoundException: flex2.tools.VersionInfo
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

**In my previous mobile application everything was fine about the SDK (Air 32.0) .

**My OS --> Win 7

** Intellij IDEA Ver = 2019.2.2 (Ultimate)

Thanx for your help

 

 

0
8 comments

Hello,

Please check related issue: https://youtrack.jetbrains.com/issue/IDEA-132506. Seems you added SDK without compiler.

0
Avatar
Permanently deleted user

Thanx for the link , as you say i added the compiler SDK  to intellij and now everything is fine except than this error :

*** I get this error when i validate descriptor.xml file in application !!!

C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.2\plugins\flex\lib\FlexSupport.jar!\schemas\AIR_Descriptor.32.0.xsd

Error:(408, 60) src-resolve.4.2: Error resolving component 'xml:lang'. It was detected that 'xml:lang' is in namespace 'http://www.w3.org/XML/1998/namespace', but components from this namespace are not referenceable from schema document 'jar:file:/C:/Program%20Files/JetBrains/IntelliJ%20IDEA%202019.2.2/plugins/flex/lib/FlexSupport.jar!/schemas/AIR_Descriptor.32.0.xsd'. If this is the incorrect namespace, perhaps the prefix of 'xml:lang' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'jar:file:/C:/Program%20Files/JetBrains/IntelliJ%20IDEA%202019.2.2/plugins/flex/lib/FlexSupport.jar!/schemas/AIR_Descriptor.32.0.xsd'.


Error:(408, 60) src-resolve: Cannot resolve the name 'xml:lang' to a(n) 'attribute declaration' component.

Thanx

0

Is it possible to share sample project for investigation or at least "AIR_Descriptor.32.0.xsd" and "descriptor.xml" files?

0
Avatar
Permanently deleted user

hi this is my descriptor file  content

 

************

<?xml version="1.0" encoding="utf-8" ?>
<application xmlns="http://ns.adobe.com/air/application/33.0.2">

<!-- Adobe AIR Application Descriptor File Template.
Specifies parameters for identifying, installing, and launching AIR applications.

xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/33.0.2.
The last segment of the namespace specifies the version of the AIR runtime required for this application to run.

minimumPatchLevel - The minimum patch level of the AIR runtime required to run the application. Optional. -->

<!-- A universally unique application identifier. Must be unique across all AIR applications.
Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
<id>Main</id>

<!-- Used as the filename for the application. Required. -->
<filename>Main</filename>

<!-- The name that is displayed in the AIR application installer. May have multiple values for each language. See samples or xsd schema file. Optional. -->
<name>Main</name>

<!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5.
For iOS Apps, this represents build number. -->
<versionNumber>0.0.0</versionNumber>

<!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users.
For iOS Apps, this represents application version number and format should be (<0-999>.<0-999>.<0-999>).
If this tag is not specified or the value is not according to the format, then this tag will be ignored
and <versionNumber> will be used for application version number.Optional. -->
<!--<versionLabel></versionLabel>-->

<!-- Description, displayed in the AIR application installer. May have multiple values for each language. See samples or xsd schema file. Optional. -->
<!--<description></description>-->

<!-- Copyright information. Optional -->
<!--<copyright></copyright>-->

<!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
<!--<publisherID></publisherID>-->

<!-- Identifies the ActionScript extensions used by an application. -->
<!--<extensions>
<extensionID></extensionID>
</extensions>-->

<!-- Settings for the application's initial window. Required. -->
<initialWindow>
<!-- The main SWF or HTML file of the application. Required. -->
<content>Main.swf</content>

<!-- The title of the main window. Optional. -->
<!--<title></title>-->

<!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
<!--<systemChrome></systemChrome>-->

<!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
<!--<transparent></transparent>-->

<!-- Whether the window is initially visible. Optional. Default false. -->
<visible>true</visible>

<!-- Whether the user can minimize the window. Optional. Default true. -->
<!--<minimizable></minimizable>-->

<!-- Whether the user can maximize the window. Optional. Default true. -->
<!--<maximizable></maximizable>-->

<!-- Whether the user can resize the window. Optional. Default true. -->
<!--<resizable></resizable>-->

<!-- The window's initial width in pixels. Optional. -->
<!--<width></width>-->

<!-- The window's initial height in pixels. Optional. -->
<!--<height></height>-->

<!-- The window's initial x position. Optional. -->
<!--<x></x>-->

<!-- The window's initial y position. Optional. -->
<!--<y></y>-->

<!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
<!--<minSize></minSize>-->

<!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
<!--<maxSize></maxSize>-->

<!-- The aspect ratio of the app ("portrait" or "landscape" or "any"). Optional. Mobile only. Default is the natural orientation of the device -->
<!--<aspectRatio></aspectRatio>-->

<!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false -->
<autoOrients>true</autoOrients>

<!-- Whether the app launches in full screen. Optional. Mobile only. Default false -->
<fullScreen>true</fullScreen>

<!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto -->
<!--<renderMode></renderMode>-->

<!-- Whether the default direct mode rendering context allocates storage for depth and stencil buffers. Optional. Default false. -->
<!--<depthAndStencil></depthAndStencil>-->

<!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none"). Optional. Defaults "pan." -->
<!--<softKeyboardBehavior></softKeyboardBehavior>-->

<!-- Display Resolution for the app (either "standard" or "high"). Optional, OSX-only. Default "standard" -->
<!-- <requestedDisplayResolution></requestedDisplayResolution> -->
</initialWindow>

<!-- We recommend omitting the supportedProfiles element, which in turn permits your application to be deployed to all devices supported by AIR.
If you wish to restrict deployment (i.e., to only mobile devices) then add this element and list only the profiles which your application does support. -->
<!--<supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles>-->

<!-- Languages supported by application. Only these languages can be specified -->
<!--<supportedLanguages>en da de cs es fr it iw ja ko nb nl pl pt ru sv tr zh</supportedLanguages>-->

<!-- The subpath of the standard default installation location to use. Optional. -->
<!--<installFolder></installFolder>-->

<!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
<!--<programMenuFolder></programMenuFolder>-->

<!-- The icon the system uses for the application. For at least one resolution, specify the path to a PNG file included in the AIR package. Optional. -->
<!--<icon>
<image16x16></image16x16>
<image29x29></image29x29>
<image32x32></image32x32>
<image36x36></image36x36>
<image40x40></image40x40>
<image44x44></image44x44>
<image48x48></image48x48>
<image50x50></image50x50>
<image57x57></image57x57>
<image58x58></image58x58>
<image60x60></image60x60>
<image66x66></image66x66>
<image72x72></image72x72>
<image75x75></image75x75>
<image76x76></image76x76>
<image80x80></image80x80>
<image87x87></image87x87>
<image96x96></image96x96>
<image100x100></image100x100>
<image114x114></image114x114>
<image120x120></image120x120>
<image128x128></image128x128>
<image144x144></image144x144>
<image152x152></image152x152>
<image167x167></image167x167>
<image180x180></image180x180>
<image192x192></image192x192>
<image512x512></image512x512>
<image732x412></image732x412>
<image1024x1024></image1024x1024>
</icon>-->

<!-- Whether the application handles the update when a user double-clicks an update version of the AIR file (true),
or the default AIR application installer handles the update (false). Optional. Default false. -->
<!--<customUpdateUI></customUpdateUI>-->

<!-- Whether the application can be launched when the user clicks a link in a web browser. Optional. Default false. -->
<!--<allowBrowserInvocation></allowBrowserInvocation>-->

<!-- Listing of file types for which the application can register. Optional. -->
<!--<fileTypes>-->
<!-- Defines one file type. Optional. -->
<!--<fileType>-->
<!-- The name that the system displays for the registered file type. Required. -->
<!--<name></name>-->
<!-- The extension to register. Required. -->
<!--<extension></extension>-->
<!-- The description of the file type. Optional. -->
<!--<description></description>-->
<!-- The MIME content type. -->
<!--<contentType></contentType>-->
<!-- The icon to display for the file type. Optional. -->
<!--<icon>
<image16x16></image16x16>
<image32x32></image32x32>
<image48x48></image48x48>
<image128x128></image128x128>
</icon>-->
<!--</fileType>-->
<!--</fileTypes>-->

<!-- iOS specific capabilities -->
<!--<iPhone>-->
<!-- A list of plist key/value pairs to be added to the application Info.plist -->
<!--<InfoAdditions>-->
<!--<![CDATA[-->
<!--<key>UIDeviceFamily</key>-->
<!--<array>-->
<!-- iPhone and iPod touch devices -->
<!--<string>1</string>-->
<!-- iPad devices -->
<!--<string>2</string>-->
<!--</array>-->
<!--<key>UIStatusBarStyle</key>-->
<!--<string>UIStatusBarStyleBlackOpaque</string>-->
<!--<key>UIRequiresPersistentWiFi</key>-->
<!--<string>YES</string>-->
<!--]]>-->
<!--</InfoAdditions>-->

<!-- A list of plist key/value pairs to be added to the application Entitlements.plist -->
<!--<Entitlements>
<![CDATA[
<key>keychain-access-groups</key>
<array>
<string></string>
<string></string>
</array>
]]>
</Entitlements>-->

<!-- Display Resolution for the app (either "standard" or "high"). Optional. Default "standard" -->
<!--<requestedDisplayResolution>high</requestedDisplayResolution>-->
<!-- Forcing Render Mode CPU for the devices mentioned. Optional -->
<!--<forceCPURenderModeForDevices></forceCPURenderModeForDevices> -->
<!-- File containing line separated list of external swf paths. These swfs won't be packaged inside the application
and corresponding stripped swfs will be output in externalStrippedSwfs folder. -->
<!--<externalSwfs></externalSwfs> -->
<!--</iPhone>-->

<!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
<android>
<manifestAdditions>
<![CDATA[
<manifest android:installLocation="auto">
<uses-permission android:name="android.permission.INTERNET"/>
<!--<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>-->
<!--<uses-permission android:name="android.permission.READ_PHONE_STATE"/>-->
<!--<uses-permission android:name="android.permission.VIBRATE"/>-->
<!--<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>-->
<!--<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>-->
<!--<uses-permission android:name="android.permission.WAKE_LOCK"/>-->
<!--<uses-permission android:name="android.permission.CAMERA"/>-->
<!--<uses-permission android:name="android.permission.RECORD_AUDIO"/>-->
<!--<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>-->
<!--<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>-->

<!--<uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>-->
<!--<application android:enabled="true">
<activity android:excludeFromRecents="false">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>-->
</manifest>
]]>
</manifestAdditions>

<!-- Color depth for the app (either "32bit" or "16bit"). Optional. Default 16bit before namespace 3.0, 32bit after -->
<!--<colorDepth></colorDepth>-->
<!-- Indicates if the app contains video or not. Necessary for ordering of video planes with graphics plane, especially in Jellybean - if you app does video this must be set to true - valid values are true or false -->
<!-- <containsVideo></containsVideo> -->
<!-- This app is also for Android TV (either "true" or "false"). Optional. Default is 'false' -->
<!-- <supportsAndroidTV></supportsAndroidTV> -->
<!-- Path to the image used for banner when the app is shown on TV. Optional. The banner should be a .png image of size 320*180.-->
<!-- <banner></banner> -->
<!-- Indicates if webContents (HTML/CSS/JavaScript) can be inspected in browser. Optional . Default value is 'false' -->
<!-- <webContentsDebuggingEnabled></webContentsDebuggingEnabled> -->

<!-- Indicates if disableMediaCodec is enabled or not. Optional . Default value is 'false' -->
<!-- <disableMediaCodec></disableMediaCodec> -->

</android>

</application>

Normally air version is 33.0.2 but because of getting error i changed it to "32.0" , but when i validate i am getting error ...

 

 

0
Avatar
Permanently deleted user

and this is the content of 32.0.xsd file...

********

<?xml version="1.0"?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://ns.adobe.com/air/application/32.0"
xmlns="http://ns.adobe.com/air/application/32.0"
elementFormDefault="qualified"
>
<xs:element name="application">
<xs:complexType>
<xs:all>
<!-- About this application -->
<xs:element name="id">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[A-Za-z0-9\-\.]{1,212}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="publisherID" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[A-Fa-f0-9]{40}\.1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="name" type="LocalizableType" minOccurs="0"/>
<xs:element name="versionLabel" type="xs:string" minOccurs="0"/>
<xs:element name="versionNumber">
<xs:simpleType>
<xs:restriction base="xs:string">
<!-- has to be of format <0-999>.<0-999>.<0-999> -->
<xs:pattern value='[0-9]{1,3}(\.[0-9]{1,3}){0,2}'/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="filename">
<xs:simpleType>
<xs:restriction base="xs:string">
<!-- name cannot begin with a ' ' (space), have any of these characters: *"/:<>?\|, and end with a . (dot) or ' ' (space) -->
<xs:pattern value='[^\*"/:&gt;&lt;\?\\\|\. ]|[^\*"/:&gt;&lt;\?\\\| ][^\*"/:&gt;&lt;\?\\\|]*[^\*"/:&gt;&lt;\?\\\|\. ]'/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="description" type="LocalizableType" minOccurs="0"/>
<xs:element name="copyright" type="xs:string" minOccurs="0"/>
<xs:element name="icon" type="IconType" minOccurs="0"/>

<!-- How to start this application -->
<xs:element name="initialWindow">
<xs:complexType>
<xs:all>
<xs:element name="content" type="xs:anyURI" minOccurs="1"/>
<xs:element name="title" type="xs:string" minOccurs="0"/>

<xs:element name="systemChrome" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="none"/>
<xs:enumeration value="standard"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="transparent" type="xs:boolean" minOccurs="0"/>
<xs:element name="visible" type="xs:boolean" minOccurs="0"/>

<xs:element name="minimizable" type="xs:boolean" minOccurs="0"/>
<xs:element name="maximizable" type="xs:boolean" minOccurs="0"/>
<xs:element name="resizable" type="xs:boolean" minOccurs="0"/>

<xs:element name="x" type="xs:int" minOccurs="0"/>
<xs:element name="y" type="xs:int" minOccurs="0"/>
<xs:element name="width" type="xs:unsignedInt" minOccurs="0"/>
<xs:element name="height" type="xs:unsignedInt" minOccurs="0"/>
<xs:element name="minSize" type="BoundsSizeType" minOccurs="0"/>
<xs:element name="maxSize" type="BoundsSizeType" minOccurs="0"/>

<!-- default is 'pan'-->
<xs:element name="softKeyboardBehavior" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="pan"/>
<xs:enumeration value="none"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

<!-- Mobile only -->
<xs:element name="aspectRatio" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="portrait"/>
<xs:enumeration value="landscape"/>
<xs:enumeration value="any"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

<!-- Mobile only; default is false -->
<xs:element name="autoOrients" type="xs:boolean" minOccurs="0"/>

<!-- Mobile only; default is false -->
<xs:element name="fullScreen" type="xs:boolean" minOccurs="0"/>

<!-- Default is auto -->
<xs:element name="renderMode" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="auto"/>
<xs:enumeration value="cpu"/>
<xs:enumeration value="gpu"/>
<xs:enumeration value="direct"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

<!-- Default is false -->
<xs:element name="depthAndStencil" type="xs:boolean" minOccurs="0"/>

<!-- OSX only -->
<xs:element name="requestedDisplayResolution" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="standard"/>
<xs:enumeration value="high"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

</xs:all>
</xs:complexType>
</xs:element>

<!-- About installing this application -->
<xs:element name="supportedProfiles" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="profileList">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

<xs:element name="supportedLanguages" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="languageList">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

<xs:element name="installFolder" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<!-- installFolder cannot begin with a / (forward-slash) or a ' ' (space), have any of these characters: *":<>?\|, and end with a . (dot), ' ' (space), or / (forward slash) -->
<xs:pattern value='[^\*"/:&gt;&lt;\?\\\|\. ]|[^\*"/:&gt;&lt;\?\\\| ][^\*":&gt;&lt;\?\\\|]*[^\*":&gt;&lt;\?\\\|\. /]'/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="programMenuFolder" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<!-- programMenuFolder cannot begin with a / (forward-slash) or a ' ' (space), have any of these characters: *":<>?\|, and end with a . (dot), ' ' (space), or / (forward slash) -->
<xs:pattern value='[^\*"/:&gt;&lt;\?\\\|\. ]|[^\*"/:&gt;&lt;\?\\\| ][^\*":&gt;&lt;\?\\\|]*[^\*":&gt;&lt;\?\\\|\. /]'/>
</xs:restriction>
</xs:simpleType>
</xs:element>

<!-- Features this application can opt in to -->
<xs:element name="customUpdateUI" type="xs:boolean" minOccurs="0"/>
<xs:element name="allowBrowserInvocation" type="xs:boolean" minOccurs="0"/>
<xs:element name="fileTypes" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="fileType" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:all>
<xs:element name="name">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value='[A-Za-z]'/>
<xs:pattern value='[A-Za-z][A-Za-z0-9\.]{0,36}[A-Za-z]'/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="extension">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value='[A-Za-z0-9]{1,38}'/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="description" type="xs:string" minOccurs="0"/>
<xs:element name="contentType">
<xs:simpleType>
<xs:restriction base="xs:string">
<!-- See RFC2045 for a more detailed grammar for valid content types -->
<xs:pattern value='.+'/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="icon" type="IconType" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

<xs:element name="gpuPreference" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="discrete"/>
<xs:enumeration value="integrated"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

<!-- Flash Runtime Extension Support -->
<xs:element name="extensions" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="extensionID" minOccurs="0" maxOccurs="unbounded">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="[A-Za-z0-9\-\.]{1,212}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>


<!-- iPhone-specific capabilities -->
<xs:element name="iPhone" minOccurs="0">
<xs:complexType>
<xs:all>
<!-- A list of plist key/value pairs to be added to the application Info.plist -->
<xs:element name="InfoAdditions" type="xs:string" minOccurs="0"/>
<xs:element name="Entitlements" type="xs:string" minOccurs="0"/>

<!-- Forcing CPU Render Mode for the mentioned devices -->
<xs:element name="forceCPURenderModeForDevices" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

<xs:element name="requestedDisplayResolution" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="excludeDevices" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>

<!-- In standard packaging mode, this tag prevents external swfs to be packaged
inside the application and outputs the stripped swfs to externalStrippedSwfs folder-->
<xs:element name="externalSwfs" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

</xs:all>
</xs:complexType>
</xs:element>

<!-- android-specific capabilities -->
<xs:element name="android" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:all>
<xs:element name="manifestAdditions" type="xs:string" minOccurs="0" maxOccurs="1"/>


<!-- Prior to AIR 3, 16-bit color is always used on Android.
In AIR 3, 32-bit color is used by default.-->
<xs:element name="colorDepth" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="16bit"/>
<xs:enumeration value="32bit"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

<!-- default is false -->
<xs:element name="containsVideo" type="xs:boolean" minOccurs="0"/>

<!-- default is false -->
<xs:element name="webContentsDebuggingEnabled" type="xs:boolean" minOccurs="0"/>

<!-- default is false -->
<xs:element name="disableMediaCodec" type="xs:boolean" minOccurs="0"/>

</xs:all>
</xs:complexType>
</xs:element>

</xs:all>

<!-- About the runtime version required -->
<xs:attribute name="minimumPatchLevel" type="xs:unsignedInt"/>
</xs:complexType>
</xs:element>

<xs:simpleType name="profileList">
<xs:list itemType="profileNameType"/>
</xs:simpleType>

<xs:simpleType name="profileNameType">
<xs:restriction base="xs:string">
<xs:enumeration value="desktop"/>
<xs:enumeration value="extendedDesktop"/>
<xs:enumeration value="mobileDevice"/>
<xs:enumeration value="extendedMobileDevice"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="languageList">
<xs:list itemType="languageNameType"/>
</xs:simpleType>

<xs:simpleType name="languageNameType">
<xs:restriction base="xs:string">
<xs:enumeration value="cs"/>
<xs:enumeration value="da"/>
<xs:enumeration value="de"/>
<xs:enumeration value="el"/>
<xs:enumeration value="en"/>
<xs:enumeration value="es"/>
<xs:enumeration value="fi"/>
<xs:enumeration value="fr"/>
<xs:enumeration value="in"/>
<xs:enumeration value="it"/>
<xs:enumeration value="iw"/>
<xs:enumeration value="ja"/>
<xs:enumeration value="ko"/>
<xs:enumeration value="ms"/>
<xs:enumeration value="nb"/>
<xs:enumeration value="nl"/>
<xs:enumeration value="pl"/>
<xs:enumeration value="pt"/>
<xs:enumeration value="ru"/>
<xs:enumeration value="sv"/>
<xs:enumeration value="th"/>
<xs:enumeration value="tr"/>
<xs:enumeration value="vi"/>
<xs:enumeration value="zh"/>
</xs:restriction>
</xs:simpleType>

<!-- Type definitions -->
<xs:complexType name="IconType">
<xs:all>
<xs:element name="image16x16" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image29x29" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image32x32" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image36x36" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image40x40" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image44x44" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image48x48" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image50x50" type="xs:anyURI" minOccurs="0"/>
<!-- 57x57 is never used by file icons -->
<xs:element name="image57x57" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image58x58" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image60x60" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image66x66" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image72x72" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image75x75" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image76x76" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image80x80" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image87x87" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image96x96" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image100x100" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image114x114" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image120x120" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image128x128" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image144x144" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image152x152" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image167x167" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image180x180" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image192x192" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image512x512" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image732x412" type="xs:anyURI" minOccurs="0"/>
<xs:element name="image1024x1024" type="xs:anyURI" minOccurs="0"/>
</xs:all>
</xs:complexType>
<xs:simpleType name="UnsignedIntListType">
<xs:list itemType="xs:unsignedInt"/>
</xs:simpleType>
<xs:simpleType name="BoundsSizeType">
<xs:restriction base="UnsignedIntListType">
<xs:length value="2"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="LocalizableType" mixed="true">
<xs:sequence>
<xs:element name="text" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute ref="xml:lang" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>

0
Avatar
Permanently deleted user

this is the debug screen results ....

Copyright (c) 2004-2007 Adobe, Inc. All rights reserved.
Waiting for Player to connect
"C:\Users\myPC\Desktop\actionscript full sdk compiler 64 Bit\bin\adl.exe" -profile extendedMobileDevice -screensize NexusOne -XscreenDPI 252 -XversionPlatform AND C:\Users\myPC\Desktop\work\out\production\work\Main-android-descriptor.xml C:\Users\myPC\Desktop\work\out\production\work
[AIR Debug Launcher]: error while loading initial content
Player connected; session starting.
Player session terminated

[AIR Debug Launcher]: Process finished with exit code 1

0

Could you please try to comment "<xs:attribute ref="xml:lang" use="required"/>" in your schema file?

0
Avatar
Permanently deleted user

its in .jar file and altough i can open 32.0.xsd in intellij  , it can not be changed ...

but after creating custom ApplicationDescriptor file in modules section , with 32.0 version of air , now it works fine ...

thanx for your help

0

Please sign in to leave a comment.