Error 103: application.initialWindow.autoOrients is an unexpected element/attribute

Hello.
I'm using Flash Builder 4.5 to experiment with building a mobile app for my Android Nexus One.  In order to keep the app in landscape mode, regardless of the orientation of the device, I've read that I need to set the following in the "AppName-app.xml" file:
<aspectRatio>landscape</aspectRatio>
<autoOrients>false</autoOrients>
And this does work fine in the debugger, however when I attempt to test it on my connected device it throws this error:
Error occurred while packaging the application:
D:\Projects\FlexMobile\AppName\bin-debug\AppName-app.xml(108): error 103: application.initialWindow.autoOrients is an unexpected element/attribute
I know that I'm able to build and test apps on my device, as I've been through the Flex Test Drive for Mobile tutorial (http://www.adobe.com/devnet/flex/testdrivemobile.html) and was able to build and run that app with no issues and this app I'm currently working on does run on the device if I do not attempt to restrict the auto orientation.
Thank you.
(Note:  I'm re-posting this from the Flex SDK > Developers forum.)

User rblaa provided that answer in http://forums.adobe.com/thread/858772.
The <autoOrients> node (along with several others) occours twice in the generated -app.xml file.  Do not un-comment the first instance, instead edit the parameters set in the second already un-commented autoOrients node.

Similar Messages

  • Error 103: application.initialWindow.initialOrientation

    Hi,
    I get an error packaging an AIR app with adt with the initialOrientation element:
    error 103: application.initialWindow.initialOrientation is an unexpected element/attribute
    Based on the documentation, I should be able to set the orientation for the app to portrait. I'm testing on a Nexus One with Froyo (FRF91).
    For the initialWindow element, I have the following content:
    <initialWindow>
    <content>HelloWorld.swf</content>
    <visible>true</visible>
    <fullScreen>true</fullScreen>
    <initialOrientation>portrait</initialOrientation>
    <autoOrients>false</autoOrients>
    </initialWindow>
    I'm using AIR 2.5 AIR for Android Builds [08/02/10].
    Thanks,
    Raju

    I'm using adt version "2.5.0.15980".

  • Application.description.text is an unexpected element/attribute

    The XML syntax described in "developing air apps with html
    and ajax.pdf" clearly suggests the following pattern:
    <description><text
    xml:lang="foo">bar</text></description>
    However, ADT, when used to build an .air package from such an
    app.xml, suggests that "application.description.text is an
    unexpected element/attribute" (error 103).
    Sure, this is Alpha (at least under Linux which I'm running),
    but out of curiosity, which one is out of date, ADT or the
    documentation?

    The Linux alpha didn't support this capability; it's your
    copy of adt that's old w.r.t. the documentation you're reading.

  • Entitlements in file Descriptor : Error 103 "application.iPhone.Entitlements..unexpected elements"

    Hi,
    I need to set Entitlements key in file descriptor.
    If i include <Entitlements> section ADT says "error 103: application.iPhone.Entitlements is an unexpected element/attribute" !!
    But in documentation there is this Element : http://help.adobe.com/en_US/air/build/WSfffb011ac560372f2fea1812938a6e463-8000.html#WSd6d4 f896b3a8801b-3c9d92f81393051c54c-8000
    My File Descriptor (without <Entitlements> section it works good):
    <?xml version="1.0" encoding="utf-8" ?>
    <application xmlns="http://ns.adobe.com/air/application/3.0">
        <id>com.truc.test2</id>
        <name>Hello World iOS</name>
        <versionNumber>1.0.1</versionNumber>
        <filename>Comp1</filename>
        <supportedProfiles>mobileDevice</supportedProfiles>
        <initialWindow>
            <content>CompIPad.swf</content>
            <title>Comp1</title>
        </initialWindow>
        <iPhone>
                 <Entitlements>
                    <![CDATA[
                       <key>aps-environment</key>
                       <string>development</string>
                    ]]>
                 </Entitlements>
                           <InfoAdditions>
                                      <![CDATA[
                                                                <key>UIDeviceFamily</key>
                                                                <array>
                                                                    <string>2</string>
                                                                </array>
                                      ]]>
                                  </InfoAdditions>
                                  <requestedDisplayResolution>high</requestedDisplayResolution>
                         </iPhone>
        <icon>
            <image29x29>icons/icon_29.png</image29x29>
            <image57x57>icons/icon_57.png</image57x57>
            <image72x72>icons/icon_72.png</image72x72>
            <image512x512>icons/icon_512.png</image512x512>
        </icon>
    </application>
    How can i do ?
    Regards
    System: Windows Seven
    Trying with Adobe Air SDK 3.4 and 3.5 beta (same problem)

    Entitlements tag was introduced in namespace 3.1. Please update your app descriptor to use namespace 3.1 or above.
    <application xmlns="http://ns.adobe.com/air/application/3.1">
    -Neha

  • Error 103: application.version is an unexpected element/attribute

    Hi guys, while i'm publishing iOS app from Flash, i get that thing
    Unexpected or unknown element or attribute in the application descriptor file.
    /Users/stockingem/Documents/DWP/1-app.xml(44): error 103: application.version is an unexpected element/attribute
    application.version is an unexpected element/attribute
    please, help to solve it!

    <?xml version="1.0" encoding="utf-8"?>
    <application xmlns="http://ns.adobe.com/air/application/2.6">
        <id>test1</id>
        <versionNumber>1.2.0</versionNumber>
        <filename>Untitled-1</filename>
        <description></description>
        <!-- To localize the description, use the following format for the description element.
        <description>
            <text xml:lang="en">English App description goes here</text>
            <text xml:lang="fr">French App description goes here</text>
            <text xml:lang="ja">Japanese App description goes here</text>
        </description>
        -->
        <name>Untitled-1</name>
        <!-- To localize the name, use the following format for the name element.
        <name>
            <text xml:lang="en">English App name goes here</text>
            <text xml:lang="fr">French App name goes here</text>
            <text xml:lang="ja">Japanese App name goes here</text>
        </name>
        -->
        <copyright></copyright>
        <initialWindow>
            <content>Untitled-1.swf</content>
            <systemChrome>standard</systemChrome>
            <transparent>false</transparent>
            <visible>true</visible>
            <fullScreen>true</fullScreen>
            <autoOrients>false</autoOrients>
            <aspectRatio>portrait</aspectRatio>
            <renderMode>auto</renderMode>
        </initialWindow>
        <customUpdateUI>false</customUpdateUI>
        <allowBrowserInvocation>false</allowBrowserInvocation>
        <icon>
            <image29x29>AppIconsForPublish/dwp.png</image29x29>
        </icon>
        <iPhone>
            <requestedDisplayResolution>standard</requestedDisplayResolution>
            <InfoAdditions><![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array>]]></In foAdditions>
        </iPhone>
        <version>1.2</version>
    </application>

  • Flash CS5.5 to iOS error 103: application.version is an unexpected element/attribute

    Hello,
    I am trying to publish from a flash file, an .ipa file  to use in ipad and iphone, but keep receiving the "error 103:  application.version is an unexpected element/attribute" error message.
    I  already publish the app in flash CS5 and it was ok but today i install  CS5.5 and the error does not alow me to publish the same file...
    Is it an Air ADL problem?
    Any suggestions?
    Thanks

    I don't know if it's an official bug.... Adn I don't know if they will really solve it...
    I called 3 times to Adobe Phone Support. I've never been told that it was an official bug. Nobody seemed to know about that bug....
    1st call: They told me to go to www.adobe.com/devnet/, saying that I will find the solution there... I found nothing.
    2nd call: They told me to call Apple... They said I need a Flash CS5.5 certificate... Of course, Apple does not deliver "Flash CS5.5 certificates". I guess they just wanted to get rid of me...
    3rd call: They gave me a phone number to call the Flash Developers Support Center. That phone number was not working....
    Each time, I asked them if they can send me a Flash CS5 version, which was working well. They always said it was impossible.
    I really need to be able to publish iPhone apps as fast as possible, otherwise I will lose a big contract...
    I think my next call will be to my bank... to cancel the payment I made on my credit card to purchase that Flash CS5.5 software.

  • Flash CS5.5 error 103: application.version is an unexpected element/attribute

    Hello,
    I am trying to publish from a flash file, an .ipa file to use in ipad and iphone, but keep receiving the "error 103: application.version is an unexpected element/attribute" error message.
    I already publish the app in flash CS5 and it was ok but today i install CS5.5 and the error does not alow me to publish the same file...
    Is it an Air ADL problem?
    Any suggestions?
    Thanks

    The name of app.
    Ex: XXXXXXXX.appname
    Use "appname".
    But error is related to version number in app xml.

  • Error code: Application "widget name" DashboardClient quit unexpectedly

    After installing my cloned backup onto my iBook I find my dashboard is not loading most of it's widgets but gives me error messages of:
    "Application "Widget name"DashboardClient quit unexpectedly".
    The cloned backup does likewise.
    My Calculator and Calender widgets load normally !?!
    I've tried downloading and reinstalling several of the offending widgets w/o solving the problem.
    Oddly, a newly installed iStat Pro widget works !
    Any answers, Ye Geniuses !!!
    -Regards James V.

    It may have been some pre-existing corruption on the volume or introduced during the cloning. Create a new account, name it "test" and see how your widgets work in that User acct? (That will tell if your problem is systemwide or limited to your User acct.) This account is just for test, do nothing further with it.
    Open System Preferences >> Accounts >> "+" make it an admin account.
    If the widgets do not load in a fresh account you may be able to repair this with the 10.4.2 Stand Alone Combo Update. If that is what you are running.
    This is a fuller install, as opposed to an incremental "delta" update so it should overwrite any files that are damaged or missing. It does not matter if you have applied it before. It has worked well for many.
    Remember to Verify Disk before update and repair permissions after update from /Applications/Utilities/Disk Utility.
    BTW - are you still running 10.4.2 as your profile indicates and if so, why haven't you updated?
    If the widgets do work in a fresh user go a little further with your user:
    Navigate to these locations and trash the files in green. Then log out and back in, or restart.
    ~/Library/Caches/dashboardclient
    ~(yourhome)/Library/Preferences/com.apple.dashboard.plist
    ~(yourhome)/Library/Preferences/com.apple.dashboard.client.plist
    -mj
    [email protected]
    Message was edited by: macjack

  • The application Printer Setup Utility quit unexpectedly

    Hi All,
    I'm using 10.4.11, trying to add a printer. In 'Default Browser', I click on 'More Printers', and I receive the following error, The application Printer Setup Utility quit unexpectedly.
    Done all the basics, reset permissions, updated latest software, no help.
    Any help is appreciated.
    Thanks.

    To The Apple Discussion Boards!
    Did you reboot your computer after repairing permissions & installing? If so, trash the com.apple.print.PrintCenter.plist file & restart your computer.
    Please post back the results.

  • Error:  The Application Conduit Manager quit unexpectedly

    When trying to perform a HotSync using my Treo 700p, I'm suddenly getting this error: "The Application Conduit Manager quit unexpectedly." I have recently been sent a new Treo to replace a defective Treo, but until I received this new Treo, I have been syncing without problems for over 18 months.
    Let me know if anyone has had similar problems and any solutions that you have successfully used.
    Thanks!

    If you are saying that you synchronize a single Palm device BOTH at work and at home, you've likely explained why your data has become corrupted. A Palm device was not intended to be, and should never be used as, a 'data carrier' or storage device to move records from one Macintosh to another. To do so will almost always result in serious data corruption over time, the duplication of records and so on.
    It can be less problematic to synchronize with a Windows platform on one end and a Macintosh on another, but I don't recommend that, as—once again—it places your records at risk.
    Keep in mind that the problematic record or records are on your device, not in iCal, as demonstrated by the Conduit Manager warning. There may also be records corrupted in iCal on your Power Macintosh G5, but that's another issue.
    You can correct the G5 issue, but first, it is important for you to outline just what you are presently—and have historically—been doing to 'synchronize' your home and work machines.

  • Unexpected element name: expected error while invoking external web service

    Hi,
    In JDeveloper when I invoke external web service call, I am getting following exception
    "unexpected element name: expected=..."
    But the same application works fine in .NET. Can someone help me as to why I am getting the exception only in JDeveloper and how to fix this exception.
    Thanks.

    Hi,
    Without more information, it will be hard to help, and tell you what could be teh issue.
    Usually, this kind of error occurs when the payload and the WSDL schema are out of sync, for example if the order of the element on the wire do not match the order in a sequence declaration, you may get this error.
    In such case, .NET handle the XML as if it was a 'all' -- no specific order -- and deserialize the message properly.
    Hope this helps,
    -eric

  • OLAP Error:The underlying connection was closed: An unexpected error occure

    We have recently installed BPC 51 (SP2). This been working fine for months until yesterday. Now we are getting errors on OLAP Database. Following is the problem description. Any help would be appreciated.
    Received error "The underlying connection was closed:  An unexpected error occurred on a send." while processing dimension. This message appears during 'Create Dimension' sub step( step 2/5). After this BPC server crashes.
    The same error appears while deleting appset during 'Delete OLAP Database' sub step (step 2/4). We are also not able to restore an appset since the process hangs during OLAP Database stage.
    Software version: BPC Version 5.0.102 SP2
    MS SQL Server 2005
    Microsoft SQL Server Management Studio      9.00.3042.00
    Microsoft Analysis Services Client Tools      2005.090.3042.00
    Microsoft Data Access Components (MDAC)      2000.086.3959.00 (srv03_sp2_rtm.070216-1710)
    Microsoft MSXML      2.6 3.0 4.0 5.0 6.0
    Microsoft Internet Explorer      6.0.3790.3959
    Microsoft .NET Framework      2.0.50727.1433
    Operating System      5.2.3790
    Thanks

    Yes we did that several time, but did not solve the problem.
    Finally, we processed all the dimensions, applications, appsets within SQL server studio and the problem is resolved. I am not sure if this would surface again.
    Thanks
    Edited by: Sankaranarayanan Janakiraman on Jun 19, 2008 8:34 AM

  • HELP - the application Adobe Illustrator CS2 quit unexpectly

    Hi, I have a room of networked Mac's (G4) OS 10.4.6 and we have had all twenty machines running CS2 and everything working fine.
    Now that the machines haven't been used for a while I can only get 7 of the machines to work on CS2.
    I get this error message when opening a new or saved document in illustrator " the application Adobe Illustrator CS2 quit unexpectly".
    Version of Illustrator is 12.0.1 Any Ideas?

    I've this problem too.
    The solution described on http://kb.adobe.com/selfservice/viewContent.do?externalId=330444
    is malfunctioning

  • The Application Adobe Illustrator CS2 quit unexpectedly

    Hi, I have a room of networked Mac's (G4) OS 10.4.6 and we have had all twenty machines running CS2 and everything working fine.
    Now that the machines haven't been used for a while I can only get 7 of the machines to work on CS2.
    I get this error message when opening a new or saved document in illustrator " the application Adobe Illustrator CS2 quit unexpectly".
    Version of Illustrator is 12.0.1 Any Ideas?

    Well we are at 10.4.11 right now and 10.4.6 if I recall correctly was a nasty version. I'm running CS2 on 10.4.11 with no constant crashing. You always have the one off goofy crash every once in a while.

  • Error 103 on Mac 10.7.4 having downloaded PS CS6 using the Adobe Download Assistant. Why?

    I let the assistant do and chose everything that happened (is there another way?) and yet I am getting this error 103. I have found and read all the other questions on error 103 but none of the contain and actual solution. Plase HELP!

    I think I might have to resort to downloading the program from an illegal torrent, just so that I can use my legitimate-purchased product key on it. Would that constitute a form of intellectual property irony?
    I am in total agreement with PeterBFreeman. I download 20-30 GB of data per week from other sources at a fast rate, with no problems. Obviously my internet connection speed is not the issue. Nor is my ISP--like PeterBFreeman above, I have tried to do this at two locations with different ISP providers. Could it possibly be that the download-speed problems are on Adobe's end? Because that would make way way way more sense...
    And by the way, Manish in comment #3 posted a solution to every error EXCEPT error 103. Exactly which of the 10 or so solutions he provides applies to error 103? Or do I just blindly follow them all, hoping that one will work? Do you really know if any of these will work, or are you just blindly throwing solutions at me hoping that you might get lucky?
    FYI, like i clearly stated earlier, I also did a direct download...four times...each of which failed miserably (error 4960--failure mounting dmg file). I wish I could just walk away, but I absolutely depend on Adobe products to survive. So I am stuck. I feel like a battered spouse.
    After sifting through a number of forums and double speak--the real problem seems to be that both the Adobe Download Assistant and the direct download links have a very hard time producing an uncorrupted file. The download assistant is supposed to smooth out this problem--and under ideal circumstances, it should be able to peice together a workable file. But alas, download assistant can't seem to do the one thing it is supposed to do--and getting an uncorrupted file seems more like a crapshoot than anything else as PeterBFreeman suggests.
    The direct download links also have problems because I can never seem to get a decent download speed--and either it times out or my browser cancells the downloads due to slow download speeds (this happens when I have no other problems with download speed for other applications, programs, media). The four times I did finally download the entire file (twice via direct download and twice via download assistant) I got errors 4960 and error 103 respectively.
    Yet, the answer we keep getting from Adobe is, "keep doing the same even though you get the same crappy result every time". This is literally insane. Or I get just straight aversion of the question--either blaming my ISP, or my internet speed or by calling my problem "Rare" when it clearly isnt that rare.
    Error 103 is an adobe error. This means that someone at Adobe came up with the number (103) which corresponds with whatever the error is. Telling me that it is rare without indicating what the error is seems just like bad customer service. The problem is clearly beyond your customer service unit. Please please please, go find a person who knows what error 103 is and ask them the following:
    1) What is error 103? (i.e. can you give me a semi-coherent definition of what error 103 is?)
    2) What causes error 103? (other than it being rare?)
    3) Can you give me some step by step instructions to fix or avert this problem? (instructions for error 103. Not error 100, 101, 102, 104, etc)
    4) If the causes can be many, what are they and can you give me step by step instructions for each of the possible causes?

