Results 1 to 6 of 6

Thread: Looking for a how-to for Android SDK from scratch

  1. #1
    Join Date
    Oct 2009
    Location
    A place with no mountains
    Posts
    280

    Default Looking for a how-to for Android SDK from scratch

    I'm running openSUSE 11.2 KDE 64 bit. I'd like to install everything required for the Android SDK. I don't have any of it installed atm.

    Can anyone recommend an existing how-to? All I find are Ubuntu-specific tutorials. I'll need to install java, eclipse, and the Android SDK. I have not used/installed any of this before, so I'm looking for a detailed, step-by-step guide for openSUSE 11.2 KDE. Thanks for any suggestions.

  2. #2
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Looking for a how-to for Android SDK from scratch

    To install Java (JDK) and eclipse:
    Code:
    su
    zypper install java-1_6_0-sun
    update-alternatives --config javac
    zypper install eclipse-jdt
    Now, download and install android.

    Strictly speaking, eclipse is not needed unless you want to use that as the IDE.
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  3. #3
    Join Date
    Oct 2009
    Location
    A place with no mountains
    Posts
    280

    Default Re: Looking for a how-to for Android SDK from scratch

    Quote Originally Posted by syampillai View Post
    To install Java (JDK) and eclipse:
    Code:
    su
    zypper install java-1_6_0-sun
    update-alternatives --config javac
    zypper install eclipse-jdt
    Now, download and install android.

    Strictly speaking, eclipse is not needed unless you want to use that as the IDE.
    Thank you. I believe I will also need 32-bit libs. I expect the command would be:
    Code:
    zypper install ia32-libs
    The major problem I ran into when trying this on Ubuntu was getting the required version of eclipse (3.5+).
    How close is this to being what I need?
    Code:
    zypper install eclipse-jdt \>= 3.5
    (The backslash in the command has me a bit confused. Is it an escape char for the ">"?)

    I want to do my homework on installing this before I actually try it.

  4. #4
    Join Date
    Oct 2009
    Location
    A place with no mountains
    Posts
    280

    Default Re: Looking for a how-to for Android SDK from scratch

    Also, is is necessary to uninstall IcedTea and OpenJDK?

    Even though I have not installed any java development tools manually, is it possible that some existing standard packages might conflict? (For example, on Ubuntu, I think IcedTea may be installed by default.)

    Maybe a couple queries using Zypper would be wise before starting. Can you make a recommendation on this? For example, maybe this one:

    Code:
    zypper se java
    What else would be recommended?

    Once I actually complete the install, I'll post back with my exact steps.

  5. #5
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Looking for a how-to for Android SDK from scratch

    You can keep multiple vendor versions of JDK and switch between them too. The command
    Code:
    update-alternatives --config javac
    is for that only.
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  6. #6

    Thumbs up Re: Looking for a how-to for Android SDK from scratch

    Hi

    I've just completed an installation of Android SDK / Eclipse 3.5.1 / OpenSUSE 11.2 64 bit. All seems to be working well. Instructions on how I did it can be found here:

    Nick's Morning Beat Blog: My perfect Android development environment #2

    Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •