Android SDK Issues Ubuntu 10.04lts

I have looked through the other questions on here, and on other forums. The answers didn’t help my issue. I originally started out with 11.10 but thought there could be a bug or something that was stopping it from working. I have had the SDK and ADT working with Eclipse on both 10.04 and 11.10 so I really am at a loss as to what is going wrong.

The error I get is as follows:

  • Android project referencing “normal” java project in eclipse since sdk tools update 17
  • How to use the Holo.Light theme but have the ActionBar use Holo withouth ICS?
  • How can I use speech recognition without the annoying dialog in android phones
  • take a picture with android ndk - camera api
  • How to create a ProgressBar programmatically?
  • Custom Facebook Login Button - Android
  • Cannot complete the install because one or more required items could not be found.
      Software being installed: Android Traceview 16.0.1.v201112150204-238534 ( 16.0.1.v201112150204-238534)
      Missing requirement: Android Traceview 16.0.1.v201112150204-238534 ( 16.0.1.v201112150204-238534) requires 'org.eclipse.ui 3.6.2' but it could not be found

    When I ran the SDK install a second time (after uninstalling it) I noticed the following error:

    Stopping ADB server failed (code -1).
    Unable to run 'adb': Cannot run program "/home/ben/android-sdk-linux/platform-tools/adb": error=2, No such file or directory.
    Starting ADB server failed (code -1).

    I didn’t see it there the first time and I don’t know what it means or how to fix it!
    Any help would be greatly appreciated, the other ‘answer’ I found was from the same person who asked the question, that reinstalling everything corrected the problem, I have not been so fortunate so I thought I would re-raise the query. Thank you in advance. I am using Indigo as the version, I saw elsewhere that Helios was the lowest that could use the SDK.

    Gone back to 11.10 but the issue remains the same, the laptop is a Samsung R580 64bit.

    Preparing to install archives
    Downloading Android SDK Platform-tools, revision 10
    Installing Android SDK Platform-tools, revision 10
    Stopping ADB server failed (code -1).

    Still appears when installing the SDK Tools using the following command from terminal:


  • Variable 'runnable' must be initialized
  • setBackgroundResource() discards my XML layout attributes
  • Difference between ApplicationInfo and PackageInfo?
  • What happens to a Sqlite database when app is removed
  • Reference one string from another string in strings.xml?
  • 2 Solutions collect form web for “Android SDK Issues Ubuntu 10.04lts”

    You’re problem is entirely different than the one posted by robertly, although I’m sure you’ve found it using google.

    You’re running 64bit ubuntu and forgot to run the following command.

    apt-get install ia32-libs

    The phones aren’t 64bit, so there is no 64bit version of adb. You need the ia32-libs.

    After this is done, open eclipse and go to
    Windows -> Android SDK Manager
    then, uninstall all the tools(under tools sub folder) and reinstall them.

    You should no longer get the adb error.


    Solution #2 – I had to do this because sudo apt-get remove eclipse didn’t remove it completely and it still cause errors. Doing all of this, combined with the step above solved my problem the other night.

    Delete eclipse, android folders
    sudo apt-get remove eclipse
    sudo add-apt-repository “deb lucid partner”
    sudo apt-get update
    sudo apt-get install sun-java6-jre sun-java6-plugin
    sudo update-alternatives –config java
    Reinstall eclipse 3.7.1, android-sdk-linux folder
    Proceed with normal installation.

    Head on over here, it looks to be the same problem, but with a different package.
    Eclipse Indigo – Cannot install Android ADT Plugin

    This is assuming you haven’t seen that yet. If you are still having problems, I can look into it further for you.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.