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

Testing and Deployment

Reply
Developer
Posts: 116
Registered: ‎10-31-2012
My Device: BB10 Dev Alpha B
My Carrier: -
Accepted Solution

Error message when exporting for release

Hi,

 

I'm getting this error message in Momentics when I try and export my app for release:

 

Packaging failed:1
Error: Invalid asset path "arm/o.le-v7/TransitNow.so"

 

I'm not doingf anything special, just choosing export->blackberry->release

 

Any ideas?

 

 

Developer
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C
My Carrier: Telenor, Mobitel

Re: Error message when exporting for release

You are getting this error just for that application or for all others? Try to sign some BB10 sample. 

Developer
Posts: 116
Registered: ‎10-31-2012
My Device: BB10 Dev Alpha B
My Carrier: -

Re: Error message when exporting for release

Yes it was just that one.

 

The problem seems to be with the .pro file. I started the project a while ago and I've noticed that recent examples have a different format for the .pro (and different ways of enabling QT Mobility).

 

I updated to match the current location diagnostics cascades app and it builds. There were other problems caused by the switch - I've actually had to go back to an earlier draft without some mobility features whilst I have a look at it.

 

It's odd though. How can I have a pro file that successfully builds and signs with a debug token, but breaks the release packager?

 

Developer
Posts: 15
Registered: ‎10-10-2012
My Device: Blackberry 10 Dev Alpha
My Carrier: N/A

Re: Error message when exporting for release

Hi, I'm getting this same error right now, could you please be more specific in which aspects did you have to change in your .pro file?


Thanks.

Highlighted
Developer
Posts: 15
Registered: ‎10-10-2012
My Device: Blackberry 10 Dev Alpha
My Carrier: N/A

Re: Error message when exporting for release

I just solve it. I change the bar-descriptor.xml file in the source tab -> the tag for the Device-Release configuration -> in the asset tag I had to change the path from "arm/o.le-v7/MyprojectName.so"  to "arm/o.le-v7/MyprojectName". The .so extension was generating the error.

 

Regards.

New Contributor
Posts: 7
Registered: ‎02-18-2013
My Device: Dev Alpha A
My Carrier: tsel

Re: Error message when exporting for release

Also got same error message. But it got fixed after I changed the bar-descriptor.xml source file below to point to /arm/o.le-v7/libmyapps.so.1.0.0   :

 

......

<configuration id="com.qnx.qcc.toolChain.1954258989" name="Device-Release">
<platformArchitecture>armle-v7</platformArchitecture>
<asset path="arm/o.le-v7/libmyapps.so.1.0.0" entry="true" type="Qnx/Elf">myapps</asset> // It was named different file previously
<entryPointType>Qnx/Cascades</entryPointType>
</configuration>

.....

 

Good luck

Hendry

New Contributor
Posts: 3
Registered: ‎02-23-2009
My Device: Not Specified

Re: Error message when exporting for release

This work for me thanks a lot!