Android res folder not included in the ane extension

Hi.
I am trying to develop an android extension fro air, but I have a problem with resources.
According to this : http://help.adobe.com/en_US/air/extensions/WSf268776665d7970d-2e74ffb4130044f3619-7ff8.ht ml
The res folder should be included inside the created extension. But it actually isn’t.
for this test I simply use the basic Hello world Vibrate test, but I added a new png in the drawable folder.
As you can see while unziping the .ane file, then going to META-INF/ANE/Android-ARM
the res file is absent.
As a result, the program crashes when I try to access my ressource FREContext.getResourceId("drawable.ppy_accessory_manage.png")
Has anyone managed to make resources work with ANE in android?
PS, here is my batch to compile the ANE :
set adt_directory=C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0\bin
set root_directory=C:\Users\hugo\Adobe Flash Builder 4.6
set library_directory=%root_directory%\HelloANELibrary
set native_directory=%root_directory%\HelloANENative
set signing_options= -storetype pkcs12 -keystore "C:\Users\hugo\Adobe Flash Builder 4.6\certificat.p12"
set dest_ANE=HelloANE.ane
set extension_XML=%library_directory%\src\extension.xml
set library_SWC=%library_directory%\bin\HelloANELibrary.swc
"%adt_directory%"/adt -package %signing_options% -target ane "%dest_ANE%" "%extension_XML%" -swc "%library_SWC%" -platform Android-ARM -C "%native_directory%" library.swf HelloANENative.jar

Answer given on stack overflow :
http://stackoverflow.com/questions/8060041/adobe-air-3-native-extensions-android-res-folde r-not-included-in-the-ane-file

