Adobe AIR ignores Android uses-sdk in the manifest

We're trying to set the uses-sdk setting on the Android Manifest. But Adobe AIR seems to be ignoring this and not copying it over. I have other custom items in the manifest, and they are being copied over. What am I doing wrong?
I've tried:
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10" />
And this, which is straight from the docs: http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffc.html
<uses-sdk android:minSdkVersion="8"></uses-sdk>
Our app descriptor looks like this. The uses-configuration gets included in the output manifest, but the uses-sdk is completely missing.
<android>
        <manifestAdditions><![CDATA[
                              <manifest android:installLocation="auto">
                                        <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10" />
                                        <uses-configuration android:reqTouchScreen="finger" />
                                        <supports-screens
                                                  android:smallScreens="false"
                                                  android:normalScreens="true"
                                                  android:largeScreens="true"
                                                  android:xlargeScreens="true"
                                                  android:anyDensity="true"/>
                                  <application>
                                          </application>
                              </manifest>
                    ]]></manifestAdditions>
    </android>

If you are decoding the binary application.xml and searching for the minSdkVersion and targetSdkVersion version properties, then i am afraid you will not find them.
"apktool" used to reverse engineer APK files creates a file apktool.yaml which contains these values. 
Also could you please elaborate how do you think these values are being ignored?  Is there any API that you are not able to use.
Thanks,
Rajat

