RSS

Step by Step Guide on How to Install Android SDK Offline (not completely offline)

28 Apr

This guide is for Android developers who are for some reason unable to install Android SDK by following the instruction provided in the official Android Developer page.  Mine is because of my company’s proxy that block this kind of installation.

It’s for Eclipse IDE on Windows box only.  We’ll collect first or download all the necessary files and then glue them together.  I’ll provide and try to update the links here from time to time.

 Required Files:

  • Java Development Kit (JDK)  Download
  • Eclipse – Eclipse 3.6.1 or Helios is the version I’m using.  Download
  • Android Development Tools (ADT) Plugin – custom plugin so we can build Android applications using Eclipse IDE.  Download
  • Android SDK Starter Package – includes the core SDK Tools.  Download
  • Android SDK Tools, revision 10 – the complete tools component of the SDK.  Download
  • Android SDK Platform-tools, revision 3 – platform tools component of the SDK.  Download
  • Android SDK Platform – our target Android OS.

Android SDK Platform:

STEPS:

  1. Install the JDK using the default setup.
  2. On you Android developer folder (ex. C:\Developers\Android\) place all the zip files you just downloaded.
  3. Create a workspace folder on your home folder (ex. C:\Developers\Android\workspace).
  4. Unzip the Android SDK Starter Package (android-sdk_r10-windows.zip).  NOTE: I suggest to use WinRAR so we can just right-click the zip file and then choose Extract Here
  5. We now have the android-sdk-windows folder on our android developer folder.  Inside this folder, delete the tools folder.  Move the Android SDK Tools (tools_r10-windows.zip) and Android SDK Platform-tools (platform-tools_r03-windows.zip) zip files to this folder.  Unzip them and rename as tools and platform-tools respectively.
  6. Inside android-sdk-windows folder there’s a platforms folder.  Move and unzip the Android SDK Platform file (android-2.3.3_r01-linux.zip) on this folder.
  7. Inside android-sdk-windows folder, create samples folder.  Move and unzip the Android SDK Samples zip file (samples-2.3.3_r01-linux.zip) to this folder.
  8. Unzip the Eclipse file (eclipse-SDK-3.6.1-win32-x86_64.zip).
  9. Inside eclipse folder, run eclipse.exe.  It will ask for the workspace folder to use.  Choose the workspace folder you created.  You can optionally check the Use this as the default and do not ask again checkbox and then click OK.
  10. Still on Eclipse, select Help > Install New Software…. Click Add, in the top-right corner and then click Archive…  Browse and select the downloaded ADT zip file (ADT-10.0.0.zip).  Enter a name for this update site (ex. ADT Plugin) in the Name field and then click OK.
  11. Check the Developer Tools checkbox or click the Select All button and then click Next button and then accept the defaults.  (Sorry, you need to be online as some component need to be downloaded at this part.  I’ll update it once I know how to do the offline mode of it).  After the installation, Eclipse should be restarted.
  12. On Eclipse, select Window > Preferences.  Select Android on the left pane.  On SDK location, browse the select the Android SDK folder (android-sdk-windows) then click Apply.
  13. Still on Eclipse, select Windows > Android SDK and AVD Manager.  Click the Installed Packages on the left pane and you will notice, there’s SDK Platform Android 2.3.3, API 10, revision 1 and Samples for SDK API 10, revision 1.  We are now ready to create virtual devices.
  14. Click Virtual Devices on the left pane.  Click New… button and give the virtual device a name (ex. Gingerbread).  Select Android 2.3.3 API Level 10.  Type 512 or more for SD Card size and then click Create AVD button.  We are now ready to create our famous “Hello World” application.

Referenced by: http://blog.netscribe.us/blog/post/Step-by-Step-Guide-on-How-to-Install-Android-SDK-Offline-%28not-completely-offline%29.aspx

About these ads
 
51 Comments

Posted by on April 28, 2011 in Android, Mobile Development

 

