Packaging failure via mometics export-> release build, due to the run_when_backgrounded permission.

Hello

Whenever I try to package my request for signature and publication using momentics export-> Blackberry-> Release version, my packaging fails with the following error message: (bar file is created, but it cannot be installed on the device)

Package failed: 2
Info: Package created: /Users/deepak/bbcodebase/BB_App/arm/o.le-v7/myApp-1_0_0_1.bar
[ERROR] MANIFESTO. MF: Invalid value 'access_location_services, run_when_backgrounded, access_shared' for the attribute "Entry-Point-user-Actions".

Here is the excerpt of permissions that I use in my bar - descriptor.xml

run_native

run_when_backgrounded
access_location_services
access_shared

When I delete run_when_backgrounded permission to my bar - descriptor.xml, packaging works correctly and the binary signed, I can install and run on my device.

Without signing the application and using debugging tokens, I can install the debug version of my app (via momentics) and run it on the device with the permission of run_when_backgrounded without any problem.

I developed a native BB 10 application, using the following configuration:

SDK version: 10.1

Feature: Q10 with 10.2.0.424 software

Momentics® IDE for BlackBerry: Version: 2.0 Build id: v201310251603

Development mode: on

I need the permission of run_when_backgrounded for my application as some of the functionality that depends on.

Request let me know what I'm missing here.

Thanks in advance.

Thank you sabdelsayed,

I have upgraded my toolchain to 10.2 SDK and not observe this behavior. I forgot to update the community, an apology for this.

Thank you all for help.

Tags: BlackBerry Developers