Similar Messages

  • The Error Message 'Application descriptor file cannot be parsed' shows when compiling (Ctrl + Enter) Adobe AIR for Android applications on Flash Professional CS5.5

    The Error Message 'Application descriptor file cannot be parsed' shows when compiling (Ctrl + Enter) Adobe AIR for Android applications on Flash Professional CS5.5
    This is happening for most of the pupils and staff at our school and they are unable to complete their work.
    This also happens on a fresh copy of windows and CS5.5 without any updates and also with all latest updates.
    I have tried it on 32-bit and 64-bit CS5, Windows, Air and Java with the same error every time.
    There are a small minority of users where this works fine for them with no issue.
    I have tried re-setting user profiles.
    I have tried a local admin and domain admin account with the same issue
    I have noticed however that if the file is moved to the shared area it will compile. If it is on their documents area it will not compile. The users have full control in both locations. This is fine for staff but we are unable to give full control or modify access to the shared area for the pupil's
    I have been through the online support section and it directed me to phone Adobe Customer care who informed me that all support has been discontinued for CS5, CS5.5 and CS6 and they will only support creative cloud.
    Any ideas what to try next? There is no other information about this error and I cannot work out what is causing it.

    I have tried and  able to package an apk using your XML file.Could you please make sure your XML file starting from line 1 and coloumn 0.Any space will results in the error (Application Descriptor file cannot be parsed)
    -Pranali

  • Increase brightness using adobe air for android

    Is there any fringe api to increase the screen brightness in adobe air for android?
    Im making a morse code app and it could really use a pump in brightness while the app is in use.
    If its not yet implemented, then this would deffinately make a nice addition.

    i have an app called screenLight on my droidx. it really pumps up the screen brightness and makes it like a flashlight (kinda)... so i am pretty sure it is possible. i dont know how but you might try to see if you can contact one of their develepors. another option for you would be to possibly use the cameras flash. it is way brighter than the screen will ever be (though much smaller)
    good idea for an app!

  • Adobe air for android development in linux?

    So, I'm shifting to a linux and I heard that adobe air does not support sdk 2.7 and higher! is that true for mobile app creations also or just .air packages? will I be able to compile android projects required adobe air 3.1 or 3.2 because I am building with Starling and I need newer adobe air runtimes... Please let me know. and will you please be able to tell me what software, IDE, I need to install on my linux to be able to package my .apk files on a linux?
    Thanks,
    Hadi

    I need linux to package the apk for me because I will be changeing some files like some xml files in the bin folder and then I need the new files repackaged again... the linux will be used as a server side packaging for us... get the idea?
    I've been using 3.0 in the xml namespace and it created "app.air" for me on the linux! I know I must put the -target apk to the "adt" call but when I set the -target method, it throws many errors!

  • Adobe Air for Android 2.3.4

    I need Adobe Air for Android 2.3.4 Urgently.
    I recently made an app on Flash CS5.5 and it installed correctly.
    It said to install adobe air
    But then it said "This prodict is not comptable with this version of..."
    ANY help?

    Hi,
    Please download latest AIR3.4 SDK from http://www.adobe.com/devnet/air/air-sdk-download.html.
    Look for the runtime.apk present in the AIRSDK folder \runtimes\air\android\device.
    Install the AIR3.4 runtime on android device using command(Refer http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ff6.html) -
    adt -installRuntime -platform android -device deviceID -package path-to-runtime
    The above steps will install latest AIR runtime on Android device.
    Please note that - Applications created and published from Flash Professional CS6 for Android platforms will run on devices that run Google Android™ 2.2 operating system or higher.
    Thanks,
    Meenakshi
    Flash Pro Engg Team

  • Partial wakelock in Adobe Air for Android

    I'm developing Adobe Air (for Android) application which is intended to be constantly on. App has event based operations. However, when phone enters to sleep mode app is able to perform only one or few events in a second which is not good enough. AIR's SystemIdleMode.KEEP_AWAKE -mode is not an alternative since it is too battery consuming.
    I'm looking for a solution where phone is allowed to go into sleep mode (screen is off) but still CPU performance is not drastically dropped. Not sure if Android's partial wakelock -mode does the job and is available via ANE?

    Well Im a bit puzzled now. I just created a quick AIR app using AIR13 for Android and did a DEACTIVATE test on the NativeApplication.nativeApplication property and used a TextField to "trace" out the frame rate when the app deactivated. The frame rate stayed at 24FPS the entire time. I turned the screen off, let it turn off, went to the home screen, and switched to other apps while the test app was still running. In all cases, the frame rate never dropped to 4FPS as indicated in Adobe's documentation. So it is either something a bug or feature of AIR13+ or it is how Android KitKat handles applications in the background. Im using an unlocked/stock Moto X running Android 4.4.3. The app also appends the getTimer() call to the end so you can see that it does change. Here is a link to the quick app I created: Dropbox - deactivate.apk
    I guess if you want to download that and test it out to see how it behaves on your device and let me know the results. What device and OS are you running?
    Below is the original message I started to type before I decided to create a quick app to test with. It may or may not still be relevant based on your results from my app test.
    If you are looking at just recording information, you could probably setup something on the Android/Java side that gets started when the app "sleeps" using the DEACTIVE event as a trigger to start the ANE side of things. Then when your app "wakes", you could use the ACTIVATE event to trigger a call to the ANE to pull all the data collected in the Java side back to AIR and stop the ANE data capture since the data capture would be back to being handled by AIR.

  • Adobe AIR for Android update FAILS

    The most recent update for Adobe AIR for Android is failing on multiple users. Reading the reviews, I am having the same problem with running the update. Update runs, then stops and won't update? Why bother coming out with an update THAT WON'T LET YOU UPDATE AIR???????

    Hi,
    Could you please share the device used, OS version, kernel version and the last Adobe AIR installed in your device. Also, is this intermittent or it is failing everytime.
    Regards,
    Nimit

  • Adobe AIR for android, what is going on ?

    Hello!
    Few days ago i decided to try develop adobe air for android.
    Updated my phone to android 2.2 installed Android SDK , Adobe AIR SDK.
    Now there are few tutorials out there how to set up Air ap for android.
    They all state that u have to install Runtime_Device_Froyo_***********.apk
    You can supposidly download it from adobe pre-release, i cant get in there because they don`t let new members to register ?!?!?!
    I searched the entire google for 3h in every possible way to find Adobe Air setup for android, but its like it never existed. There are few disabled rapidshare and megadownload links, it is mentioned in a lot of places but you just cant find it anywhere.
    How can i setup Adobe AIR for my Android phone ?

    Can you please give directions where can i clear that cash.
    Anyway i don`t think its the case, because this is first time i hooked phone to internet, and first time i launched Android app store.
    Edit:
    I went to https://market.android.com and there is Adobe air app. But when i try to download it says that my device doesn't support it (Samsung Galaxy GT-I5500) By default it comes with android 2.1 and doesn't support Adobe air, but i upgraded firmware to 2.2.
    Maybe that is the reason it doesn't show me Adobe AIR in app store - based on my phone, not my Android version ?

  • Adobe Air for Android - caching key event that have "unusual" keycode

    I am developing an application for a platform. The OS of this platform is Android Gingerbread (2.3.4) The platform has some buttons with "unusual" key code: 141, 131 etc.
    Native application that created in ADT can catch and respond to these keyboard events While my Adobe AIR application (created in Flash professional) are Indifferent to them.
    I try both: stage.addEventListener(KeyboardEvent.KEY_DOWN,KeyHandler,false,0,true); NativeApplication.nativeApplication.addEventListener(KeyboardEvent.KEY_DOWN,KeyHandler,fa lse,0,true);
    How can I "catch" this event? Maybe a way to add constant to the keyboard class?
    Thanks

    If you are deploying for iPhone it is on the 'general' settings(First setting page opened).
    Just noticed you are making android app but i still added iphone deployment settings for further future
    But if you are using it for flash/android you have to add code into your fla descriptor with XML language(dont worry it is 1 line of code)
    Watch the video on this page about GPU rendering:
    http://blogs.adobe.com/cantrell/archives/2010/10/gpu-rendering-in-adobe-air-for-android.ht ml
    Your app shouldn't lag after these steps but if you have a project that gets bigger and has lots of code it MIGHT lag so that is when external files should help.

  • Adobe AIR for Android

    Hi there
    I would want to know if Adobe AIR will still be supporting Android.
    We are currently creating a app using Flash Builder and we are just cautious that it won't be supporting Android in the future, is this true?

    Do you mean will Flex support Android? That's a question for Apache.
    As for Adobe AIR (with or without Flex) we all wonder how committed Adobe is to it. To me it seems Adobe is fairly committed to Adobe AIR as a platform, even though the whole Flash platform has been scaled back -- AIR is doing quite well and there are frequent updates. That's only my guess, as good as yours.
    -Aaron

  • Can you play/view swf files on adobe air for android?

    Hi, yes; I'm new here, as well as to Adobe Air, and I'm still trying to learn the ropes around here, and I apologize in advance if this has already been asked, or I have placed this question in the wrong forum.
    The thing is, I was wondering if it was possible to play my SWF files via adobe air for android; and if so, how? Thanks in advance either way.

    Can you please give directions where can i clear that cash.
    Anyway i don`t think its the case, because this is first time i hooked phone to internet, and first time i launched Android app store.
    Edit:
    I went to https://market.android.com and there is Adobe air app. But when i try to download it says that my device doesn't support it (Samsung Galaxy GT-I5500) By default it comes with android 2.1 and doesn't support Adobe air, but i upgraded firmware to 2.2.
    Maybe that is the reason it doesn't show me Adobe AIR in app store - based on my phone, not my Android version ?

  • Compilation of adobe air app that uses ANE fails while using the flex ant tasks.

    The resolution seems to be a hack - which when you rename .ane files to .swc, it works.
    I came across this workaround here: http://stackoverflow.com/questions/11112705/using-ant-mxmlc-task-with-native-extension?rq= 1
    <mxmlc file="${app.root}/app.as" 
                   output="${output.dir}/app.swf"
                   allow-source-path-overlap="true"
                   debug="false"
                   actionscript-file-encoding="UTF-8"
                   swf-version="19" >
                <load-config filename="${framework.root}/air-config.xml"/>
                <source-path path-element="${framework.root}"/>
                <source-path path-element="src"/>
                <source-path path-element="other"/>
                <compiler.library-path dir="libs" append="true">
                    <include name="**/*.swc"/>
                </compiler.library-path>
                <!-- THIS DOES NOT WORK -->
                <compiler.external-library-path dir="nativeExtension" append="true">
                    <include name="**/*.ane"/>
                </compiler.external-library-path>
            </mxmlc>
    However, if I rename all the .ane files in the nativeExtension directory to .swc the following change works..
                <!-- THIS WORKS -->
                <compiler.external-library-path dir="nativeExtension" append="true">
                    <include name="**/*.swc"/>
                </compiler.external-library-path>
    Has this issue been addressed?
    I'm using the following:
    - Adobe AIR SDK & Compiler (version 3.7) for Mac OS X
    - ActionScript Compiler 2.0
    - Apache Ant wrapper located in "AIRSDK_Compiler/ant/lib/flexTasks.jar"
    Let me know if any other details will be helpful.

    I'm using something like this in my build.xml (inapp.purchase.flash.swc is the flash wrapper for the ANE):
                <external-library-path dir="${basedir}/extensions/inapp.purchase/inapp.purchase.flash/bin" append="true">
                    <include name="inapp.purchase.flash.swc" />
                </external-library-path>
    I don't think you need ANE when building swf component of your app. ANE is only required for packaging. By linking with external inapp.purchase.flash.swc you're just telling action script compiler that above symbols will be defined later (in ANE).

  • Adobe Air application installation using the bundled runtime installer

    Hello.
    We plan to develop application for different platforms with Adobe Air and testing installing Air applications with bundled runtime installer on different platforms. It's ok with Windows and Mac OS, but we got troubles with "silent" installation on Ubuntu OS 9.10.
    I tried to install Adobe Air application with bundled runtime, like in this document in part "Silent installation":
    http://help.adobe.com/en_US/air/redist/WS485a42d56cd19641-70d979a8124ef20a34b-8000.html
    using command-line:
    "sudo ./MyInstaller -silent simple-air-air-application-1.0-SNAPSHOT.air"
    and installation fails. Installation log looks like this:
    [setup:2306][INFO] Runtime Installer begin with version 2.6.0.19140 on Linux x86
    [setup:2306][INFO] Commandline is: -silent simple-air-air-1.0-SNAPSHOT.air
    [setup:2306][INFO] No installed runtime detected
    [setup:2306][INFO] Invoking Application Installer for combined install
    [setup:2306][INFO] Launching subprocess with commandline /tmp/air.QMrLZl/build/opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer -runtime /tmp/air.QMrLZl/build/opt -silent -withRuntime -url file:///tmp/air.QMrLZl/simple-air-air-1.0-SNAPSHOT.air
    [setup:2306][ERR] Subprocess app installer failed (-1)
    [setup:2306][ERR] Runtime Installer end with exit code 7
    P.S. We tried do the same on Linux Mint 10. Everything's fine, application getting installed well.

    Thanks for the reply and solution MrSykes.
    I uninstalled adobe AIR and ran a file and registry cleaner to delete any left over files and installs.
    Then installed the v.15 Adobe AIR beta as recommended.
    The cleaners I used (ccleaner & jv16 power tools) did find some temporary install files and remnants of the Video Alchemy install.
    Tried the install again and still no installation window displays.
    I'm running Windows 7 on my PC and even changed the installation file compatibility to Windows XP service pack 2 to no avail.
    Funny that it installed fine on my notebook with Adobe AIR latest version running Windows 7.
    I'm watching task manager as I'm attempting the install and videoalchemy.exe has some cpu usage then drops to zero activity.
    Then Adobe AIR application Installer starts up then cycles to zero cpu activity.
    I'm stumped on this one :-(
    Thanks again for investing the time on my behalf.
    Regards
    Stephen

  • Integrating Flurry in Adobe Air for Android

    Hi,
    I am having a hard time integrating Flurry into an android application built with Adobe Air.
    Setting: Flash Builder 4.6 (sdk 4.6) and Adobe Air 3.1
    I have successfully created the bridge between Air and Java (e.g. I can open a native notification).
    The flurry doc requires to call the method
    FlurryAgent.onStartSession(this, "FLURRY_ID");
    in the onStart() of an activity, where 'this' is an instance of the Activity class.
    Following the tutorial on building ane I have seen that when you extend a FREEFunction and you override
    the call method, the context has a "getActivity()", so I hav tried the following
      @Override
              public FREObject call(FREContext context, FREObject[] args) {
        FlurryAgent.onStartSession(context.getActivity(), "FLURRY_ID");
    But with no success.
    I even tried to build an empty activity and pass it to onStartSession like this:
    Activity a = new Activity();
    FlurryAgent.onStartSession(a, "FLURRY_ID");
    Again, no success.
    I even tried "null", but no success.
    Did anybody face a similar problem here?
    Any suggestion/idea?
    ps:
    I have tried contacting flurry, but I had no replies.
    I have tried to use the id in another,  built in the gold old way, android application and it works.

    Well Im a bit puzzled now. I just created a quick AIR app using AIR13 for Android and did a DEACTIVATE test on the NativeApplication.nativeApplication property and used a TextField to "trace" out the frame rate when the app deactivated. The frame rate stayed at 24FPS the entire time. I turned the screen off, let it turn off, went to the home screen, and switched to other apps while the test app was still running. In all cases, the frame rate never dropped to 4FPS as indicated in Adobe's documentation. So it is either something a bug or feature of AIR13+ or it is how Android KitKat handles applications in the background. Im using an unlocked/stock Moto X running Android 4.4.3. The app also appends the getTimer() call to the end so you can see that it does change. Here is a link to the quick app I created: Dropbox - deactivate.apk
    I guess if you want to download that and test it out to see how it behaves on your device and let me know the results. What device and OS are you running?
    Below is the original message I started to type before I decided to create a quick app to test with. It may or may not still be relevant based on your results from my app test.
    If you are looking at just recording information, you could probably setup something on the Android/Java side that gets started when the app "sleeps" using the DEACTIVE event as a trigger to start the ANE side of things. Then when your app "wakes", you could use the ACTIVATE event to trigger a call to the ANE to pull all the data collected in the Java side back to AIR and stop the ANE data capture since the data capture would be back to being handled by AIR.

  • Adobe AIR for Android 2.2(Samsung Galaxy Fit)

    Hi all,
         I have Samsung Galaxy Fit with Android 2.2. I want to deploy applications coded in Flex on my phone.
    Also Adobe AIR is supported by devices with Android OS 2.1 and above, but in Android market it shows that my phone is not compatible with the latest version of AIR.
    So does anyone knows which lower version of AIR will be supported by Galaxy Fit.
    Thanks in advance
    Ronak Shah

    Hi,
    Please download latest AIR3.4 SDK from http://www.adobe.com/devnet/air/air-sdk-download.html.
    Look for the runtime.apk present in the AIRSDK folder \runtimes\air\android\device.
    Install the AIR3.4 runtime on android device using command(Refer http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ff6.html) -
    adt -installRuntime -platform android -device deviceID -package path-to-runtime
    The above steps will install latest AIR runtime on Android device.
    Please note that - Applications created and published from Flash Professional CS6 for Android platforms will run on devices that run Google Android™ 2.2 operating system or higher.
    Thanks,
    Meenakshi
    Flash Pro Engg Team

Maybe you are looking for

  • Can i use airport extreme, with apple tv and pc without the internet

    While renting/buying films on itunes is all well and good, my wireless capacity is poor, if i buy airport extreme, without connecting it to the internet, will it stream my films on itunes from the PC to apple TV?

  • Year end closing for fixed asset

    Hi,      Currently we run the process AJAB to close the year for fixed assets at the end of the year and can close two years back.  So in September 07 I would have closed 2006, then run AJRW to open 2008. So it is my understanding that we can only ha

  • Sybase exception moving from WLS8.1 SP2 to WLS 8.1 SP4

    Hi, I have a test case that works with WLS 8.1 SP2, but fails when I try SP4. I'm using the sybase jconnect 5.5 driver. I'll put my JDBC conn pool info after the exception. Error (Wed Apr 20 15:56:57 MDT 2005) : Message - 65029 component - DatabaseAc

  • User command event is not working ........

    Hi , class event_class definition.   public section.     methods:        handle_user_command            for event after_user_command of cl_gui_alv_grid                importing e_ucomm.     methods:handle_hotspot       for event  hotspot_click of cl_

  • Transport Framework for WebDynpro

    Hi, Can someone tell me how the Transport Framework actually works in WebDynpro. Can you deploy (to Production J2EE Engine/ Test J2EE Engine etc ) only at the Application Level and not at the Project Level. In other words, If a WebDynpro project has