Maybe you are looking for

  • Speeding up the use of Pen Tool in connection with Audio Keyframes

    I remember that one of the editing systems that I used to work on (either Premiere, Avid, or DPS) had this nifty little button that automatically generated three audio keyframes with the middle keyframe at -inf dB. It was great for getting rid of mic

  • Anyconnect drops connection

    Hello All, I have 3 pc's behind D-link DIR-655 Router. Those 3 pc's can connect trough VPN using anyconnect client to an ASA but just only the first time when I reboot the D-Link router. After they disconnect from the VPN the next time (Second attemp

  • Question about Java,XSLT and XML

    I am new to Java and XML. I'm not quite clear the relationship between Java,XSLT and XML. To exercise, I am going to write a Java program that makes embedded calls to an XSLT processor(XALAN), to produce results for several constrained transformation

  • VISA Shared resources by lock CVI functions

    Hello, Attach to the post : http://forums.ni.com/t5/LabWindows-CVI/VISA-Shared-resources/m-p/1000856#M43685 I use LabWindows/CVI 2013 SP2. I have a share VISA problem : 2 functions VISA (Read and Write), on the same ressource. I want to protect the a

  • Undo tablspace file 삭제

    oracle 10g undo tablespace datafile 을 OS 상에서 삭제가 되었습니다. 신규 undo tablespace 생성하여 변경은 해놓았으나 기존 OS 상에서 삭제된 undo tablspace 가 drop 이 안되고 instance down 로 안됩니다. 어떻게 해야하는지 고수분들 부탁드립니다.