Android SDK failed to install

I saw a good youtube tutorial for installing the Android SDK on windows, I tried it on my 7th window. I tried many times, but still I failed. I have java JDK installed and the latest version of Eclipse, but the only problem is that the Android SDK was not able to get some packages, and I cannot use them. The following error has occurred:

image 1

How to deal with this problem? I want to study and develop Android applications.

+4
source share
11 answers

Try removing everything related to the Android and Java SDKs as well as Eclipse. Try setting the following:

  • Download and install JDK (java)
  • Download and install Eclipse
  • Download and install Android SDK

While loading the Android SDK, try to do something if it doesn’t get the files, go to Tools β†’ Options β†’ and there Force https ok! You can also download the ADT plugin and add it via Eclipse. I think everything will be fine. Go to this link , which has all the latest SDKs and installations.

If I told you everything that follows the same, and you get it.

If you are unable to install your SDK, I will say that you are trying to restore your computer by installing a new copy of Window 7, and this time try to select the English language.

+1
source

Instead of the video tutorial, try this official tutorial:

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

It mentions alternative links where you can update sdk.

Edit:

If you are still encountering a problem, you can try this hack instead. To do this, you will need another computer. What can I tell you that there should be some problem on your computer, so try downloading the necessary packages on any other PC. (Although you can still work with the basic package if you just want to study and not focus on a specific version of the Android OS).

After downloading, just go to the Android SDK folder on the second PC, copy it to the pen and simply paste the folder into the existing installation.

I always do this hack when I need to install the SDK on my PC without an internet connection and voila !! It works every time. Let me know if this worked for you or not.

+1
source

First of all:

uninstal android SDK , then check the box to delete any trace folder related to Android and manually delete it from the Program Files folder and from the Documents and Settings folder,

then uninstall java JDK and eclipse ,

(which means that you clean your computer of any thing related to Android development development) ,

now start again as shown below:

1- Download the latest java from this link: http://jdk7.java.net/download.html then install it.

2- download the latest version of the Android SDK from this link: http://developer.android.com/sdk/index.html then install it, after installation is complete do not run it .

3- download the latest eclipse from this link: http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/junor copy the zip file to the C folder and extract it to the C folder itself,

RUL ECLIPSE THEN:

1-Download the ADT plugin:

a) Launch Eclipse, then choose Help> Install New Software.

b) Click "Add" in the upper right corner:

In the Add Repository dialog box that appears, enter this

for plugin Name: ADT,

and the following URL for the location: http://dl-ssl.google.com/android/eclipse/

Then click OK.

d) In the software dialog box, check the box next to the developer tools and clicks.

e) in the next window you will see a list of tools to download,

Click on.

f) Read and accept the license agreements, click Finish.

H) When installation is complete, restart Eclipse.

2- Select Window> Preferences ... to open the Preferences panel

a) Select Android from the left pane.

b) The location of the SDK in the main panel, click the browse button ... and find the downloaded SDK directory, then click "Apply", then "OK".

3-open in eclipse: window, then Android SDK manger and download any platform you want to start development from.

several times, possibly due to the loaded android site server, it gave an error, and then later it will select the entire package you downloaded that you previously determined and download it successfully.

hope this help.

+1
source

I had a similar problem when installing the SDK on my PC.

Run the SDK manager from all programs and try installing APIS. Suppose you are trying to install them from the Eclipse SDK manager button. Running the SDK manager from your Eclipse causes this problem. Both are the same. But it worked for me.

+1
source

Set up your Android environment in a simple way.

Required Files:

  • Java Development Kit (JDK) Download
  • Eclipse - Eclipse 3.6.1 or Helios is the Im version using. Download
  • The Android Development Plugin (ADT) is a custom plugin, so we can create Android applications using the Eclipse IDE. Download
  • Android SDK Starter Package - includes basic SDK Tools. Download
  • Android SDK Tools, version 10 is a complete component of the SDK tools. Download
  • The Android SDK Platform-tools, version 3 is a component of the SDK platform tools. Download
  • The Android SDK Platform is our target Android OS.

