Installed the app, went to make a project and BLAMMO, hit the first wall. Apparently you need to install the Android and Blackberry SDKs. This of itself is no big shock, the problem arises when you try to install the Blackberry Java SDK which as you can see, you can either download as a pre-configured Eclipse install, or you have to use the Eclipse Updater. As my Eclipse install is Titanium itself, I obviously have to go the updater route. Fortunately, Appcelerator already has the Blackberry updater site configured, but then I hit the wall.
You select Help->Install New Software… select the Blackberry Update Site, then select the Blackberry Plugin, like so:
Of course, this is Eclipse we are talking about, so of course it isn’t going to work, throwing up the following error:
Cannot complete the install because one or more required items could not be found.
Software being installed: BlackBerry Java Plug-in (core) 126.96.36.199112201607 (net.rim.EclipseJDE.feature.group 188.8.131.52112201607)
Missing requirement: BlackBerry Java Plug-in (core) 184.108.40.206112201607 (net.rim.EclipseJDE.feature.group 220.127.116.11112201607) requires 'org.eclipse.jdt.debug.ui 0.0.0' but it could not be found
Oh joy. Off to Google I go! Sadly, I didn’t find an answer, but a few minutes later I puzzled it out myself. If you are using Titanium Studio and run into dependency errors like this, there are a few things you need to change to fix it.
In the Available Software dialog, click the “Available Software Sites” link:
Check the box beside Eclipse Update site like below:
This will give you access to all the various Eclipse updates. Finally back on the updates screen, you want to verify that the “Contact all update sites during install” checkbox is checked:
With this change, the Blackberry SDK install will be able to resolve it’s dependencies and complete the install.
It’s a small thing, but if you are just starting out with Eclipse, this is the kinda showstopper garbage that make me hate recommending this tool.