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

New Developer
Posts: 5
Registered: ‎02-13-2012
My Device: Playbook
My Carrier: Developer

Having trouble importing example programs...

Ok, for starters, I'm very new to the Blackberry development world, and am just starting with the momentics IDE, so bear with me.  I tried to compile some sample programs from here:  http://blackberry.github.com/ndk/samples.html


When i tried to build the accelerometer example, i got this error in the bar-descriptor file on  lines 59, 63, 67, and 71:  


Asset requires dependency "libpps.so.1" to be included in the BAR package.


How do i add libpps.so.1 to my BAR package?


This is on all packages i try to build, but the bar-descriptor.xml is from the accelerometer example.



Posts: 45
Registered: ‎10-25-2010
My Device: Bold 9700
My Carrier: Rogers

Re: Having trouble importing example programs...

The version of the NDK that you are using has this library in the "target-override" folder; it isn't deployed in the tablet OS, so it needs to be bundled in your application.

Just select the problem in the Problems view or in the Source page of the bar-descriptor.xml editor and invoke the quick-fix action (Command+1 on Mac, Ctrl+1 on other platforms). That will add the required asset for you.