Android SDK Platform:

STEPS:

  • Install the JDK using the default setting.

  • In the Android developer folder (e.g. C: \ Developers \ Android) put all the zip files that you just downloaded.

  • Create a workspace folder in the home folder (for example, C: \ Developers \ Android \ workspace).

  • Unzip the Android SDK starter pack (android-sdk_r10-windows.zip). NOTE. I suggest using WinRAR so that we can just right-click the zip file and then select "Extract Here"

  • Now we have the android-sdk-windows folder in our Android developer folder. Inside this folder, delete the tools folder. Move the files for the Android SDK Tools (tools_r10-windows.zip) and the Android SDK Platform-tools (platform-tools_r03-windows.zip) to this folder. Unzip them and rename them as tools and tool platforms respectively.

  • The android-sdk-windows folder contains the platforms folder. Move and unzip the Android SDK platform file (android-2.3.3_r01-linux.zip) in this folder.

  • In the android-sdk-windows folder, create a folder with samples. Move and unzip the Android SDK Samples ZIP file (samples-2.3.3_r01-linux.zip) into this folder.

  • Unzip the Eclipse file (eclipse-SDK-3.6.1-win32-x86_64.zip).

  • Inside the eclipse folder, run eclipse.exe. He will ask you to use the workspace folder. Select the workspace folder that you created. You can optionally check the Use this by default box and do not prompt again, and then click OK.

  • On Eclipse, choose Help> "Install New Software ...". Click "Add" in the upper 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 (for example, the ADT plugin) in the "Name" field and click "OK."

  • Select the Developer Tools check box or click the Select All button, and then click the Next button, and then accept the default values. (Sorry, you need to be online, as some components must be downloaded in this part. Do not update it as soon as I know how to do it offline). After installing Eclipse, you should restart it.

  • In Eclipse, choose Window> Preferences. Select Android in the left pane. Find the Android SDK (Android-sdk-windows) folder in the SDK location and click "Apply."

  • Once again on Eclipse, select Windows> Android SDK and AVD Manager. Click "Installed Packages" in the left pane and you will notice that the SDK Platform version is Android 2.3.3, API 10, version 1 and examples for the SDK API 10, version 1. Now we are ready to create virtual devices.

    / li>
  • Click "Virtual Devices" in the left pane. Click the Create button and give the virtual device a name (such as a gingerbread). Select Android 2.3.3 API Level 10. Type 512 or more for the size of the SD card and click on the Create AVD button. Now we are ready to create our famous application "Hello World".

+1
source

You can try to delete what you have and start from the very beginning. I am also on Windows 7, and I highly recommend downloading the zip file (not the installer) for the SDK and extracting it to C:\ . It should automatically create a folder called "android-sdk-windows", but you can rename it if you want. Then start the SDK manager and start downloading the packages. This can help listen to the package loader and push your mouse every minute or so (yes, that sounds silly, but for me it really mattered to me because the download continued partially when I did nothing).

0
source

Try it.

Tools -> options -> check Force https ...

0
source

Download the latest sdk from http://developer.android.com/sdk/index.html and try again! He should not appear again for sure.

0
source

Make sure the Android SDK, JDK, and Eclipse are either 64-bit or 32-bit. If someone else (for example, Eclipse is 32-bit and the rest are 64-bit), you will get errors.

0
source

Do you manage the sdk manager as administrator? If not, right-click on your SDK manager and select Run as administrator . Perhaps this will help ...

0
source

For me, the SDK was also very complicated. It did not receive all the packets and loaded very slowly (about 15-20 kbps from 24 Mbps). Then I tried to run the program with administrator rights and fixed the problems.

0
source

Source: https://habr.com/ru/post/1396925/


All Articles