News for hackers. Stuff that matters.
Re:Android is a desolate wasteland when it comes to games by TwoBit on Thursday November 01, 2012 @09:34PM (#4730798)
Native Android devlopment (i.e. C/C++) is a major PITA. Biggest reason: there still is no debugger for C/C++ code; you have to do all debugging with printf. In 2012. I'm not kidding. Android NDK didn't even support the C++ Standard Library until recently.

Another reason why Android is losing on the developer front is that development environment setup and usage, even for Java, is worse than Apple's. It's usage of Eclipse is like duct tape and glue.

Re:Android is a desolate wasteland when it comes to games by jsankey on Thursday November 01, 2012 @10:33PM (#4730976)
There is support for debugging native code with gdb, and in the latest Android tools releases this is integrated into Eclipse via the CDT. However, it can still be difficult to set up - if it doesn't work the easy way it's very difficult to figure out how to fix it.

And although there are quirks (mainly performance related) in the ADT/Eclipse combo your description is far from my experience. The overall experience is better, IMO, than Xcode. The latter is the buggiest IDE I've ever used.

Frankly AppCode/IntelliJ beat both in many respects, but frustratingly don't quite cover the full range of functionality. It's difficult to make the leap when you need to go back to Xcode/Eclipse to accomplish some of your work each day.

Re:Android is a desolate wasteland when it comes to games by chj on Thursday November 01, 2012 @11:13PM (#4731074)
You really need a lot of nerve to talk about how ADT is better than xcode.

I used xcode for more than three years now, wrote a lot of object c/c/c++ and even assembler, and yet to find any major bug. This year I tried to port one of my app to Android, and the biggest challenge happens to be debugging native code. Basically you can't, there are some tutorials to set up gdb, but it shouldn't be that hard, and I don't bother. I ended up with printf, of course it is a nightmare.

If Google can deliver a xcode quality IDE, it'd already ruled the world.

Re:Android is a desolate wasteland when it comes to games by jsankey on Sunday November 04, 2012 @05:33AM (#4739424)
You're being unnecessarily hostile. Obviously our experiences have been different having used the same tools on different projects. I find plenty of problems with both IDEs, but for me Xcode has been the more painful because of bugs.
Re:Android is a desolate wasteland when it comes to games by chj on Monday November 12, 2012 @08:52AM (#4772805)
That must be a bad day with Eclipse. Different projects, maybe.
Re:Android is a desolate wasteland when it comes to games by wankerrific on Thursday November 01, 2012 @11:03PM (#4731057)
Really? There is support for native code debugging if and only if you go through a boatload of non-obvious, unofficially documented steps. On Xcode I can fire it up and instantly set breakpoints - without settings tons of non-default settings, recompiling magic gdb.setup files, and hacking the built-in build scripts.

Then when you get to single stepping its ridiculously slow. Anyone that has used or attempted to use the NDK debugger cannot say with a straight face that it is up to par with modern tools.

Oh...then there is the issue of ridiculously uninformative stack traces.

Its generally easier to build your code in an x-plat fashion in C++ and then work out as many bugs on iOS as you can and then - as the parent said - leave printf turds everywhere.

Stone knives and bear skins...

Re:Android is a desolate wasteland when it comes to games by barbs on Friday November 02, 2012 @01:19AM (#4731352)
I recently ported a PC game written in C++ to Android. I basically used the command-line gdb to debug the program when I needed to. It was a PITA at times, especially when it would sometimes lose track of the program when stepping through. It definitely felt a bit half-baked. I definitely can't say the experience was easier than using Xcode.
Re:Android is a desolate wasteland when it comes to games by TwoBit on Friday November 02, 2012 @02:13AM (#4731476)
Show me a link that actually describes how to make it work. I have yet to see one.
Re:Android is a desolate wasteland when it comes to games by jsankey on Sunday November 04, 2012 @05:29AM (#4739417)
tools.android.com/recent/usingthendkplugin

It's a relatively new addition, and as warned above it still might not work in all setups in my experience. But it's worth a go.

Re:Android is a desolate wasteland when it comes to games by cageface on Thursday November 01, 2012 @09:38PM (#4730808)
IntelliJ is a much better Android IDE than eclipse and far superior to Xcode.
Re:Android is a desolate wasteland when it comes to games by kgarten on Thursday November 01, 2012 @09:57PM (#4730865)
I agree ... still I have the problem that the Android development chain on my Mac breaks from time to time. Disclaimer: I'm developing for iOS and I'm quite new to Android (playing with some code from time to time).

Yet, debugging with a galaxy nexus on usb is buggy for me (sometimes it works sometimes it won't). reboot might help ... I just love instruments in xcode.

As code editor I use MacVim (faster and a much cleaner look for me compared to IntelliJ as it's a coca citizen and not a Java GUI app ... ).

Re:Android is a desolate wasteland when it comes to games by cageface on Thursday November 01, 2012 @11:03PM (#4731056)
I agree iOS tool chain is more mature overall.

I can't imagine giving up all the code editing features of IntelliJ for any generic text editor though. All that java and XML without code completion and refactoring is just too horrible to contemplate. If you're determined to go that route then why not just ditch the IDE entirely and do everything from the command line?

Re:Android is a desolate wasteland when it comes to games by kgarten on Thursday November 01, 2012 @11:23PM (#4731092)
MacVim has good code-completing and most of the advanced features out of the box, if you use YADR or similar ( https://github.com/skwp/dotfiles ). I like to have the same environment regardless which language I'm using ( objective-c, python, java ... latex, html).

I usually use Xcode/IntelliJ for refactoring and some more advanced functionality.

Re:Android is a desolate wasteland when it comes to games by cageface on Friday November 02, 2012 @12:43AM (#4731269)
I think this is one of the reasons I always shied away from Vim. I can use my basic Emacs muscle memory in almost any text editing environment. But I'm sure you can brew up a pretty powerful Vim environment too with a little legwork.
Re:Android is a desolate wasteland when it comes to games by chubbard on Friday November 02, 2012 @09:55AM (#4732585)
"Another reason why Android is losing on the developer front is that development environment setup and usage, even for Java, is worse than Apple's. It's usage of Eclipse is like duct tape and glue."

I think this is mere perception vs reality. Android development environment is far superior to XCode. Using IntelliJ for Android Development is a true pleasure working with Android. I have no problems debugging over USB on my Mac ever.

The game industry is incredibly rigid to any change. Once they've found their horse they will not walk away from it, and show little interest in changing how they approach development ever. This isn't the first time we've seen some long article with game studios wringing their hands over any change.