Similar Messages

  • Android res/layout Folder not included in the APK file (but included in the ANE)

    I'm having a problem with resources on an Adobe ANE Android extension:  android.content.res.Resources@NotFoundException:  id.viewView
    I have a xml layout file, which is included in the ANE file (checking by unzipping the ANE file and looking into META-INF/ANE/Android-ARM)
    In the APK file (generated with Flash Builder 4.6), the layout folder (inside res) at the top level is missing, but its included deep in the assets folder:
        - META-INF   
        - res
            drawable
            drawable-hdpi
            drawable-ldpi
            drawable-mdpi
            raw
        - assets
            META-INF
                AIR
                    extensions
                        org.dornad.ane.MyTestExtension
                            META-INF
                                ANE
                                    Android-ARM
                                            drawable-hdpi
                                            drawable-mdpi
                                            drawable-xhdpi
                                            layout
                                            values
    Any ideas?

    Can you manually select it for inclusion by modifying Packaging Settings - Package Contents in "Export Release Build" settings?

  • Where Can I Find Components And Footprints Not Included In The Circuit Design Suite Databases?

    One of the most common questions asked by users of the Multisim and Ultiboard suite is about finding components. From time to time you may come across the need of a particular component or footprint (lanbdpattern) that is not included in the master databases. So where can you look for these components? There are multiple places to begin your search, both 3rd party and from NI that are free and readily accessible:
    One of the long-standing free resources is the Kittmaster's Component Database which is maintained by Kittmaster (Chris) one of our proven active veterans of this board as well as a Beta Tester of the Circuit Design Suite. You will find a vast collection of already built parts in Multisim and Ultiboard formats that have been submitted by users like you that have register on kittmaster's database and that actively upload custom component creations. I encourage you to register and share.
    NI has recently created the Circuit Design Community in response to requests from users around the world. The Circuit Design Community aims to provide an open resource for designers that need or would like to share Multisim components, Ultiboard footprints, sample design files and other documents that are of use for the design community. The basic difference between the Circuit Design Community and this Circuit Design Discussion Forum is that the Community is tailored for document and file sharing, whereas the Forum is designed with problem solving, tip sharing and general support questions in mind. Again, I encourage you not only to search, but also to share any components you may have created that are useful for other designers.
    Most manufacturers that offer SPICE or PSPICE models in their websites would typically allow you to download them free of charge, in most cases accepting a license agreement. The first step is to identify who the manufacture of the part you are looking for is, as well as cross-reference manufacturers. Then search in their corresponding websites for the product folder or design resources section. If you find SPICE or PSPICE models you can easily import those when creating a new component, remember that Multisim is highly compatible with PSPICE models, and every new release adds more compatibility. If you cannot find the model, it does not hurts to call or email the manufacture and ask directly if they have such models, in many cases they are not advertised in the web.
    Last, but not least, use your favourite internet search engine and see if anyone out there has posted or worked on a similar model.
    Thank you for using the support resources and I hope that these options fulfill most of the component searches that you may need to do.
    Message Edited by nestor on 04-14-2009 02:52 PM
    Nestor
    National Instruments

    You can have a look at some established projects that are using similar tools - where do they put the application files etc.
    There are things like XDG_CONFIG_HOME, XDG_DATA_HOME etc. http://standards.freedesktop.org/basedi … atest.html

  • My iPhon 5 s iOS 8.1.2 since 2days when i am receiving videos through watsapp it did not play and a letter appear said videos are not included in the iCloud backup how to make it included ?

    my iPhon 5 s iOS 8.1.2 since 2days when i am receiving videos through watsapp it did not play and a letter appear said videos are not included in the iCloud backup how to make it included ?

    You can recover Your music but not with original names.
    1. Go to Your iPod hard disk
    2. You must to see hidden files (if you don't see them go to in system explorer to Tools > Folder Options > View > and mark Show Hidden Files)
    3. Go to folder named iPod_Control
    4. Copy folder Music - this is Your music but not with originally names
    I'm must to say sorry - my English is not very good - I'm still learning
    I hope it helps

  • Licence   is not included for the material - J1IH

    Hi All
    We are working on ECC 6.0.
    While doing J1IH ( Additional Excise) with Subtransaction Type 01, we are getting a warning message as -
    Licence   is not included for the material
    Message no. 8I993
    However if we process without any Subtransaction Type, no warning is flashed.
    Please let me know the reason for the same and what could be done so that system doesnt prompt it?
    Regards
    Kapil

    Hi
    Check SAP note 1223591
    Regards
    Antony

  • Licence   is not included for the material

    Hi,
    I have maintained account ddetermination for DIEX ETT for sub transaction type 22. When I am doing Additional Excise in J1IH system is giving the warning message as "Licence   is not included for the material" and it is not picking any G/L accounts. Where as without subtransaction , it is picking concerned G/L accounts. Please suggest, what I have to do?
    Regards,

    Hi
    Check SAP note 1223591
    Regards
    Antony

  • Js folder not included in OAM, or web folder when published

    I'm sure I'm doing something wrong, but I've check a few video tuts and don't appear to have my structure wrong. see attached.
    But when I Publish the index.html for both web and OAM, the js folder and the fonts folder are not copied to the "web" folder in the "publish" folder.
    Now that I know this it's not a problem for the web folder to import into DPS, as I can just create a copy and manually place the JS and Fonts folder into the web folder, but it seems to be a problem with the OAM, ie not JS script no interaction.
    Anyway I hope you get what is happening, and I must be doing something wrong, so to sum up, the OAM file does not appear to be have my JS folder bundled into it.
    Is my file structure wrong in the attached example?
    Cheers
    Alistair

    Thanks Elaine
    It would be hugely helpful if this info was posted on the forum, I have looked and searched much of the day for other postings to no avail.
    Presumably this is the same problem that stops the JS folder being saved to the web folder - not to mention the font folder if one has been created for a custom font offline.
    Don't recall there being a bug report list as per DPS, but happy to be told otherwise. Many thanks for the responses. Very much appreciated.
    Alistair

  • Local node not included in the list of host names for grid installation

    I'm attempting to install clusterware on Solaris 11 on 2 nodes. I've tried tweaking the /etc/hosts file in a few different ways by including the fully-qualified name and without it for the localhost, but it still gives me this error every time. The runcluvfy.sh script doesn't run on Solaris 11. Does anyone know how to get around this problem?
    I've tried this using the silent install and with OUI, but got the same error both ways. This is the format of the node names:
    oracle.install.crs.config.clusterNodes=myLocalNode:myLocalNode-vip1,myOtherNode:myOtherNode-vip2
    [FATAL] [INS-40907] Local node not included in the list of host names for grid installation.
    CAUSE: The local node (the node where you are running the installer) was missing from the list of host names you provided.
    ACTION: Include the local node in the list of host names for grid installation.
    Edited by: 982828 on Jan 18, 2013 1:18 PM

    Hi,
    what Oracle Version are you trying to install?
    Best to directly start with 11.2.0.3 and look in MOS for certification, hints requirements.
    Regards
    Sebastian

  • Why i cannot create the sql azure database from my own country 'Nepal' ?. why it is not include in the list of country when we sign up for azure database. :( !!!

    why i cannot create the sql azure database from my own country 'Nepal' ?. why it is not include in the list of country when we sign up for azure database. :(  !!!
    canot we try this new feature ,dosnot we need to try this too..why such discermination for our country nepal. :(

    Hi Anil,
    I am Mahesh from Microsoft Innovation Center. From August 2014 we have made Azure Available to Nepal. You can now directly sign in to azure with your Nepal Based Mobile Number as Verification.
    Thanks for showing your Interest in our Product.
    Mahesh Dahal

  • Why it is popular applications are not included in the official repo?

    Why it is very popular applications like yaourt (GPL), pacman-color (GPL) and many other free programs are not included in the official repositories?
    Why not create an official "non-free" repository for popular non-free software?

    There will never be an AUR helper in the official repositories because it runs counter to the AUR policy - which is: it's unsupported, so we're not facilitating its use. You need to be aware about the potential drawbacks of its usage, which involves getting you, the user, to make that call to install an AUR helper - which involves more than just calling pacman. Can't comment on pacman-colour, but apart from colour, it doesn't really add any functionality afaik .

  • .ear file is not including all the required files for deployment

    While deploying from JDeveloper, some of the files (eg. <Project>.cpx file, .class file) are not included in the .ear file.
    Pls help.

    Is the .ear file deployed with the Deploy to EAR file selection?

  • Windows 8, Lightroom 5.6. When i enable filters to search. It cuts off the top 160  images. These images are NOT included in the search!!

    In Windows 8, Lightroom 5.6. The search/filter function cuts off the top 160+ images. These are NOT included in the search.
    Even when there are as little as 6 images it does not include the first 4 images.
    I found this when I was searching a particular ISO. It did not show in the metadata search. I knew there were over 60 images at that ISO.
    I tried a text search, it did not work either. The top 160+ images were left out.
    Also it renumbered the images. My image number was #163 but Lightroom said it was #1.
    In Windows 7 Enterprise, Lightroom 5.6 worked perfectly.

    We'll need more detail to figure out what's going on. While we could play twenty questions, the most efficient way to troubleshoot this is to start out by posting a full-resolution screen shot of your LR window.

  • [svn:fx-trunk] 12936: -make sure the bundles directory for airspark is not included in the package fixes bug SDK-24552

    Revision: 12936
    Revision: 12936
    Author:   [email protected]
    Date:     2009-12-14 19:40:23 -0800 (Mon, 14 Dec 2009)
    Log Message:
    -make sure the bundles directory for airspark is not included in the package fixes bug SDK-24552
    -remove (from svn) the en_US/docs directories for textLayout because these directories and dita files are created by asdoc in the doc target
    -updated the main build.xml to not include the playerglobal project
    -updated fat-swc targets in osmf,automation_spark,automation_flashflexkit,automation,airspark, and textlayout to remove the doc directory.
    QE notes: make sure copylocales works properly
    Doc notes: no
    Bugs: SDK-24552
    Reviewer:
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24552
        http://bugs.adobe.com/jira/browse/SDK-24552
    Modified Paths:
        flex/sdk/trunk/build.xml
        flex/sdk/trunk/frameworks/projects/airspark/build.xml
        flex/sdk/trunk/frameworks/projects/automation/build.xml
        flex/sdk/trunk/frameworks/projects/automation_flashflexkit/build.xml
        flex/sdk/trunk/frameworks/projects/automation_spark/build.xml
        flex/sdk/trunk/frameworks/projects/osmf/build.xml
        flex/sdk/trunk/frameworks/projects/textLayout/build.xml
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/airframework/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/automation/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/automation_flashflexkit/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/automation_spark/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/framework/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/rpc/bundles/en_US/docs/
        flex/sdk/trunk/frameworks/projects/textLayout/bundles/en_US/docs/

    Well, I've tried compiling a package and I have modified the PKGBUILD file to look like this now. (Keeping it as simple as possible)
    pkgname=dvbcut-svn
    pkgver=16
    pkgrel=1
    pkgdesc="DVBCUT-svn is an application that allows you to
    edit MPEG files. ie: Remove TV ads. (SVN version: Fri, 01 Dec 2006)."
    url="http://dvbcut.sourceforge.net"
    depends=('qt' 'libao')
    makedepends=('subversion' 'scons')
    conflicts=('dvbcut' 'ffmpeg')
    provides=('dvbcut')
    source=()
    md5sums=()
    _svntrunk=https://svn.sourceforge.net/svnroot/dvbcut/trunk
    _svnmod=dvbcut
    build() {
    cd $startdir/src
    svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
    cd $_svnmod
    msg "SVN checkout done or server timeout"
    msg "Starting make..."
    make || return 1
    # vim:syntax=sh
    I then run makepkg PKGBUILD and let it do its thing
    It ends with this...
    scons: done building targets.
    ==> Removing info/doc files...
    ==> Compressing man pages...
    ==> Stripping debugging symbols from libraries...
    ==> Stripping symbols from binaries...
    ==> Generating .PKGINFO file...
    ==> Generating .FILELIST file...
    tar: *: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors
    ==> Compressing package...
    tar: *: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors
    ==> Finished making: dvbcut-svn  (Sun Jan 21 19:08:28 UTC 2007)
    I'm not sure what's causing this error message.
    tar: *: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors
    I'll try installing it and see how it goes.

  • When syncing iTunes reports "The iPod "name" cannot be synced. A duplicate file name was specified. ". the music is updated but all the sleeve imagary is not including deleting the existing images. How do I solve please?

    When syncing iTunes reports "The iPod “name” cannot be synced. A duplicate file name was specified. ". The music is updated but all the sleeve imagery is not including deleting the existing images. How do I solve please?

    Hello WGT52,
    It sounds like this error message is preventing you from syncing your content to the iPod. I would recommend the troubleshooting steps in the following article:
    iTunes: Troubleshooting issues with third-party iTunes plug-ins
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • ERROR...This for is not included in the software package you have purchased

    Hi everyone,
    A Business One server was virtualize, after finished the process the server was working properly.
    I add an user and check the professional license.  Next day I got this error "This for is not included in the software package you have purchased" also the rest of the users has restrictions like a CRM license and the error message.  They cannot see all the components of the application.
    Nevertheless on the same server I have another company that do not has any error, the users can log in and they can see everything depending on their authorizations they do not got any error message.
    What could happened , is something with the license profile or could be the authorization of the users ??
    Hope any of you can he p me with this.  I have print screens if any needs them.
    Thanks in advance,
    SBonilla

    Hi,
    You are not assign any license to that particular User, that why this error is comming.
    Before you can assign a license to a user, you must first import the license file.
    As Superuser go to Administration > License > License Administration.
    In the window that appears, press "Import License File" and choose the appropriate license file.
    Go to Main Menu -> License->License Administration->you assign the professional licenses to to the users [or Particular User].
    Regards.
    Koti Babu M

Maybe you are looking for

  • IPad Air won't let me update or download my apps, how can I fix this plz let me know

    My iPad Air will not let me update or download any apps! Plz let me know how I can fix this problem thank you

  • WLC 5508 HA-SSO 90-day timer

    Hello everybody We have 2 5508 in HA SSO (212licenses + 50permanentfor the secondary) it is not clear what is written in the documentations about the 90-day timer  – If the new WLC has a higher AP count than the previous, the 90-day counter is reset.

  • No sound from computer speakers

    In sound preferences the output no longer shows computer and I have no sound. It only has "digital output" available.

  • Perform queries to external web sites.

    Hello, I would to know whether there is any way to perform queries to different web sites from a Java program. To make it clear, i want to perform a search query to a business directory(yellowpages.com), in order to get back the list of businesses av

  • Im having trouble with deleting photos, help :(

    Hi, well im quite new to this but im having major problems with deleting pictures. Im able to delete the ones i have took from my ipod but cant delete the ones i have synced from the laptop to my ipod. Also i can view them on the ipod and not on the