flex - Installed FB 4.7 but cannot manage to install AIR SDK 3.7 -


i error ios simulator launch requires air sdk 3.4 or higher when try launching mobile app on ios simulator.

i did on there website: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html

which overwrite airsdk directory new air sdk from: http://www.adobe.com/devnet/air/air-sdk-download.html

and long have air 3.6 or higher have ( 3.7 ), need change project's application descriptor right version.

i went on , checked forum post it: http://forum.starling-framework.org/topic/flash-builder-47-update-tips

here there mention air sdk must not downloaded usual place, 1 used. says install gaming sdk did. installed earlier version 3.6. went other website check versions: http://helpx.adobe.com/air/kb/archived-air-sdk-version.html installed version 3.7 other site , 3.6. same problem on , over..

i missing what?

thanks, dave

yes, on lay guide wrong in terms of ide gets airsdk (mainly adt command invocation) files from. in order see ide gets have @ launch command, this

  • just select project click on project menu item in top bar -> export release build -> select project in window -> target version ios -> click next -> swf file built(might take few secs minutes depending on project size)

  • once built pop showing warnings if there warnings or errors (if errors can't move next step, please fix errors).

  • in next window click on native extensions tab -> click on customize launch button @ bottom -> opens new window -> click on show command button @ bottom right -> see this

/usr/bin/java -d32 -jar /applications/adobe flash builder 4.7/sdks/4.6.0/lib/adt.jar -package -target ipa-ad-hoc -hideanelibsymbols no -provisioning-profile path-to-your-provisioning file -storetype pkcs12 -keystore path-to-your-ios-developer-certificate -storepass main.ipa main-app.xml .ds_store assets default-568h@2x.png main.swf -extdir path-to-your-external-libs

if @ adt being invoked see not using 1 eclipse/plugins/com.adobe.flash.compiler_xxx/airsdk/bin/adt.jar doesn't matter version of air sdk have in airsdk folder under eclipse plugins, because files not used ide @ all. idk why adobe misleading so.

so in order update air sdk project using, need change flex compiler default 4.6.0 (which uses air sdk version 3.1 afaik), latest air sdk or air sdk version of choice, in order need follow below steps

enter image description here

it opens page shown in above picture. if click on yellow download button down merged air sdk + compiler files. need air sdk in black encircled area click on mac link.(for mac ofc)

  • once finish downloading, extract (to lets ~/desktop/air21.0/) open terminal type

    cd /applications/adobe\ flash\ builder\ 4.7/sdks

  • here have different folders different flex compiler versions, take latest 1 (in case 4.6.0) , make copy of , rename copied dir 4.6.0_air21.0, can following command

    cp -r 4.6.0 4.6.0_air21.0

  • this create copy of 4.6.0 flex compiler, have update air sdk files can using rsync command.

  • first cd directory extracted downloaded air sdk, (in case ~/desktop/air21.0/) cd ~/desktop/air21.0 type below command sync files directory 4.6.0_air21.0 directory (what rsync overwrites files, , doesn't remove files present).

    rsync ./* -avl /applications/adobe\ flash\ builder\ 4.6/sdks/4.6.0_air21.0/

then edit following files in frameworks directory,

  • air-config.xml
  • airmobile-config.xml
  • flex-config.xml

update xml files:

<target-player>21.0</target-player> <swf-version>18</swf-version> 

in flash builder go preferences > flash builder > installed flex sdks, add new 4.6.0_air21.0 path, give name , make default sdk if wish.

don't forget update project xml namespace:

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

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -