Im a newbie intrested in learning android technology. I'd like to know how to install the android sdk without an internet connection. My machine runs the ubuntu linux OS.
I've moved this thread to Android Development.
Without an internet connection, you will need a copy of the SDK files. The beauty of the tools is that once it is installed (even on Windows), you can just ZIP up the directories and copy them to another machine and double-click to execute Eclipse. This is a trick worth remembering, as I use it everytime I re-install my operating system.
Here's what I did on Ubuntu 32-bit:
- in /opt/jdk1.6.0/ sits the unzipped copy of JDK 1.6 I downloaded from java.sun.com. You can of course use the newer version.
- in /opt/eclipse sits the unzipped copy of Eclipse with JDT that I downloaded from eclipse.org
- in /usr/bin/ I created a symbolic link to java like so: sudo ln -s /opt/jdk1.6.0/bin/java /usr/bin/java
- in /opt/android-sdk-linux_86 is the unzipped copy of Android SDK I downloaded from developer.android.com
- The first time I started Eclipse, I had to install the ADT plugin by following these instructions:
- That's it! I can now zip up the /opt/* folders into a ZIP file, and unzip it on another machine, create the java symbolic link, and double-click Eclipse to start developing.
If you have no access to the internet, try to find a colleague or student at university/technikon who has, and I am sure they will be more than happy to help. If you can't, and you run Ubuntu 32-bit, then e-mail/PM me your postal address and I will send you a CD or flash drive with the software on it, which you can hopefully also share with others in your area (I believe that's Polokwane).
Last edited by TobyK; 02-12-2011 at 16:21. Reason: forgot the ADT install link
Hire me for Android development: http://tobykurien.com/android-development-south-africa/