Error Creating Air File 306 Error Desktop
ElementsAdobe Dreamweaver Adobe MuseAdobe Animate CCAdobe Premiere ProAdobe After EffectsAdobe IllustratorAdobe InDesignView all communitiesExplore Menu beginsMeet the expertsLearn our productsConnect with your peersError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions in Developers All CommunitiesAdobe Open SourceFlex SDKDevelopers 6 Replies Latest reply on May 16, 2016 4:44 AM by zain3x error 306: Descriptor must support the profile desktop, mobileDevice, or extendedMobileDevice hawkeye888 Aug 12, 2010 8:01 AM I got above error when I tried to export a release build, the problem is the ***-app.xml, there is a line in the file:
Air to Exe - Packaging Air app in Windowsexecutable In AIR 2 you can build an EXE installer file for distributing an AIR application on Windows. I was getting a good few errors at the start trying this (it was a bit of a pain really), so to ease your experience of AIR to EXE, here are the steps I took to complete the process (btw, its just a fluke it worked out to 10 steps, only numbered it retrospectively!). UPDATE: Serje Jespers created a drag-n-drop tool to accomplish this task, have a look here I have a follow-up post also, to show how to package the AIR application EXE file, with the AIR runtime .EXE https://forums.adobe.com/thread/699165 as a single setup file using InstallJammer! - link Any Questions? Just drop a comment Firslty, some of the command prompt error messages I was seeing. -storetype is required unable to create temp file in output directory Java not a recognised command 1. Update your Air SDK from Air 1.x to Air 2 Beta 2(its in Beta 2 at the time of writing, but at least Air 2.0 is needed), and also install https://bishoponvsto.wordpress.com/2010/02/23/adobe-air-2beta-2-to-exe-packaging-air-app-in-windows-executable/ the Air 2.0 runtime. 2. Once downloaded, look up follow the steps carefully in How to overlay the Adobe AIR SDK for use with the Flex SDK. 3. In the app.xml file (or whatever your .xml app file is called) in the Flex Builder project, you have to add the following line:
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or http://stackoverflow.com/questions/6630200/how-to-use-adt-to-package-an-air-application posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss http://osdir.com/ml/flex-mojos/2012-02/msg00023.html Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How to use ADT to package an AIR application? up vote 0 down vote favorite I just downloaded the AIR SDK, I just don't know how to proceed. Some sites on the internet tells me to error creating execute the adt -package SIGNING_OPTIONS air_file app_xml [file_or_dir | -C dir file_or_dir | -e file dir ...] ... command line, but I just don't know how to do it. The application is already developed and ready to use, but I can't package it. (I'm using Flash CS5 and it's packager can't be used because it can't publish "Extended Desktop" apps) flash actionscript-3 air adt package-managers share|improve this question asked Jul 8 '11 at 20:34 Lucas 357725 Open a command error creating air prompt, go to the flex sdk/bin folder, and type 'adt'. Then follow the directions to use it. –Sean Fujiwara Jul 8 '11 at 22:48 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote Just had the same problem. Specifically when trying to compile an "Extended Desktop" app on Mac. The trick was to add "-target native" and change your output to myApp.dmg So based on TheDarkIn1978 answer the code would look like. [dropped ADT file path] –package -storetype pkcs12 -keystore [dropped cert.p12 file path] -target native myApp.dmg [dropped myApp-app.xml file path] [dropped myApp.swf file path] [dropped myIcon.png file path] [dropped ADT file path] –package -storetype pkcs12 -keystore [dropped cert.p12 file path] -target native myApp.dmg [dropped myApp-app.xml file path] [dropped myApp.swf file path] [dropped myIcon.png file path] For reference the error I was receiving before was "error 306: Descriptor must support one of the following profiles: desktop, mobileDevice, extendedMobileDevice, tv" Also if you get an "error 302: Root content myApp.swf is missing from package" it's because you haven't dropped the path in to your swf, or your not running the command from within in your application folder (weird). Hope this helps. share|improve this answer edited May 2 '12 at 19:34 answered Apr 6 '12 at 9:54 Ben 8751117 add a comment| up vote 1 down vote this is the current site for ADT commands. follow the link to the subsection on ADT package commands. if you are
next release, something will be solved. For the moment I use an ant task to package my AIR. Thomas On 7 fév, 10:28, thomas