Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
05-24-2013 10:59 PM
I have NDK v10.1 installed on my PC and I have successfully build an App that runs on Z10 and Q10. I want to now port this app to also run on PlayBook, however when I try to run my native app on PlayBook hardware I get the following message:
The application you are launching is built against a newer version of the Native SDK (10.1.0.1020) compared to your device version (22.214.171.1246). Using a newer Native SDK will cause issues when running and debugging your application. How would you like to proceed? [Cancel Launch] [Find matching SDK] [Continue]
When I try to find a matching SDK, nothing is found. If I Continue, the PlayBook app doesn't install and run on my PlayBook.
Is there any way to use the 10.1 NDK to build apps for the PlayBook? Or do I need to install NDK v2.1 on my PC and use it for PlayBook development?
Is it okay to have 2 versions of the NDK installed on the same PC (v2.1 and 10.1) ?
Solved! Go to Solution.
05-25-2013 08:49 AM
You need to install the 2.1 SDK in order to build for the playbook.
What I ended up with is the 10.x IDE with a drop down box towards the top that lets you choose which version of the compiler to use. And then you can switch back and forth.
Also, although you can't use the 10.x to build for the playbook, you can use the 2.1 to build for BB10. You have to be careful with this as you obviously can't use any 10.x api's when you do it this way.
This is the way I've done it. My biggest problem was with dialog boxes. as they don't allow for all of the options for sizing in 10.x as they did in 2.1.
Be sure to test if you go down this route of using 2.1 for 10.x.
Naturally, the alternative is to manage 2 different source codes.
05-26-2013 08:56 AM
Did you install the 2.1 NDK into the same directory as the 10.1 NDK? Or do they have to be in separate directories so that files don't get over written?