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

Native Development

Reply
Developer
jcnielsen
Posts: 90
Registered: ‎06-03-2009
My Device: Dev Alpha B
My Carrier: None atm.
Accepted Solution

QNX Momentics error: Packaging failed:2

When trying to run a release version on my BB 10 device via QNX Momentics, I get this error:

 

Packaging failed:2
Info: Package created: C:....(the path)

[ERROR] Unable to parse attribute: \n

 

When trying to launch a debug session I get a similar error:

 

Error in final launch sequence
Cannot prepare and download the binary
Packaging failed:2

Info: Package created: C:....(the path)

[ERROR] Unable to parse attribute: \n

 

I have been looking through my run configurations, but I can't find anything wrong. I have searched this forum. the Momentics help section and the web, but can't find anything that explains how to solve the error.

 

Thanks.

Br
J. C. Nielsen

Attended DEVCON 2010

Free Tibet
Please use plain text.
BlackBerry Development Advisor (Retired)
ashnazir
Posts: 17
Registered: ‎11-27-2012
My Device: Bold 9900
My Carrier: VodaFone UK

Re: QNX Momentics error: Packaging failed:2

Hi,

 

 

I'm looking into your issue.

 

 

Thanks

 

Ash.

Please use plain text.
Developer
jcnielsen
Posts: 90
Registered: ‎06-03-2009
My Device: Dev Alpha B
My Carrier: None atm.

Re: QNX Momentics error: Packaging failed:2

[ Edited ]

Thanks.

 

The issue started, when I erased a test project, selected yes when being asked to remove existing configurations (I think that was what Momentics asked me about), made a new project, and wanted to run it.

 

This is what the bug looks like:

http://www.chiburi.dk/problem_occurred.jpg

Br
J. C. Nielsen

Attended DEVCON 2010

Free Tibet
Please use plain text.
Developer
jcnielsen
Posts: 90
Registered: ‎06-03-2009
My Device: Dev Alpha B
My Carrier: None atm.

Re: QNX Momentics error: Packaging failed:2

Maybe it is better to develop on Mac OS? Any thoughts on that? I am using Win Vista at the moment.

Br
J. C. Nielsen

Attended DEVCON 2010

Free Tibet
Please use plain text.
Developer
jcnielsen
Posts: 90
Registered: ‎06-03-2009
My Device: Dev Alpha B
My Carrier: None atm.

Re: QNX Momentics error: Packaging failed:2

I tried setting up the IDE etc. on Mac. The IDE couldn't connect to the phone via USB. Does anybody know a trick to that?

I installed the BB Desktop Software. For reason that could also not connect to the phone.

 

I guess I will have to try Windows development again :-|

Br
J. C. Nielsen

Attended DEVCON 2010

Free Tibet
Please use plain text.
Developer
BGmot
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: QNX Momentics error: Packaging failed:2

I am developing on MAC without any problem. Yes, BB Desktop Software does not recognize DA but it is not related.

Please use plain text.
Developer
jcnielsen
Posts: 90
Registered: ‎06-03-2009
My Device: Dev Alpha B
My Carrier: None atm.

Re: QNX Momentics error: Packaging failed:2

Found out what was wrong.There was a newline character in the description field in the bar-descriptor file *sigh*

Br
J. C. Nielsen

Attended DEVCON 2010

Free Tibet
Please use plain text.