AIR dependency problem

Krishna Prakash's Avatar

Krishna Prakash

22 Jan, 2017 07:46 AM

i am having a downloaded project which is in as3 language. the build.gradle was preconfigured with flex 4.15 sdk and playerglobal.swc...but i want to add code related to AIR also. i have added AIR Dependencies in build.gradle like

ivy {
        name 'Adobe Air SDK'
        artifactPattern 'http://download.macromedia.com/air/win/download/[revision]/[module].[ext]'
    }

and

dependencies {
    flexSDK group: 'org.apache', name: 'apache-flex-sdk', version: '4.15.0', ext: 'zip'
    airSDK group: 'com.adobe', name: 'AdobeAIRSDK', version: '3.4', ext: 'zip'
    external group: 'macromedia.com', name: 'playerglobal', version: playerVersion.replace('.', '_'), ext: 'swc'
    merged files(
            "${commonDir}/libs/as3corelib.swc",
            "${commonDir}/libs/blooddy_crypto.swc",
            "${commonDir}/libs/grabcut.swc",
"${commonDir}/libs/mdm_swc.swc"
    )
}

after that when i compile it starts downloading air sdk and finishes successfully...but it is showing errors which are specifically on code lines depends on AIRSDK...
is there any thing more than that i done is required to specify the dependencies... i am new to this gradle buid preocess....

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac