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
BGmot
Posts: 1,061
Registered: ‎11-24-2011
My Carrier: x

Re: Troubles with porting to BB10 without a real device.

This is what I get with real device:

$ blackberry-deploy -launchApp 169.254.0.1 ../tri.bar -password 0000
Info: Sending request: Launch
Info: Action: Launch
Info: Launching com.AvisDx.TriQuick.testDev_Dx_TriQuicke9e4bb10...
Error: Failed to create application process: Can't access shared library

 

It's weird that the name of shared library is not mentione.

Please use plain text.
Developer
borceg
Posts: 670
Registered: ‎03-21-2012
My Carrier: Vip

Re: Troubles with porting to BB10 without a real device.

Can you make bar file directly form QtCreator ?
Please use plain text.
Developer
AvisDx
Posts: 101
Registered: ‎12-02-2012
My Carrier: Beeline

Re: Troubles with porting to BB10 without a real device.


borceg wrote:
Can you make bar file directly form QtCreator ?

Only for debug purposes, because QtCreator always builts BAR with -devMode.



My BB10 apps: Photo Memo | TriQuick | SkidStone | MeeBirthdays
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post.
Please use plain text.
Developer
BGmot
Posts: 1,061
Registered: ‎11-24-2011
My Carrier: x

Re: Troubles with porting to BB10 without a real device.

It's not a problem with packaging. I have to admit I am puzzled... puzzled by weird part of the output posted above that does not say which library can't be found. Usually missing library is explicitely listed.

Please use plain text.
Developer
AvisDx
Posts: 101
Registered: ‎12-02-2012
My Carrier: Beeline

Re: Troubles with porting to BB10 without a real device.

Problem was not in shared libraries or compiler flags.

There was an  error in packaging - relative path in bar.xml pointed to

wrong executable (when I was packing from command-line in another directory).



My BB10 apps: Photo Memo | TriQuick | SkidStone | MeeBirthdays
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post.
Please use plain text.
Developer
borceg
Posts: 670
Registered: ‎03-21-2012
My Carrier: Vip

Re: Troubles with porting to BB10 without a real device.

Haha, I was correct. Anyway, I just create dev bar file and then sign it with command line, no custom packaging or whatever.
Please use plain text.