Install Android SDK without Internet Connection

For those who want to learn, after installing Android can read the tutorial that I used to give lectures on campus. MS-Word format, licensed creative common. So please use for learning, training and so on. May be distributed, modified and unmodified after nine, the origin of his doc, my name is spread also persists and is not for commercial use. For those who have not mastered Java, can download this module for study.


It is not difficult to install the Android SDK, but need some penyesuaikan if you have an internet connection which is limited or non-existent. Some of the things I took from this site, but with an explanation and additional Eclipse + ADT.

The following steps, (for students of the ICU, I've Ilkom prepare files required in Lab Manager Lab Practicum instructors or at Basdat):

Note: steps 1 and 2 can be dilewat if you have already installed Eclipse or Netbeans. The file name can be changed according to each version. I've included the name of the file in order to facilitate students who run the installation from a CD/flash disk.

Prepare and install the Java SDK File Name would be like "jdk-6u21-windows-i586 .exe". 6u21 name can be different according to the version of the JDK.

Prepare and install Eclipse. File names such as "eclipse-java-helios-SR1-win32 .zip". No need to install, just extract it to the desired place. Run to make sure Eclipse is already working.

Prepare and install Android SDK File Name such as "installer_r09-windows .exe"
At this stage we usually have to install the Android platform via the SDK Manager over the internet. If you just installed to a single computer, it is strongly recommended to install via the internet and skip to step 10.

Open repo structure with Android Firefox (if Chrome doesn't look its XML structure). Search with ctrl-f word "<sdk:platform>". Seem that provided several versions of the platform (why not? the answer is the latest Android that is circulating in the market is made up of different versions and may not be compatible between the old with the new version). Then look at the contents of the tag "<sdk:url>". For example the selected version 2.2 for windows, then grab the contents of <sdk:url>android-2.2_r02-windows.zip</sdk:url> and then add after "http://dl-ssl.google.com/android/repository/" so the URL becomes: http://dl-ssl.google.com/android/repository/android-2.2_r02-windows.zip Download this file. Step 5-6 can be repeated for the other platform version.

Extract files from step 5. Copy the directory to the C:\Program Files\Android\android-sdk-windows\platforms (according to the Android SDK installed in step 3) so that it becomes Files\Android\android-sdk-windows\platforms\android-2.2_r02-windows with C:\Program C:\Program Files\Android\android-sdk-windows\platforms\android-2.2_r02-windows\ant subdirectory such as, data, images, skin etc. Directory name "android 2.2-windows-_r02" can be replaced by any other name.

At this stage you need directory "platform-tools" that I do not know from where to download it. The way I use is copying from a computer that already has a complete SDK (updated through the internet). Small size anyway, but I don't know if if I upload here violate the TOS of Google's reported his Case could drift this wordpress account hehe. If these files are not copied, you can run the emulator, but cannot create program with Eclipse.

Copy the directory "platform-tools" to C:\Program Files\Android\android-sdk-windows\ C:\Program Files\Android\android-sdk-windows\platform-tools so that it becomes
Run the SDK-Manager (Start – > All Programs – > TOols – > SDK Android SDK Manager). 2.2 Platform should have automatically appears.

Now we are setting up the Android Virtual Device (AVD). In the left pane, there is an option of the SDK manager "Virtual Device". Click on this. Then look in the bottom right there is a button "New". Click "new", will come out of dialogue. Fill in the name, target, the size of the SD-Card etc. Once this is done, the dialog is closed and will appear AVD. Select the AVD. Then click "Start" and wait. The process is quite long! (when the first try I got close because of suspect hangs, did in fact long). Please feel free to play around with this AVD, especially one that doesn't have any Android phone.

The Android plugin for Eclipse to prepare, including ADT (for those who want to download and go a little bit on the "Download the current ADT Plugin zip file"). The file name will be like "ADT_ 9.0.0 update.zip". Run Eclipse. Select Help-> Install New Software. Click "Add" then "Archive". Select ADT_ 9.0.0. zip name "Android Plugin" and follow the instructions next.

After that, go into the menu Window-> Preferences on the menu contents, Android "SDK Location" where the Android SDK installed. Let's say C:\Program Files\Android\android-sdk-windows. Then select the Apply, OK.

Still in the Eclipse, we try to create the first Android app. Click File-> New-> Other (or ctrln-N) select "Android Project" in Android. The contents of the project name, select the target, fill in the application name, the contents of the package name (e.g. edu.upi.cs), the contents of the Activity with the "main". Then finish.

Run the project with the play button (ctrl-F11). Select Android Application. Wait for the AVD appears and loading (to save time, and avoid the AVD is not closed during the Eclipse are still open). If your program does not appear click on "menu" in the AVD.

ads
Share this article :
Thank You For Reading Install Android SDK without Internet Connection on the Android Applications If accepted, please share it via FB, Twitter and write your comments to this post

Kategori:

0 comments:

Post a Comment