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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

BlackBerry Advertising Service

Reply
Developer
dx22
Posts: 402
Registered: ‎11-26-2010

Advertising Service SDK jars OS support question

Hi,

 

In the sdk archive there are different jars with the same name for the different bb OS versions.

My question is - can I import both jars in the eclipse project safely? I don't want to have to make two separate builds just because of the ads library.

----------------------------------------------------------------------
Press the button to give kudos if I helped you :smileyhappy:
Please use plain text.
BlackBerry Development Advisor
gbeukeboom
Posts: 1,842
Registered: ‎10-16-2009
My Carrier: Bell

Re: Advertising Service SDK jars OS support question

Including 2 libs in your project will cause conflicts as both include the same classes. You may need to look into performing some build scripts to pick the lib to compile at build time or swap the libs used at build time manually.

Garett Beukeboom
BlackBerry Development Advisor
Developer Zone
@garettbeukeboom

--
Think of a great new feature? Find a bug?
Log and track them using the Developer Issue Tracker
Please use plain text.