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:
- Android SDK Platform 3.0, revision 1 (Honeycomb) | Android SDK Samples for Android API 11, revision 1
- Android SDK Platform 2.3.3._r1 (Gingerbread) | Android SDK Samples for Android API 10, revision 1
- Android SDK Platform 2.2_r1 (Froyo) | Android SDK Samples for Android API 8, revision 1
STEPS:
- Install the JDK using the default setup.
- On you Android developer folder (ex. C:\Developers\Android\) place all the zip files you just downloaded.
- Create a workspace folder on your home folder (ex. C:\Developers\Android\workspace).
- 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
- 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.
- 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.
- 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.
- Unzip the Eclipse file (eclipse-SDK-3.6.1-win32-x86_64.zip).
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
elijah
June 4, 2011 at 4:59 PM
Thanks a bunch
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.
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.
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!
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
virendra
August 28, 2011 at 1:13 AM
thakssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss u soooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
much…………………………………………………………………………………………..
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.
Kuladip
September 3, 2011 at 2:19 PM
Very usefull post
Thank you very much.
rucha
September 7, 2011 at 1:43 PM
Thanks a lot………………!
مجتبی
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?
مجتبی
September 12, 2011 at 5:27 PM
My Problem Resolved by your tools!
Thanks its working!
thanks
thanks
thanks
thanks
Max
September 30, 2011 at 12:52 PM
thanks a lot mate.. that was detailed.
Damith
October 14, 2011 at 12:14 PM
This is great..Thank you
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 .
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..
dayOn
December 5, 2011 at 10:06 PM
Very easy to follow…can you pls show me how to do the same on ubuntu
Himanshu Patel
January 3, 2012 at 2:09 PM
Thanksss a lot dear…
Himanshu Patel
January 3, 2012 at 2:10 PM
Thanx alot
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.
Vikramaditya
January 31, 2012 at 10:30 PM
thank you very very very much for the files
Vikramaditya
February 1, 2012 at 6:01 PM
please help
error in eclipse says ddms files not present what to do
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.
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.
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
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/
santanu
May 13, 2012 at 1:12 PM
Thanks buddy…it was really helpful,,,,
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.
shreenivas
May 31, 2012 at 12:29 PM
will these steps work with jdk. if not plz provide steps to use it with jdk.
Alberto
July 26, 2012 at 5:04 PM
This tutorial is my reference each time i need to install/reinstall eclipse – Thank u!!! :->
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
leamari
November 13, 2012 at 8:59 PM
Fantastic, thank you very much
jawaProject
January 20, 2013 at 8:45 AM
thanks for your stuff
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
registre des creations
April 10, 2013 at 10:55 AM
sympa mais aujourd’hui” il faut “a venir mon site registre des creations
Martin
April 27, 2013 at 6:38 PM
worked for me flawlessly.Thank you very much
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!