Similar Questions

  • Export release build crashing in appworld test

    I'm developing an application BB10 and on both debug and run options with Momentics IDE works app.

    The problem comes when I am doing export release build. Then the application does not start, not even the splashscreen.

    Could be cause by a bad created .bar file?

    I tried to submit the application for the Blackberry world, and they have the same problem.

    Well, then you have a problem of signature.

    Look through this and confirm that you have followed all the steps...

    https://developer.BlackBerry.com/DevZone/blackberryworld/preparing_your_app_for_blackberry_world.htm...

    Click on the links on this page to ensure that you have.

    If you think it's OK thanks for posting your record bar - descriptor.xml.

  • Export release build, not including data XML files in the apk package

    Hi, all.

    I have a flash pro project I packed for AIR according to these steps:

    http://Renaun.com/blog/2011/09/using-Flash-builders-mobile-workflow-with-Flash-professiona l-projects.

    There are two differences:

    1. I am loading XML from right next to the swf files
    2. The Flash Pro project and the project Mobile share a directory that is outside of these two projects (this was the workflow already established in the public Service, given that several sovereign wealth funds share the same XML file).

    When I test this on my phone, it adds the XML files to the apk and everything works great. The problem I have is that the export Release Build does not include XML files, and I don't see anything in the Flash Builder interface that looks like it will allow me to add more files than the swf file and the app.xml.

    android.png

    What Miss me?

    Love - your comments helped me to think about this and get to the essential part that missed me. I've marked it useful, because it has shown the way.

    I'm not a big fan of scoring own "correct" answers, but I'll do this time so that people can easily find the steps.

    The error I thought that the "Debug on the device" was wrong to get an AIR debug version, because the swf file was not a debug swf.

    I did not understand that if I clicked on the button run, it would also be a version out to push to the unit, and that this version would not give the message "waiting to connect to the debugger.

    The entire process that you get when you click on 'Run' is a little weird (I say this to those who have never tried). It will install the application on the device, but does not launch (I think that this is impossible). Flash Builder crashes and then in "Installation application to the device. If you look at the screen, you will see a new download in your notifications bar, and from here you can launch the application.

    To summarize:

    1. To start your swf Flash Pro package for Air using Flash Builder, follow the steps in Renaun (http://renaun.com/blog/2011/09/using-flash-builders-mobile-workflow-with-flash-professiona l-projects /)
    2. Doing this work on Mobile, you have probably installed on your phone in debug version. This uninstall using Astro File Manager (https://play.google.com/store/apps/details?id=com.metago.astro&hl=en)
    3. Instead click the "Debug" button in Flash Builder, click on 'run '. This makes an apk without debugging and pushed back them to your phone (if your Setup allows debugging of the device).

    Additional notes: If you have xml files that are packaged in the apk file and you are using URLLoader (because the app originated as a web application), add "app: /" at the beginning of the URL string you use. Thus, "xml/myFile.xml" becomes "app:/xml/myFile.xml". If you need to keep your original web application logic, add a conditional on Capabilities.playerType == "Desktop. »

    Hope this helps someone else with the same problems

  • Cannot export release build

    Hello

    I created an application based on the Bluetooth SPP cat example, I now release and submit to the BlackBerry World for sale.  However, whenever I try to build the application, I get an error complaining an invalid active path.  I tried everything I could think of to fix the error, but I'm in over my head here and don't understand what goes wrong.  To verify that my key works, I've tried to sign a simple "HelloWorld" application and the release of build has worked well with this app.  However, whenever I go back to my app built based on the example of cat Bluetooth SPP export version build fails.

    I then decided to try to do an export release build on the example of cat Bluetooth SPP directly and I found myself with the same error.  He is shown below.

    Package failed: 1
    Error: Path access valid asset 'arm/o.le-v7/libbluetoothsppchat.so.1.0.0 '.

    If someone can please help me with this problem I would really appreciate it.  At the moment is to prevent to release my app World de BlackBerry and I'm not very happy about it, especially after I spent a lot of time to get the application going in the first place.

    Wow, I spent so much time on it and the solution was right under my nose...

    http://supportforums.BlackBerry.com/T5/Cascades-development/can-t-export-for-release/m-p/2091503#M11...

    No need to answer.  Soon all the world!

  • Export release build error

    I have my loan application. It does not correctly work in the emulator. Now, I want to create the version that I can submit to the App World. I use Flash Builder Burrito. That's what I do.

    1) click Project > export Release Build from the main menu.

    (2) select the location where to save the file to.

    3) click on the button "Finish".

    When I do that, I get the following error.

    Error occured while packaging the application
    
    C:/Users/houselaptop/MyFirstApp/bin-release/Main-app.xml(10): error 105: application.initialWindow.content contains an invalid value
    
    C:/Users/houselaptop/MyFirstApp/bin-release/Main-app.xml(10): error 105: application.initialWindow.content contains an invalid value
    
    Error: AIR validation failed
    

    This is what looks like my hand - app.xml

    
    http://ns.adobe.com/air/application/2.5">
        com.myfirstapp
        myfirlstapp
        MyFirstApp
        1.0.0
        A simple app
        Home
        
            [default]
            This is the title
            none
            true
            false
            landscape
            false
            true
        
    
    

    Any help is appreciated

    Hello

    Since I use CLI tools only, I've seen this error.

    for:


    [default]

    I put in the name of my hand. SWF file where you [default]

    Harry

  • Cannot export release build for AIR app...

    Flash Builder 4.7 won't let me export a release build for AIR applications to all the...

    All started when I wanted to make some changes to an old AIR application.  Could not even run in the debugger, so I updated the AIR SDK (using instructions available here: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html and here: http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html )

    So after doing all this and a few other changes, I finally got my AIR application to run the debugger in Flash Builder 4.7.  The changes I wanted to make, and then tried to export Release Build...  Kept giving me an error "Incorrect password for this certificate" every time that I tried it - but she would never let me enter a password.  I went to the project. Release Build, export and on the first screen, I have to click on 'Next' and he jumped directly to the compilation, jumping on the screen where you are supposed to be able to enter the password and certificate information.

    Thought that maybe because it was an old AIR project, which was causing the problem.  So I started a new project AIR - one very simple with just a < s:Label > inside a < s:WindowedApplication >.  Project | Properties | Flash Builder package and created a brand new self-signed certificate (which seemed to work) but once again trying to export release build, he wouldn't let me get to the screen where you enter the password.  By clicking 'Next' in the first screen on project | Export Release Build jumps just directly to the compilation and (of course) it gives me the error of Incorrect password, because he never gave me a chance to enter the password.

    So what is happening here?  Why not export commercial versions for AIR projects?  It's extremely frustrating - Flash Builder 4.6 never gave me problems.  What can I do to fix the Flash Builder 4.7 so it does not work with AIR projects?

    Thank you

    L.

    Was having the same problem and totally by chance (with a mix of frustration) I went to move the window and accidentally resized it... and low and behold the rest of the content window popped up as if she had a label 'hidden' on this subject... a collueges had the same problem on a windows and mac machine and it was resolved in the same way... I hope this helps someone...

  • Lack of option "Native Installer" Export Release Build for AIR application

    I was wondering if anyone else has to face it. Regardless of the type of soft AIR that I work on all I get is the export to the file option. I'm updating with AIR 2.5 SDK Flex 4.1 SDK on a current install of Vista 64.

    You need to update Flash Builder 4.0.1 for the native installer option in the export Release Build.

    Your newspaper seems to indicate that you are on Flash Builder 4.0 (just using the SDK 4.1 won't, you must upgrade the builder himself for this).

  • Format disk VSANS for 3.0 is not / / failure realign suite virtual items SAN / / due to the confinement or the absence of file descriptor vmdk, requiring a manual correction.

    Hi all

    After the upgrade of "6.0 Update 2" and try to update the disc format to version 3.0, I received the error message below.

    Impossible to change the route following the virtual items SAN:

    be4db256-0ab4-9801-c523-0cc47a3a34ca, c2bcb056-5d5f-0f02-f096-0cc47a3a3320, c0bcb056-70a6-180c-c583-0cc47a3a3320, e413b256-90b5-dd1a-cce6-0cc47a3a34ca, c2bcb056-64aa-ee1e-0bb3-0cc47a3a3320, c0bcb056-4b47-5529-b59d-0cc47a3a3320, 6644b256-e0f8-3338-737d-0cc47a3a34ca, d411b256-08ea-f83b-9774-0cc47a3a34ca, c0bcb056-a489-9541-efbe-0cc47a3a3320, 3f6abc56-28fd-4a48-4f8a-0cc47a3a34ce, d411b256-784F-a45a-714d-0cc47a3a34ca, c1bcb056-6671-c45c-2254-0cc47a3a3320, 3f6abc56-1061-ab60-e4c8-0cc47a3a34ce, f17bb356-fcdf-3469-502-a-0cc47a3a3320, cfe8b156-606f-ee6a-4356-0cc47a3a34ce, d411b256-4450-3777-e3bf-0cc47a3a34ca, c1bcb056-b24e-cb7a-7b1a-0cc47a3a3320, f17bb356-f008-9581-2468-0cc47a3a3320, 31bdb056-0a02-4882-9094-0cc47a3a34ca, c1bcb056-2a83-a596-ed2c-0cc47a3a3320, f17bb356-08a1-529f-c375-0cc47a3a3320, c1bcb056-4edc-FFAF-bf04-0cc47a3a3320, c1bcb056-c9e2-fec8-1930-0cc47a3a3320, c1bcb056-4e92-e4e4-9b92-0cc47a3a3320-e413b256-dcd0-f6fd-8ae2-0cc47a3a34ca,

    due to the confinement or the absence of file descriptor vmdk, requiring a manual correction.

    Does anyone has an idea to solve this problem?

    The articles and the script are now available to resolve this problem. A more permanent solution is in preparation.

    Details of the issue, including links to the scripts and KBs are here - http://cormachogan.com/2016/03/31/vsan-6-2-upgrade-failed-realign-objects/

    Thank you for your patience.

  • Export Release Build: error 303 - defining the right path to the PNG file

    Hello.
    I have a 32 x 32 pixels pixels and icon in the code XML Application descriptor file, I tried all possible ways for the icon.png and I get an error message 303. My application deploys fine if I leave aside the icon... just seems to be a path issue but can not understand why... I put the file in the libs folder and tried png just in the src folder, but no luck... I saw other posts talked about checking the 'no embedded files to output folder copy' and I have this checked... Thank you!

    After trying for centuries created a flex project and copied all the code as a whole in the new project. But did not use the old app - xml file used for the new flex project and the icons have worked.

  • Save the file to the shared folder in Release Build works, but not in Export version

    We are ready to present our application to App World. However, we noticied when testing the 'export release' that build our file saving function of does not work (the file is not be saved - but the folder we created). The file records fine when running in debug or release mode, but not to export the final file.

    Is - this all simply because we are not supposed to try to run the bar directly exported version file and it should work once on App World? Has anyone experience this problem?

    We are trying to back up the folder "shared/music/AppName" If that helps.

    We have corrected it. We were writing somehow to the wrong address in the "shared". For some reason, it still worked when you use version debug/directly from the IDE, but does not when exported. That's all now works well.

  • How to generate restarted VM list due to the failure of the host

    Some on give can the powercli or script command to generate restarted VM list due to the failure of the host

    Here is a good Article for your condition that perfectly fits in. http://www.jonathanmedd.net/2012/03/which-vms-restarted-after-a-vsphere-ha-event.html

    You can also go ahead and check it out via vcenter browser journal as well. Using the vSphere PowerCLI or Web Client to identify affected VMs after failure of the host - YouTube

  • Unrecoverable error occurred when receiving data - response failure via network

    Hi all

    Remote system went from VSOS (Windows Env) SOA SUITE (Linux).

    They swapped the IP/dns of the old and the new server.

    Followed when they try to access a service at our end...

    We receive an error in ulog as:

    102850.stageserver! GWTDOMAIN.8448.4.0: LIBGWT_CAT:1071: WARN: failure of the list control to access for local service MEM01 control

    102850.stageserver! GWTDOMAIN.8448.4.0: LIBGWT_CAT:1043: ERROR: fatal error occurred while receiving data - response failure via network

    Local domain:

    ISWTC01

    GWGRP = TDOM

    TYPE = TDOMAIN

    NETWORKID = ISWTC01

    CONNECTION_POLICY = ON_STARTUP

    SECURITY = NONE

    Remote domain:

    OSB6_MS1 TYPE = TDOMAIN

    NETWORKID = OSB6_MS1

    MTYPE = "DRUNKS".

    OSB6_MS2 TYPE = TDOMAIN

    NETWORKID = OSB6_MS2

    MTYPE = "DRUNKS".

    Local services:

    MEM01

    LDOM = ISWTC01

    remote service:

    MEM01

    RNAME = PIPSRV01

    LDOM = CSERVER (our local OSI domain)

    RDOM = DEV (our remote area of OSI)

    INBUFTYPE = 'CARRAY '.

    OUTBUFTYPE = 'CARRAY '.

    We have not changed anything, but the remote system. Please help me understand: This could be a problem due to the WTC config remote system... What's wrong?

    Also why this MTYPE used?

    Thanks in advance.

    Kind regards

    Deb

    Hello Deb,.

    Since there is no use of access control in the dmconfig above I guess that it's a mismatch in the config.XML to accesspoint/accesspointid.

    No doubt when they changed their VSOS SOA they changed their AccessPointId Local de OSB6_MS1, OSB6Ms2 to have more than one meaning SOA

    (for example, SOA_MS1 or SOA_MS2). Just check that there is a consistent naming between WTC LDOMs/RDOMs with Tuxedo RDOMs/LDOMs.

    MTYPE is a variable to improve performance for encoding/decoding (host-network, network-host). Since your domain Local is not defined

    It is not used. Ok.  It should not be used when a local Tuxedo domain communicates with a remote domain of WTC. Encoding/decoding must be enabled.

    Kind regards

    Bob Finan

  • Export release with AIR 3.9 generation error

    When I try to export a release build with captive runtime I got up this error. I'm not sure what is meant by "to ensure that the time on your computer is synchronized" and my certificate is valid.

    Screen Shot 2013-10-18 at 2.38.50 PM.png

    Our Department QE has been able to reproduce this problem by using the currently released air version.  However, it seems to be fixed in our upcoming beta release (which will be released tomorrow afternoon.)  You can try the beta version and let us know how it works for you?

  • Drag / move does not work in the export release version

    I use the built in the DragManager class to manage a few drag and drop features in an application.  When running in flex builder, it works exactly as expected, but when I export a release build project, dragging only works in the vertical direction.  How is that possible?  What could be the cause of this strange behavior.

    Any help would be appreciated.

    So I thought about it, it turns out that it was a combination of two questions.  First, the background color should be set in order to avoid that the events of gout are received correctly.  Not sure why it worked but since flash builder!

    Secondly it updated me that AIR drag Manager was not the mouseX property that we depend on to a logic of positioning, then had to update to store the required mouseX value.

  • Why the telemetry is enabled by default when the support page says it should be disabled in release builds?

    Page at https://www.mozilla.org/en-US/privacy/firefox/#telemetry says telemetry functionality should be disabled in release builds by default. I've just updated to 34.0.5 and it is activated. I know not if, in an earlier version is enabled and he kept the same State, but I never manually put it on.

    Hello itabirca, just to be sure: you look at the options > advanced > choosing data to check if the extension has been enabled?
    have you used a beta version of firefox or the testpilot addon in the past?

    https://wiki.Mozilla.org/telemetry/FAQ

Maybe you are looking for

  • All add ons and suddenly wiped bookmarks.

    yesterday, I installed a new antivirus on my computer windows 8 (total kaspersky IPSec 2015) and did a full scan. everything was fine. money without danger causes a computer total freeze which is weird, but he was doing this on my old kaspersky as we

  • How to control my program for 0.6seconds?

  • 3500 wireless mouse does not

    My MS Wireless Mobile Mouse (optical) has suddenly stopped working. Have uninstalled and reinstalled the device drivers. Occasional, I got the mouse works for a very short time after reboot. Have you tried 3 different ports USP for the nano transceiv

  • Defining a 1852nd Aironet AP - Radio Off - Cisco IOS 12.3 (4) JA

    I have a brand new Cisco Aironet 1800 AP series I'm trying to install. Specifically the 1852E. I do not have a controller and try to use the method of deployment of mobility Express. When I received the unit there is a yellow label more precisely dec

  • I have a photosmart d110. Vista operating system

    My printer is locked to print on 4 X 6 photo paper in the landscape.   It original default to a 8.5 X 11 portrait.  Can it be handed over to the 8.5 X 11 as default?