Latest update for Android SDK breaks for Ubuntu Karmic

If you have recently updated your Android SDK to R08 (Gingerbread, 2.3) on Linux and are using Ubuntu Karmic, chances are that you will not be able to run the emulator: It will simply die with the following error:


$ ./emulator
./emulator: /lib32/libc.so.6: version `GLIBC_2.11′ not found (required by ./emulator)



This is caused by an incompatibility with Karmic’s installed GLIBC – the new SDK/Emulator works just fine on Lucid.


The Android team is working on a fix – in the meantime, a workaround is to download the _r07 of the tools from here, and replace emulator in the tools/ folder under the android_sdk installation folder.


A bit hacky, but works.

Advertisements

20 thoughts on “Latest update for Android SDK breaks for Ubuntu Karmic

  1. ….. BUT I should also add that if you have, or can get a copy of the r7 release of the Android SDK, the fix describes works on Ubuntu Karmic as well as Open Suse 11.1. THANKS!

  2. My bad… forgot to add the -linux to the filename's URL.Try it now, it should work: if not, please ping me again and I'll figure it out, as I've just downloaded it from that link.Whilst I *could* post the .zip someplace, I would be extremely reluctant to do so; just don't want to cause more trouble than it would solve.Again apologies for confusion, it was late at night 🙂

  3. Thanks it actually works.I have one more problem when I run any project it always shows a black screen having text "Android" written on it.After that no button of emulator work.Can you please help me?

  4. Hi Pc,can you please try and run the android tool and the emulator from within the console and see whether you get any error?I have never seen such a thing, but if you could please help with a more detailed explanation of what are you trying to do, what steps have you taken already and what error messages (if any) you see, that would allow us to help you out better.Also, I'm assuming you're running Linux? are you launching your project from within Eclipse? or using adb?

  5. Thanks. Actually problem was that emulator take a long time to load I was not waiting for that much time.Now that problem has been solved.Now everything is working fine but I am not able to see the output of System.out.println() statement.Can you help me in that?Thanks!!!

  6. So glad everyone is finding this useful… On a somewhat ironic (but rather *not* funny) note, I had eventually to upgrade myself to Lucid as Karmic kindly decided it didn't quite like my HDD's partitions, and that it would have been fun to wipe them off…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s