Results 1 to 24 of 24
- 11-29-2012, 08:02 AM
Thread Author #1
Am I the only one who can get the BB10 NDK to work on linux?-_-
Could someone be kind and explain me how to get it working? After I install it I do "./bbndk.sh" or "./bbndk-env.sh" but nothing happens
, I'm using Fedora17
Thanks in advance
- 11-30-2012, 08:49 PM #2
Did you cd to the right location?
- 12-01-2012, 12:15 AM
Thread Author #3
Re: Am I the only one who can get the BB10 NDK to work on linux?-_-
Yes I go to /opt/bbndk and then "sh bbndk.sh" or "sh bbndk-env.sh" and nothing happens-_- I must be doing something wrong, however thanks for replying
- 12-01-2012, 02:52 AM #4
Must be root for this. cd /opt && ./BlackBerry\ Native\ SDK
- 12-01-2012, 09:37 AM #5
Re: Am I the only one who can get the BB10 NDK to work on linux?-_-
You shouldn't have to be root if you install in a location (like your home directory) in which you have permission. The bbndk-env.sh just sets environment variables for command line use. Use the bbndk.sh to start the ide if that is all you are looking for.
- 12-01-2012, 10:47 AM
Thread Author #6
Re: Am I the only one who can get the BB10 NDK to work on linux?-_-
I am root when I do that! I do "sh bbndk-env.sh" and then "sh bbndk.sh" and nothing happens
- 12-01-2012, 01:06 PM #7
Re: Am I the only one who can get the BB10 NDK to work on linux?-_-
Do you have any errors?
I recommend perhaps running the install again NOT as root, let it install to somewhere in your home directory. Also make sure you have the proper version of Java installed as well, it's recommended that you use the official Java from Oracle rather than the open source version. - 12-01-2012, 03:21 PM
Thread Author #8
Re: Am I the only one who can get the BB10 NDK to work on linux?-_-
I'll try installing it at home, I think I already have the official Java JDK but I'll check that too, thank you
- 12-05-2012, 10:30 PM
Thread Author #10
- 12-06-2012, 06:23 AM #11
Re: Am I the only one who can get the BB10 NDK to work on linux?-_-
Just give a shout the next time you give it another go. I do most of my development work on Linux and I'm willing to offer up my experiences and to the extent I can. The Linux ide does lack the qml preview mode that is on windows and mac at the moment which other than it being eclipse based is my only complaint. Well that and vmware.
- 12-06-2012, 05:54 PM
Thread Author #14
- 12-07-2012, 01:16 AM #15
I've had the BB10 NDK (and the PlayBook NDK before that, and the QNX 6.5 SDK before that) working on Linux the whole time. Right now that means Ubuntu 12.04 on my laptop, and Fedora 16 on my desktop. I know both are now technically a version behind, so I'm not sure if the latest releases introduce any strange library incompatibilities. However, I'm not planning on risking it for at least another week or so. Just remember to install all the necessary 32-bit libraries if you're on a 64-bit distro.
Biggest issue I had was with QML preview not working correctly on BB10 NDK beta 1. The solution was to basically force the IDE to use the stock OpenGL libraries from Ubuntu (not the ones from Fedora, or the ones provided by the nVidia drivers). Of course RIM's response to our bug reports on the issue was to just say "screw it, we're just going to disable the feature permanently on Linux" from beta 2 onward. - 12-07-2012, 12:21 PM #16
Yeah, the last time I tried, I think I was on Ubuntu 11.10. I'm on 12.04lts and it worked great. I downloaded it, it installed fine, I didnt get a chance to play with it, but it launched just fine. The simulator, however, needed to have the vm installed to my home directory, not a big deal, but it would crash when I put it in the /opt directory. (99% sure it was a permissions issue)
@RedxD - Does it give you any messages when it installs? Or when it fails to launch? - 12-08-2012, 05:01 PM
Thread Author #17
- 12-10-2012, 06:01 AM #18
Re: Am I the only one who can get the BB10 NDK to work on linux?-_-
I'm willing to bet that it's a missing library and for whatever odd reason that error is getting suppressed or just not showing its ugly self. I believe the gold sdk is about to drop so perhaps that might reveal it. If not I suggest doing a test install and run with the 32 bit java and eclipse ide to see if that shows what library is missing.
- 12-10-2012, 06:24 PM
Thread Author #20
Re: Am I the only one who can get the BB10 NDK to work on linux?-_-
I'll install the 32-bit libraries tonight, I'll look up for ldd as well, thanks for all the help
- 12-11-2012, 12:21 PM #23
sudo apt-get install ia32-libs
Got it to launch. It wont run on this machine, but it has almost no development environment. (Which may be an issue for this machine) Doesnt bother me here, cause I wont be using this machine to do my developing.
---update #2?---
The problem with the launch was it put my license and other files it needed in /root/.rim and made them all root. So the user account couldnt access them. Moving them to ~/.rim and chowning them to the user made it work fine. - 12-13-2012, 07:45 AM #24
For what it's worth, I've been successfully running the NDK on 64bit Ubuntu and now 64bit Mint 14. I perform the installation as root, installing to the /opt directory, next (and this is important!) move the /root/.rim folder to my home directory (i.e. /home/russ/.rim/) and then do 'sudo chown -R russ.russ /home/russ/.rim' and launch it by the command '/opt/bbndk/bbndk.sh' from a terminal.
Two other points:
1. Install ia32-libs if you are on 64 bit Linux (as has already been mentioned).
2. Always remove the old ndk and it's directories before installing a newer version:
1. Run 'sudo /opt/bbndk/installer/uninstall' (I think that is correct, I'm not at my PC atm).
2. Run 'sudo rm -rf /opt/bbndk'.
3. Run 'rm -rf ~/.rim'.
This has always worked well for me. Glad to see other developers embracing Linux, I won't personally use anything else when I have the option.
Russ."If anyone would come after me, let him deny himself and take up his cross and follow me" - Matthew 16:24
SpeedNotes - A fast and convenient note taking application
Visit Gray Matter Apps on the web: http://www.graymatterapps.com/
Similar Threads
-
Am I the only one who can't find this?
By zzzdamian in forum BlackBerry PlayBookReplies: 11Last Post: 01-24-2012, 11:36 PM -
Am I the only one who's noticed the IM clients have unstable connections
By deewayne in forum BlackBerry StormReplies: 7Last Post: 10-14-2009, 12:35 PM -
Am I the ONLY ONE that can't get WeatherBug to work ?
By Bamacool in forum Storm 3rd Party AppsReplies: 15Last Post: 01-06-2009, 01:35 PM -
Am I the only one who hates the name 'Storm'?
By Klypr in forum BlackBerry StormReplies: 27Last Post: 12-04-2008, 04:24 PM -
Am I THE ONLY ONE who has no clue
By nrkelly in forum T-MobileReplies: 9Last Post: 06-29-2008, 03:15 PM
Reply

















