Android: Difference between revisions

Line 49: Line 49:
  tar xvfz android-sdk_r05-linux_86.tgz
  tar xvfz android-sdk_r05-linux_86.tgz


'''Ubuntu note:''' be sure to install the Sun version of Java, gcj or OpenJDK will not work. In Ubuntu 10.04 Sun Java was moved to the Partner repository. Open the Software Center, edit Software Sources and enable the Partner repository.
Install Java runtime and JDK:


  sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts sun-java6-jdk
  sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts sun-java6-jdk


The SDK needs to be setup manually.
'''Ubuntu note:''' be sure to install the Sun or OpenJDK version of Java, gcj will not work. In Ubuntu 10.04 Sun Java was moved to the Partner repository. Open the Software Center, edit Software Sources and enable the Partner repository.
 
Android SDK needs to be setup manually.


* In the SDK directory, run tools/android
* In the SDK directory, run tools/android
Line 59: Line 61:
* Click Save & Apply
* Click Save & Apply
* Installed Packages->Update All...
* Installed Packages->Update All...
* Select at least the Android SDK, API level 6.  Optinally you can install API levels 4 and 7.
* Select at least the Android SDK, API level 6.  Optionally you can install API levels 4 and 7.
* Click Install, Accept, etc.
* Click Install, Accept, etc.


200

edits