51 responses to “Step by Step Guide on How to Install Android SDK Offline (not completely offline)

  1. elijah

    June 4, 2011 at 4:59 PM

    Thanks a bunch

     
  2. Syed Anwaarullah

    June 26, 2011 at 5:51 PM

    Cool information… But not linked with Microsoft’s C# (as mentioned on the blog’s description).

    Nevertheless, thanks! ;)

     
    • sochinda

      June 29, 2011 at 12:32 PM

      Yes, as you said.
      Because I have more experience with C#, so now I’ve tried to update something in my blog, if I have more experience in Android, I’ll change my title. :-)

       
  3. Mehak.

    August 2, 2011 at 6:45 PM

    ma’am i am a 7th semster b.e student. I have taken an initiative to make my mini project in android technology. Since i am new to this technology i don’t know how to start working on it… but, with the above guidelines i will be able to configure my eclipse.. but, it is my sincere request to please help me if i encounter any errors during my coding..

     
    • sochinda

      August 4, 2011 at 9:55 AM

      Oh! you are welcome, but I don’t know much in android.
      If I know, I’ll help you.

       
  4. rushabh

    August 14, 2011 at 1:08 AM

    hello, thanks for this post!! i have followed all the steps u have mentioned but my eclipse is not able to detected the SDK platform !! in step 12 although in step 13 it shows for me the platform !! but it shows as red broken file!! why is that??
    i am using win 7 64bits!
    please reply!

     
  5. rushabh

    August 14, 2011 at 1:14 AM

    hello thanks for sharing this post! i have followed all the steps u mentioned but my eclipse is not able to detect the SDK platform in step 12 although in step 13 it does shows for me that i have installed the platform and it shows as red broken icon! why is that?? am using win 7 64bits
    please reply

     
  6. virendra

    August 28, 2011 at 1:13 AM

    thakssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss u soooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
    much………………………………………………………………………………………….. :)

     
  7. sid

    August 29, 2011 at 7:39 PM

    If you are installing the SDK on Windows you could use APD found here

    http://siddharthbarman.com/apd/
    http://siddharthbarman.com/apd/tutorial.php

    APD does the offline installation of packages part.

     
    • sochinda

      August 30, 2011 at 12:17 PM

      Thanks for your information, Sid.

       
  8. Kuladip

    September 3, 2011 at 2:19 PM

    Very usefull post
    Thank you very much.

     
  9. rucha

    September 7, 2011 at 1:43 PM

    Thanks a lot………………!

     
  10. مجتبی

    September 12, 2011 at 4:36 PM

    in my project i have error that show the R class not defined!
    something like reference error in c#!
    can help me?

     
  11. مجتبی

    September 12, 2011 at 5:27 PM

    My Problem Resolved by your tools!
    Thanks its working!
    thanks
    thanks
    thanks
    thanks

     
  12. Max

    September 30, 2011 at 12:52 PM

    thanks a lot mate.. that was detailed.

     
  13. Damith

    October 14, 2011 at 12:14 PM

    This is great..Thank you

     
  14. miscoder

    November 5, 2011 at 8:30 PM

    “This guide is for Android developers who are for some reason unable to install Android SDK by following the instruction provided in the official Android Developer page.”

    google prevent iranian useres to access “developers.android.com” . so we cant download anything for developing android os . thank u for helping us .

     
  15. Jatin

    December 5, 2011 at 8:46 AM

    Thanks… :) it’s really help me to start with first Android App.. after i got stuck up with downloading r15 package… Thanks again..

     
  16. dayOn

    December 5, 2011 at 10:06 PM

    Very easy to follow…can you pls show me how to do the same on ubuntu

     
  17. Himanshu Patel

    January 3, 2012 at 2:09 PM

    Thanksss a lot dear…

     
  18. Himanshu Patel

    January 3, 2012 at 2:10 PM

    Thanx alot

     
  19. nosmas

    January 21, 2012 at 1:51 PM

    didn’t work for me. I’m still seeing the following problems, what could be the reason? :(
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring platform ‘android-2.3.3_r01-linux.zip’, not a folder.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring platform ‘android.jar’, not a folder.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring platform ‘build.prop’, not a folder.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring platform ‘data’: build.prop is missing.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring platform ‘framework.aidl’, not a folder.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring platform ‘images’: build.prop is missing.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring platform ‘sdk.properties’, not a folder.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring platform ‘skins’: build.prop is missing.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring platform ‘source.properties’, not a folder.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring platform ‘templates’: build.prop is missing.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘AccelerometerPlay’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘AccessibilityService’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘ApiDemos’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘BackupRestore’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘BasicGLSurfaceView’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘BluetoothChat’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘ContactManager’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘CrossCompatibility’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘CubeLiveWallpaper’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘GestureBuilder’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘Home’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘JetBoy’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘LunarLander’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘MultiResolution’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘NFCDemo’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘NotePad’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘SampleSyncAdapter’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘SearchableDictionary’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘SipDemo’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘SkeletonApp’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘Snake’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘SoftKeyboard’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘Spinner’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘SpinnerTest’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘TicTacToeLib’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘TicTacToeMain’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘VoiceRecognitionService’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘Wiktionary’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Warning: Ignoring sample ‘WiktionarySimple’: does not contain source.properties.
    [2012-01-21 09:29:06 - SDK Manager] Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml
    [2012-01-21 09:29:09 - SDK Manager] Validate XML
    [2012-01-21 09:29:09 - SDK Manager] Fetched Add-ons List successfully
    [2012-01-21 09:29:09 - SDK Manager] Fetching URL: https://dl-ssl.google.com/android/repository/repository-5.xml
    [2012-01-21 09:29:58 - SDK Manager] Validate XML: https://dl-ssl.google.com/android/repository/repository.xml
    [2012-01-21 09:29:58 - SDK Manager] Parse XML: https://dl-ssl.google.com/android/repository/repository.xml
    [2012-01-21 09:29:58 - SDK Manager] Found Android SDK Platform-tools, revision 9
    [2012-01-21 09:29:58 - SDK Manager] Found Android SDK Tools, revision 15
    [2012-01-21 09:29:58 - SDK Manager] Done loading packages.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring platform ‘android-2.3.3_r01-linux.zip’, not a folder.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring platform ‘android.jar’, not a folder.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring platform ‘build.prop’, not a folder.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring platform ‘data’: build.prop is missing.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring platform ‘framework.aidl’, not a folder.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring platform ‘images’: build.prop is missing.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring platform ‘sdk.properties’, not a folder.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring platform ‘skins’: build.prop is missing.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring platform ‘source.properties’, not a folder.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring platform ‘templates’: build.prop is missing.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘AccelerometerPlay’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘AccessibilityService’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘ApiDemos’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘BackupRestore’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘BasicGLSurfaceView’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘BluetoothChat’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘ContactManager’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘CrossCompatibility’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘CubeLiveWallpaper’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘GestureBuilder’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘Home’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘JetBoy’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘LunarLander’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘MultiResolution’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘NFCDemo’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘NotePad’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘SampleSyncAdapter’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘SearchableDictionary’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘SipDemo’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘SkeletonApp’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘Snake’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘SoftKeyboard’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘Spinner’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘SpinnerTest’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘TicTacToeLib’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘TicTacToeMain’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘VoiceRecognitionService’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘Wiktionary’: does not contain source.properties.
    [2012-01-21 09:30:10 - SDK Manager] Warning: Ignoring sample ‘WiktionarySimple’: does not contain source.properties.
    [2012-01-21 09:30:16 - prj1] ERROR: Unknown command ‘crunch’
    [2012-01-21 09:30:16 - prj1] Android Asset Packaging Tool
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] Usage:
    [2012-01-21 09:30:16 - prj1] aapt l[ist] [-v] [-a] file.{zip,jar,apk}
    [2012-01-21 09:30:16 - prj1] List contents of Zip-compatible archive.
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]]
    [2012-01-21 09:30:16 - prj1] badging Print the label and icon for the app declared in APK.
    [2012-01-21 09:30:16 - prj1] permissions Print the permissions from the APK.
    [2012-01-21 09:30:16 - prj1] resources Print the resource table from the APK.
    [2012-01-21 09:30:16 - prj1] configurations Print the configurations in the APK.
    [2012-01-21 09:30:16 - prj1] xmltree Print the compiled xmls in the given assets.
    [2012-01-21 09:30:16 - prj1] xmlstrings Print the strings of the given compiled xml assets.
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] aapt p[ackage] [-d][-f][-m][-u][-v][-x][-z][-M AndroidManifest.xml] \
    [2012-01-21 09:30:16 - prj1] [-0 extension [-0 extension ...]] [-g tolerance] [-j jarfile] \
    [2012-01-21 09:30:16 - prj1] [--debug-mode] [--min-sdk-version VAL] [--target-sdk-version VAL] \
    [2012-01-21 09:30:16 - prj1] [--app-version VAL] [--app-version-name TEXT] [--custom-package VAL] \
    [2012-01-21 09:30:16 - prj1] [--rename-manifest-package PACKAGE] \
    [2012-01-21 09:30:16 - prj1] [--rename-instrumentation-target-package PACKAGE] \
    [2012-01-21 09:30:16 - prj1] [--utf16] [--auto-add-overlay] \
    [2012-01-21 09:30:16 - prj1] [--max-res-version VAL] \
    [2012-01-21 09:30:16 - prj1] [-I base-package [-I base-package ...]] \
    [2012-01-21 09:30:16 - prj1] [-A asset-source-dir] [-G class-list-file] [-P public-definitions-file] \
    [2012-01-21 09:30:16 - prj1] [-S resource-sources [-S resource-sources ...]] [-F apk-file] [-J R-file-dir] \
    [2012-01-21 09:30:16 - prj1] [--product product1,product2,...] \
    [2012-01-21 09:30:16 - prj1] [raw-files-dir [raw-files-dir] …]
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] Package the android resources. It will read assets and resources that are
    [2012-01-21 09:30:16 - prj1] supplied with the -M -A -S or raw-files-dir arguments. The -J -P -F and -R
    [2012-01-21 09:30:16 - prj1] options control which files are output.
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] aapt r[emove] [-v] file.{zip,jar,apk} file1 [file2 ...]
    [2012-01-21 09:30:16 - prj1] Delete specified files from Zip-compatible archive.
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...]
    [2012-01-21 09:30:16 - prj1] Add specified files to Zip-compatible archive.
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] aapt v[ersion]
    [2012-01-21 09:30:16 - prj1] Print program version.
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] Modifiers:
    [2012-01-21 09:30:16 - prj1] -a print Android-specific data (resources, manifest) when listing
    [2012-01-21 09:30:16 - prj1] -c specify which configurations to include. The default is all
    [2012-01-21 09:30:16 - prj1] configurations. The value of the parameter should be a comma
    [2012-01-21 09:30:16 - prj1] separated list of configuration values. Locales should be specified
    [2012-01-21 09:30:16 - prj1] as either a language or language-region pair. Some examples:
    [2012-01-21 09:30:16 - prj1] en
    [2012-01-21 09:30:16 - prj1] port,en
    [2012-01-21 09:30:16 - prj1] port,land,en_US
    [2012-01-21 09:30:16 - prj1] If you put the special locale, zz_ZZ on the list, it will perform
    [2012-01-21 09:30:16 - prj1] pseudolocalization on the default locale, modifying all of the
    [2012-01-21 09:30:16 - prj1] strings so you can look for strings that missed the
    [2012-01-21 09:30:16 - prj1] internationalization process. For example:
    [2012-01-21 09:30:16 - prj1] port,land,zz_ZZ
    [2012-01-21 09:30:16 - prj1] -d one or more device assets to include, separated by commas
    [2012-01-21 09:30:16 - prj1] -f force overwrite of existing files
    [2012-01-21 09:30:16 - prj1] -g specify a pixel tolerance to force images to grayscale, default 0
    [2012-01-21 09:30:16 - prj1] -j specify a jar or zip file containing classes to include
    [2012-01-21 09:30:16 - prj1] -k junk path of file(s) added
    [2012-01-21 09:30:16 - prj1] -m make package directories under location specified by -J
    [2012-01-21 09:30:16 - prj1] -u update existing packages (add new, replace older, remove deleted files)
    [2012-01-21 09:30:16 - prj1] -v verbose output
    [2012-01-21 09:30:16 - prj1] -x create extending (non-application) resource IDs
    [2012-01-21 09:30:16 - prj1] -z require localization of resource attributes marked with
    [2012-01-21 09:30:16 - prj1] localization=”suggested”
    [2012-01-21 09:30:16 - prj1] -A additional directory in which to find raw asset files
    [2012-01-21 09:30:16 - prj1] -G A file to output proguard options into.
    [2012-01-21 09:30:16 - prj1] -F specify the apk file to output
    [2012-01-21 09:30:16 - prj1] -I add an existing package to base include set
    [2012-01-21 09:30:16 - prj1] -J specify where to output R.java resource constant definitions
    [2012-01-21 09:30:16 - prj1] -M specify full path to AndroidManifest.xml to include in zip
    [2012-01-21 09:30:16 - prj1] -P specify where to output public resource definitions
    [2012-01-21 09:30:16 - prj1] -S directory in which to find resources. Multiple directories will be scanned
    [2012-01-21 09:30:16 - prj1] and the first match found (left to right) will take precedence.
    [2012-01-21 09:30:16 - prj1] -0 specifies an additional extension for which such files will not
    [2012-01-21 09:30:16 - prj1] be stored compressed in the .apk. An empty string means to not
    [2012-01-21 09:30:16 - prj1] compress any files at all.
    [2012-01-21 09:30:16 - prj1] –debug-mode
    [2012-01-21 09:30:16 - prj1] inserts android:debuggable=”true” in to the application node of the
    [2012-01-21 09:30:16 - prj1] manifest, making the application debuggable even on production devices.
    [2012-01-21 09:30:16 - prj1] –min-sdk-version
    [2012-01-21 09:30:16 - prj1] inserts android:minSdkVersion in to manifest. If the version is 7 or
    [2012-01-21 09:30:16 - prj1] higher, the default encoding for resources will be in UTF-8.
    [2012-01-21 09:30:16 - prj1] –target-sdk-version
    [2012-01-21 09:30:16 - prj1] inserts android:targetSdkVersion in to manifest.
    [2012-01-21 09:30:16 - prj1] –max-res-version
    [2012-01-21 09:30:16 - prj1] ignores versioned resource directories above the given value.
    [2012-01-21 09:30:16 - prj1] –values
    [2012-01-21 09:30:16 - prj1] when used with “dump resources” also includes resource values.
    [2012-01-21 09:30:16 - prj1] –version-code
    [2012-01-21 09:30:16 - prj1] inserts android:versionCode in to manifest.
    [2012-01-21 09:30:16 - prj1] –version-name
    [2012-01-21 09:30:16 - prj1] inserts android:versionName in to manifest.
    [2012-01-21 09:30:16 - prj1] –custom-package
    [2012-01-21 09:30:16 - prj1] generates R.java into a different package.
    [2012-01-21 09:30:16 - prj1] –auto-add-overlay
    [2012-01-21 09:30:16 - prj1] Automatically add resources that are only in overlays.
    [2012-01-21 09:30:16 - prj1] –rename-manifest-package
    [2012-01-21 09:30:16 - prj1] Rewrite the manifest so that its package name is the package name
    [2012-01-21 09:30:16 - prj1] given here. Relative class names (for example .Foo) will be
    [2012-01-21 09:30:16 - prj1] changed to absolute names with the old package so that the code
    [2012-01-21 09:30:16 - prj1] does not need to change.
    [2012-01-21 09:30:16 - prj1] –rename-instrumentation-target-package
    [2012-01-21 09:30:16 - prj1] Rewrite the manifest so that all of its instrumentation
    [2012-01-21 09:30:16 - prj1] components target the given package. Useful when used in
    [2012-01-21 09:30:16 - prj1] conjunction with –rename-manifest-package to fix tests against
    [2012-01-21 09:30:16 - prj1] a package that has been renamed.
    [2012-01-21 09:30:16 - prj1] –product
    [2012-01-21 09:30:16 - prj1] Specifies which variant to choose for strings that have
    [2012-01-21 09:30:16 - prj1] product variants
    [2012-01-21 09:30:16 - prj1] –utf16
    [2012-01-21 09:30:16 - prj1] changes default encoding for resources to UTF-16. Only useful when API
    [2012-01-21 09:30:16 - prj1] level is set to 7 or higher where the default encoding is UTF-8.
    [2012-01-21 09:30:16 - prj1] ERROR: Unknown option ‘–no-crunch’
    [2012-01-21 09:30:16 - prj1] Android Asset Packaging Tool
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] Usage:
    [2012-01-21 09:30:16 - prj1] aapt l[ist] [-v] [-a] file.{zip,jar,apk}
    [2012-01-21 09:30:16 - prj1] List contents of Zip-compatible archive.
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]]
    [2012-01-21 09:30:16 - prj1] badging Print the label and icon for the app declared in APK.
    [2012-01-21 09:30:16 - prj1] permissions Print the permissions from the APK.
    [2012-01-21 09:30:16 - prj1] resources Print the resource table from the APK.
    [2012-01-21 09:30:16 - prj1] configurations Print the configurations in the APK.
    [2012-01-21 09:30:16 - prj1] xmltree Print the compiled xmls in the given assets.
    [2012-01-21 09:30:16 - prj1] xmlstrings Print the strings of the given compiled xml assets.
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] aapt p[ackage] [-d][-f][-m][-u][-v][-x][-z][-M AndroidManifest.xml] \
    [2012-01-21 09:30:16 - prj1] [-0 extension [-0 extension ...]] [-g tolerance] [-j jarfile] \
    [2012-01-21 09:30:16 - prj1] [--debug-mode] [--min-sdk-version VAL] [--target-sdk-version VAL] \
    [2012-01-21 09:30:16 - prj1] [--app-version VAL] [--app-version-name TEXT] [--custom-package VAL] \
    [2012-01-21 09:30:16 - prj1] [--rename-manifest-package PACKAGE] \
    [2012-01-21 09:30:16 - prj1] [--rename-instrumentation-target-package PACKAGE] \
    [2012-01-21 09:30:16 - prj1] [--utf16] [--auto-add-overlay] \
    [2012-01-21 09:30:16 - prj1] [--max-res-version VAL] \
    [2012-01-21 09:30:16 - prj1] [-I base-package [-I base-package ...]] \
    [2012-01-21 09:30:16 - prj1] [-A asset-source-dir] [-G class-list-file] [-P public-definitions-file] \
    [2012-01-21 09:30:16 - prj1] [-S resource-sources [-S resource-sources ...]] [-F apk-file] [-J R-file-dir] \
    [2012-01-21 09:30:16 - prj1] [--product product1,product2,...] \
    [2012-01-21 09:30:16 - prj1] [raw-files-dir [raw-files-dir] …]
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] Package the android resources. It will read assets and resources that are
    [2012-01-21 09:30:16 - prj1] supplied with the -M -A -S or raw-files-dir arguments. The -J -P -F and -R
    [2012-01-21 09:30:16 - prj1] options control which files are output.
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] aapt r[emove] [-v] file.{zip,jar,apk} file1 [file2 ...]
    [2012-01-21 09:30:16 - prj1] Delete specified files from Zip-compatible archive.
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...]
    [2012-01-21 09:30:16 - prj1] Add specified files to Zip-compatible archive.
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] aapt v[ersion]
    [2012-01-21 09:30:16 - prj1] Print program version.
    [2012-01-21 09:30:16 - prj1]
    [2012-01-21 09:30:16 - prj1] Modifiers:
    [2012-01-21 09:30:16 - prj1] -a print Android-specific data (resources, manifest) when listing
    [2012-01-21 09:30:16 - prj1] -c specify which configurations to include. The default is all
    [2012-01-21 09:30:16 - prj1] configurations. The value of the parameter should be a comma
    [2012-01-21 09:30:16 - prj1] separated list of configuration values. Locales should be specified
    [2012-01-21 09:30:16 - prj1] as either a language or language-region pair. Some examples:
    [2012-01-21 09:30:16 - prj1] en
    [2012-01-21 09:30:16 - prj1] port,en
    [2012-01-21 09:30:16 - prj1] port,land,en_US
    [2012-01-21 09:30:16 - prj1] If you put the special locale, zz_ZZ on the list, it will perform
    [2012-01-21 09:30:16 - prj1] pseudolocalization on the default locale, modifying all of the
    [2012-01-21 09:30:16 - prj1] strings so you can look for strings that missed the
    [2012-01-21 09:30:16 - prj1] internationalization process. For example:
    [2012-01-21 09:30:16 - prj1] port,land,zz_ZZ
    [2012-01-21 09:30:16 - prj1] -d one or more device assets to include, separated by commas
    [2012-01-21 09:30:16 - prj1] -f force overwrite of existing files
    [2012-01-21 09:30:16 - prj1] -g specify a pixel tolerance to force images to grayscale, default 0
    [2012-01-21 09:30:16 - prj1] -j specify a jar or zip file containing classes to include
    [2012-01-21 09:30:16 - prj1] -k junk path of file(s) added
    [2012-01-21 09:30:16 - prj1] -m make package directories under location specified by -J
    [2012-01-21 09:30:16 - prj1] -u update existing packages (add new, replace older, remove deleted files)
    [2012-01-21 09:30:16 - prj1] -v verbose output
    [2012-01-21 09:30:16 - prj1] -x create extending (non-application) resource IDs
    [2012-01-21 09:30:16 - prj1] -z require localization of resource attributes marked with
    [2012-01-21 09:30:16 - prj1] localization=”suggested”
    [2012-01-21 09:30:16 - prj1] -A additional directory in which to find raw asset files
    [2012-01-21 09:30:16 - prj1] -G A file to output proguard options into.
    [2012-01-21 09:30:16 - prj1] -F specify the apk file to output
    [2012-01-21 09:30:16 - prj1] -I add an existing package to base include set
    [2012-01-21 09:30:16 - prj1] -J specify where to output R.java resource constant definitions
    [2012-01-21 09:30:16 - prj1] -M specify full path to AndroidManifest.xml to include in zip
    [2012-01-21 09:30:16 - prj1] -P specify where to output public resource definitions
    [2012-01-21 09:30:16 - prj1] -S directory in which to find resources. Multiple directories will be scanned
    [2012-01-21 09:30:16 - prj1] and the first match found (left to right) will take precedence.
    [2012-01-21 09:30:16 - prj1] -0 specifies an additional extension for which such files will not
    [2012-01-21 09:30:16 - prj1] be stored compressed in the .apk. An empty string means to not
    [2012-01-21 09:30:16 - prj1] compress any files at all.
    [2012-01-21 09:30:16 - prj1] –debug-mode
    [2012-01-21 09:30:16 - prj1] inserts android:debuggable=”true” in to the application node of the
    [2012-01-21 09:30:16 - prj1] manifest, making the application debuggable even on production devices.
    [2012-01-21 09:30:16 - prj1] –min-sdk-version
    [2012-01-21 09:30:16 - prj1] inserts android:minSdkVersion in to manifest. If the version is 7 or
    [2012-01-21 09:30:16 - prj1] higher, the default encoding for resources will be in UTF-8.
    [2012-01-21 09:30:16 - prj1] –target-sdk-version
    [2012-01-21 09:30:16 - prj1] inserts android:targetSdkVersion in to manifest.
    [2012-01-21 09:30:16 - prj1] –max-res-version
    [2012-01-21 09:30:16 - prj1] ignores versioned resource directories above the given value.
    [2012-01-21 09:30:16 - prj1] –values
    [2012-01-21 09:30:16 - prj1] when used with “dump resources” also includes resource values.
    [2012-01-21 09:30:16 - prj1] –version-code
    [2012-01-21 09:30:16 - prj1] inserts android:versionCode in to manifest.
    [2012-01-21 09:30:16 - prj1] –version-name
    [2012-01-21 09:30:16 - prj1] inserts android:versionName in to manifest.
    [2012-01-21 09:30:16 - prj1] –custom-package
    [2012-01-21 09:30:16 - prj1] generates R.java into a different package.
    [2012-01-21 09:30:16 - prj1] –auto-add-overlay
    [2012-01-21 09:30:16 - prj1] Automatically add resources that are only in overlays.
    [2012-01-21 09:30:16 - prj1] –rename-manifest-package
    [2012-01-21 09:30:16 - prj1] Rewrite the manifest so that its package name is the package name
    [2012-01-21 09:30:16 - prj1] given here. Relative class names (for example .Foo) will be
    [2012-01-21 09:30:16 - prj1] changed to absolute names with the old package so that the code
    [2012-01-21 09:30:16 - prj1] does not need to change.
    [2012-01-21 09:30:16 - prj1] –rename-instrumentation-target-package
    [2012-01-21 09:30:16 - prj1] Rewrite the manifest so that all of its instrumentation
    [2012-01-21 09:30:16 - prj1] components target the given package. Useful when used in
    [2012-01-21 09:30:16 - prj1] conjunction with –rename-manifest-package to fix tests against
    [2012-01-21 09:30:16 - prj1] a package that has been renamed.
    [2012-01-21 09:30:16 - prj1] –product
    [2012-01-21 09:30:16 - prj1] Specifies which variant to choose for strings that have
    [2012-01-21 09:30:16 - prj1] product variants
    [2012-01-21 09:30:16 - prj1] –utf16
    [2012-01-21 09:30:16 - prj1] changes default encoding for resources to UTF-16. Only useful when API
    [2012-01-21 09:30:16 - prj1] level is set to 7 or higher where the default encoding is UTF-8.

     
  20. Vikramaditya

    January 31, 2012 at 10:30 PM

    thank you very very very much for the files :)

     
  21. Vikramaditya

    February 1, 2012 at 6:01 PM

    please help

    error in eclipse says ddms files not present what to do

     
  22. Jerald Allen Abille

    February 6, 2012 at 12:47 AM

    hi. nice tutorial. but any update on how to do step 11 offline?

    and any tutorial too for installing ICS sdk offline. just downloaded the sdk zip and did same process like for other sdk but is getting error. thanks.

     
  23. Samx.rock

    February 19, 2012 at 9:18 PM

    What about the newest platform ? any links?

     
    • sochinda

      February 20, 2012 at 8:09 PM

      Sorry for this post, I have copy and past form other blog.

       
  24. Dark69Slayer

    February 29, 2012 at 5:49 PM

    Just download the Android SDK . And run it and download all the files using the SDK and upload everything to mediafire and change the links of the respective folders in this post

     
  25. Jaro

    April 2, 2012 at 8:15 PM

    Thanks, finally I got answer to my question “How to install Android stuff offline?” :) . And here are the links to new downloads I found:
    http://www.hariadi.org/android/manual-download-of-android-sdk-components/
    http://www.hariadi.org/android/manually-download-of-android-sdk-tools-and-sdk-platform-tools/

     
  26. santanu

    May 13, 2012 at 1:12 PM

    Thanks buddy…it was really helpful,,,, :)

     
  27. Jan Girke

    May 29, 2012 at 12:42 AM

    You don’t need to go online with eclipse if you downloaded the right eclipse package.
    I guess it is the “Java Developer” one or just take the biggest and it should work.

     
  28. shreenivas

    May 31, 2012 at 12:29 PM

    will these steps work with jdk. if not plz provide steps to use it with jdk.

     
  29. Alberto

    July 26, 2012 at 5:04 PM

    This tutorial is my reference each time i need to install/reinstall eclipse – Thank u!!! :->

     
  30. machinery ireland

    October 19, 2012 at 6:51 PM

    Hello there! Would you mind if I share your blog with my twitter group?
    There’s a lot of people that I think would really enjoy your content. Please let me know. Many thanks

     
    • sochinda

      November 14, 2012 at 9:48 AM

      It’s OK, you are welcome

       
  31. leamari

    November 13, 2012 at 8:59 PM

    Fantastic, thank you very much

     
  32. jawaProject

    January 20, 2013 at 8:45 AM

    thanks for your stuff

     
  33. Softy Sharma

    March 16, 2013 at 2:42 PM

    thanks a lot………….
    i start sdk manager and then go to internet but it not working …………
    plz suggest anyone to internet connection

     
  34. registre des creations

    April 10, 2013 at 10:55 AM

    sympa mais aujourd’hui” il faut “a venir mon site registre des creations

     
  35. Martin

    April 27, 2013 at 6:38 PM

    worked for me flawlessly.Thank you very much

     
  36. Joe Seff

    May 5, 2013 at 12:12 PM

    Thank you very very much! Installing online is a very painful thing when your ISP is unreliable. This is a brilliant site. Bless you!

     
  37. download whatsapp on

    June 28, 2013 at 2:56 AM

    Hey! Quick question that’s totally off topic. Do you know how to make your site mobile friendly? My web site looks weird when browsing from my iphone4. I’m trying to find a template or plugin that might be able to fix this problem.
    If you have any suggestions, please share. Appreciate it!

     
  38. Martin De M Mundia

    August 16, 2013 at 9:24 PM

    great tutorial seen ever direct straight to the point..only challenge is the speed of the emulator av been searching through my entire life how to speed it up before upgrading my computer

     
  39. Andrew

    December 26, 2013 at 9:30 AM

    You can find a pdf version for most sections that are built monthly with details of what has changed in the previous month. The website has been split into sections for each book.

    http://www.docand.com/

    Design ………………….. http://docand.com/android-design-methods-book/
    Training…………………. http://docand.com/training-in-android-book/
    Android Components………… http://docand.com/a-guide-to-android-api-components-book/
    Google Services…………… http://docand.com/android-google-available-services-book/
    Distribution Methods……….. http://docand.com/android-distribution-methods-book/
    Tools of the Android Developer…………… http://docand.com/tools-of-the-android-developer-book/
    The sections are all available as a preview and as a download for free.

     
  40. tumblr.com

    March 19, 2014 at 3:07 AM

    To repeat the wߋrds oof Jack Kerouac: “It isn’t what you write, it is how you write it.” And you do it extremely well!I Һonestly can’t
    decide іf I should sharе yur blog with my buddies or
    keep it as my very own private secret…

     
  41. free kindle book

    March 19, 2014 at 9:21 AM

    There is a sound that most humans will experience many times in life,
    that, despite being perfectly ordinary and extremely frequent,
    never fails to awaken a soul-crushing sadness deep within our minds.
    This is the precise feeling that stirred me each morning, as my alarm
    clock stirred me from sleep. I awoke as if my alarm
    clock had unexpectedly poked me with a cattle prod.
    My eyes shot open, while my body catapulted itself out of bed.
    I stood for a moment, surveying my immaculately clean, and meticulously modern bedroom,
    and allowed my mind a chance to catch up with my movements.

    My girlfriend managed to stay sound asleep through this fiasco, and looked peaceful as ever.
    I glanced at the clock, and like many other mornings before this
    one, realized my scramble to wake up and get going was fruitless.
    I was up early, and there was no need to rush. The real urgency was coming from my own personal rush to break away from my horribly mundane existence.

    My name is Justin Rylands, and my life is not bad by any means.

    I am 27 years old with a Bachelor’s degree in Business Administration from
    Princeton. My father, Drew Rylands, was responsible
    for starting one of the most successful dental technology distribution warehouses in the United States, and
    this provided me with a guaranteed, top dollar sales
    position since the day I exited my mother’s womb. I have a sought-after career, a beautiful girlfriend,
    an apartment that looks like a Home Goods catalog came to life, and a picture perfect family.
    I was not rebellious growing up, and I equate this to my wealthy upbringing,
    and well-structured, loving parents. I was always handsome, and intelligent.
    I was dedicated to school, and sports, and rarely ever distracted
    by girls. I was disinterested in parties, and the counterproductive
    activities my peers got off on. I was a born success story.
    I was everything any parent could ask for, and they were well aware of this.
    I was nothing at all like my insurgent older brother who’d flown the coop when I was 13.
    My parents had convinced me that, “Andy went away for college, because that’s what young men do when they turn 18.”
    But I knew this was a lie, even as a child.
    My brother was an absolute shit head, and I was
    a firsthand witness to his teen years full of underage drinking and cutting class.
    I can recall numerous late nights that ended in my mother sobbing
    on the couch while my father was on the phone explaining to the cops what
    crime his hooligan son got himself caught up in now. It was not
    until I was 17, and overheard a phone call between my brother and father, that I finally discovered Andy had
    run off with a group of glass blowing hippies who
    crafted marijuana pipes and travelled the country with the small amount
    of money they made selling these “art pieces”. I was never
    entirely able to grasp why this lifestyle brought my brother so much joy, but after 4 years of this perpetuating
    9 to 5 grind, I started to wonder if Andy had the right idea after all.

    “Morning Boss,” I said, half-joking to my father upon stepping into his office.

    “Ah, my son! Bright and early as always. Just like your
    father.” He clapped his hand on my back and gave me that classic, fatherly grin.
    “I’ve got a project for you.” I cringed. I figured
    this meant I’d be planning another painfully boring charity event for inner-city children with no dental insurance.

    To read more, register on my site to receive the free kindle or
    whatever other format book!

     
  42. All-Hackz

    April 18, 2014 at 6:09 PM

    Howdy just wanted to give you a quick headss up and let you know a few of the
    images aren’t loading properly. I’m not sure why but I think its a linling issue.
    I’ve tried it inn two different internet browsers and both show the szme outcome.

     
  43. Halra

    April 24, 2014 at 7:13 PM

    hello friend,
    thank you, i will download all file above and try to install on my PC,
    awesome tutorials

     
  44. madden nfl 25 mobile hack no survey

    June 2, 2014 at 3:45 AM

    I like the helpful info you provide for your articles.
    I’ll bookmark your blog and check once more ere frequently.

    I’m fairly certain I will learn many nnew
    stuff proper here! Good luck for the next!

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: