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

BlackBerry Advertising Service

Reply
Developer
Posts: 402
Registered: ‎11-26-2010
My Device: Torch

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:
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
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
@garettBeuk
--
Goodbye everybody!