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
New Contributor
erikakus
Posts: 2
Registered: ‎12-03-2012
My Device: BB10
My Carrier: none

Problem with using libraries in a BB10 plugin

I've used template to create native unzip extension for BB10 and this topic.

And everything went OK while I was working with template stuff and adding OSDaB-Zip classes to project.

But when I tried to insert unzip code following error appeared on simulator (after successful build):

Require Error Can’t find /usr/lib/webplatform/plugins/jnext/unzipExt.so Libary cannot be found

 

And it also appears when I am just trying to initialize simple QString var:

 

#include <QtCore/QString>

QString source = QString::fromStdString("123");

 

Path to Q-classes library added to the project 'Includes' as <path to NDK>/target_10_0_9_386/qnx6/usr/include/qt4

Telnet says that /apps/<APPNAME>/native/plugins/jnext/unzipExt.so is on its place

Please use plain text.
Contributor
Georgechr
Posts: 40
Registered: ‎06-28-2013
My Device: Z10
My Carrier: None

Re: Problem with using libraries in a BB10 plugin

Seconded. Have you figured out a way around this?

Please use plain text.
New Contributor
erikakus
Posts: 2
Registered: ‎12-03-2012
My Device: BB10
My Carrier: none

Re: Problem with using libraries in a BB10 plugin

Yeap

I just took different library. Cannot tell you excactly which one, because it was many month ago. And also I had to check aaaaall paths in project properties

Please use plain text.
Contributor
Georgechr
Posts: 40
Registered: ‎06-28-2013
My Device: Z10
My Carrier: None

Re: Problem with using libraries in a BB10 plugin

Yeah, I figured it out as well. In my case I had to remove all inclusions and them through the wizard. I guess adding them manually would work as well as long as the paths to the libraries are not hardcoded.

Please use plain text.