Blog‎ > ‎IT‎ > ‎

Android Eclipse and OpenSUSE howto

posted May 7, 2011, 8:13 AM by Jaco Vosloo   [ updated May 7, 2011, 1:29 PM ]
Here's a summarized howto for setting up Android development on Suse.

  • Using Yast select View>Patterns then install:
    Base Development; Linux Kernel Development; Java Development.

  • Download
  • Eclipse x64 classic
  • Android SDK

  • On the console run:
    tar -xvf eclipse-SDK-3.5.1-linux-gtk-x86_64.tar.gz
    tar -xvf android-sdk_r04-linux_86.tgz
    su
    mv eclipse /usr/local/bin
    mv android-sdk-linux_86/ /usr/local/bin
    touch /usr/local/bin/eclipse/eclipse.sh
    chmod 755 /usr/local/bin/eclipse/eclipse.sh
    chown -R root:root /usr/local/bin/eclipse

  • /usr/bin/xdg-su -c "kate /usr/local/bin/eclipse/eclipse.sh"
    #!/bin/bash
    export GDK_NATIVE_WINDOWS=1
    unset MALLOC_CHECK_
    /usr/local/bin/eclipse/eclipse

  • Right-click KDE Start Button>Menu Editor>New Item:
    Name: Eclipse
    Location: /usr/local/bin/eclipse/eclipse.sh
    Icon: /usr/local/bin/eclipse/icon.xpm

  • Start Eclipse. 
  • Add the following update sites if missing.
    Open: Window>Preferences>Install/Update>Available Software Sites>Add.
    https://dl-ssl.google.com/android/eclipse/
    http://download.eclipse.org/eclipse/updates/3.6/
    http://download.eclipse.org/releases/helios/

  • Help>Install new software
    Location:https://dl-ssl.google.com/android/eclipse/
    Install everything.

  • Eclipse>Window>Preference>Android
    Set SDK Location: /usr/local/bin/android-sdk-linux_86

  • Download Android SDK features:
    Eclipse>Window>Android SDK and AVD manager
    or
    /usr/local/bin/android-sdk-linux_x86/tools/android update sdk &
Comments