installing android offline is hard[obsolete]

家住魔仙堡 提交于 2019-12-05 14:48:20

For SDK and platform tools you can just extract the zip content, Eclipse has nothing to do here.

For Eclipse ADT plugin:

  1. Download the zip file from http://dl.google.com/android/ADT-10.0.1.zip
  2. Help -> Install New Software -> Add
  3. Select Archive and then provide the location of the zip file

These steps are clearly explained in Eclipse ADT documentation.

Kamotho

Only in Windows

  1. Install (if not installed) Oracle JDK jdk-7-windows-i586.exe install Eclipse SDK

  2. Add to the PATH environment variable the path to the JDK (for example c:\Program Files\Java\jdk1.7.0\bin)

  3. Edit the file hosts (c:\WINDOWS\system32\drivers\etc\hosts), add the entry "127.0.0.1 dl-ssl.google.com" It's important! Port 80 must be free at the time of installation Android SDK

  4. Run the Abyss Web Server X1 (abyssws.exe). Works best if you download a fresh copy

  5. Run the Android SDK "SDK Manager.exe" installer

  6. In the "Android SDK Mannager" in the menu "Tools" >> "Options" put the check ("force https:// ... sources to be fetched using http:// ...")

  7. Android SDK Manager will fetch packages in your computer. Choose the packages for API you want to program against, select and install packages

  8. After installation the file hosts (c:\WINDOWS\system32\drivers\etc\hosts) entry "127.0.0.1 dl-ssl.google.com" you entered in step 3

  9. Good Luck!! and remember to update to lastest APIs and revision

You can download Eclipse ADT and install

  1. IN Eclipse: Click Help tab and Install New Software tab

  2. Click add button

  3. In Add Repository Window, add in Name Field Eclipse ADT and Location field click archive to browse in local machine where you downloaded ADT

  4. Press Ok and tick all, Eclipse will install the less

cootje

The answer by dtmilano is not valid for the current version of android SDK. (androdi 4.2.2)

The android website says that after the unzipping of the ADT:

Your Eclipse IDE is now set up to develop Android apps, but you need to add the latest SDK platform tools and an Android platform to your environment. To get these packages for your SDK, continue to Adding Platforms and Packages.

http://developer.android.com/sdk/installing/installing-adt.html

Instead, try http://qdevarena.blogspot.in/2010/05/download-android-sdk-standalone-for.html

as mentioned by Installing android SDK in eclipse offline

Kiddy Amin Abdul Manaf

I'M a Ghanaian..I did it about a week ago on ubuntu it might work on windows

your question indicates that you have eclipse installed..so i will just move on to setting it up to run android apps ...

step 1: go to developer.android.com to download the sdk for windows(i recomend you download the one with the installer). step 2: launch ur favourite browser and open this site.

you will see an xml page using ctr+f (any shortcut for finding a text on your browser) type andoroid 2.2 or any android version you like latest is kitkat 4.4...you will find ur prefered android version in zip file for ur OS i.e windows...just copy the text and append it to this address.

this will download the the platform for you in .zip format....just navigate to where you extracted ur sdk and go to platform folder and then create a new folder with any name and then extract the platfor you downloaded earlier i.e android version into the new folder you created...just launch the sdk.exe and it will auto detect your platform for you...

just go and creae your Android virtual device and start running your apps..

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!