Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
New Contributor
Posts: 3
Registered: ‎05-10-2012
My Device: Blackberry PlayBook
My Carrier: Vodaphone

'Device settings are missing' error when launching from Flash Builder

I'm running Flash Buidler on windows.

I've got everything setup as instructed, and a token has been uploaded onto the device.

When launching an app I get the following error message:

 

          Problem Occurred

          'Launching {my_app_name}' has encountered an problem.

          Device settings are missing

 

When clicking on the details button I get the following details, which are soo helpful I nearly shed a tear of joy:

 

          Device settings are missing


I don't get this for other platforms, just the PlayBook.

 

Any info would be much appreciated... I asked Google but it's never seen this error message in relation to Flash Builder.

 

Cheers,

Osh

 

 

Highlighted
Retired
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: 'Device settings are missing' error when launching from Flash Builder

Hi Osh,

 

I've never run into this error.  Is this a Mobile Flex or a Mobile ActionScript project? Do you have your app.xml and bar-descriptor.xml filled out correctly? Also make sure that you select "Add platform specific libraries to library path" selected in the projects properties.

 

img1.png

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/
New Contributor
Posts: 3
Registered: ‎05-10-2012
My Device: Blackberry PlayBook
My Carrier: Vodaphone

Re: 'Device settings are missing' error when launching from Flash Builder

Hi,

 

Thanks for the response!

 

It's a Flex Mobile project.

 

I'd checked the add libraries box, and set up the 'bar-descriptor.xml' file as follows:

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<qnx>
    <author>{name from FB token details}</author>
    <authorId>{id from FB token details}</authorId>
    <permission>access_internet</permission>
    <icon>
        <image>icons_tablet/icon_86.png</image>
    </icon>
</qnx>

 

Any more pointers would be much appreciated.

 

Kind regards,

Osh

Retired
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: 'Device settings are missing' error when launching from Flash Builder

Sure - I have a few more ideas. Have you tried creating a new project, leaving it blank and publishing? Make sure your PlayBook is in developer mode. Are you pointing to the proper BlackBerry AIR SDK? 

 

sdk.png

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/
New Contributor
Posts: 3
Registered: ‎05-10-2012
My Device: Blackberry PlayBook
My Carrier: Vodaphone

Re: 'Device settings are missing' error when launching from Flash Builder

A 'Hello World' project works fine, but I can't find any difference in configuration.

One thing that is different is that my original project was created targetting iOS and Android only, and I've gone back in to add QNX - could there be something being set in the setup wizard which I need to replicate manually?

 

Retired
Posts: 427
Registered: ‎02-22-2012
My Device: BlackBerry Z10, BlackBerry Dev Alpha C, BlackBerry PlayBook
My Carrier: Bell

Re: 'Device settings are missing' error when launching from Flash Builder

I dont think so but I have had Flash Builder to some weird things to me. I know it would be a pain but maybe try copying over the source to a new project. 

Follow me on Twitter: @dustinmalik
-----------------------------------------------------------------------------------------------------
Keep up to date on BlackBerry development: http://devblog.blackberry.com/