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

Java Development

Posts: 36
Registered: ‎09-07-2009
My Device: N/A
My Carrier: Verizon

Exclude non-imported classes with RAPC

Hello all,


Is it possible to exclude classes with RAPC that are not imported anywhere? I'm implementing the facebook-bb-sdk which requires 5.0.0 or higher. My goal is to use preprocessor directives to not import or use any methods from the SDK when not compiling for 5.0.0 so everything works fine.


This isn't working for me. Would love to get some insight on how others are handling this problem.