Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SDK not being installed on Android Studio

Based on my last question - I downloaded Android Studio (without the SDK) 2.2.3.0 from this link (https://dl.google.com/dl/android/studio/install/2.2.3.0/android-studio-ide-145.3537739-windows.exe).

Then I downloaded the Android SDK from this link (https://dl.google.com/android/repository/tools_r25.2.3-windows.zip).

I extracted the Android SDK to "C:\androidsdk" , and now the "androidsdk" folder contains a folder called "tools". and inside this "tools" there's a lot of files.

When I open Android Studio, it already download the SDK. So I disconnect the internet and open Android Studio again. Now I choose the SDK path manually, which is "C:\androidsdk" .. here is the problem, I get:

Target folder is neither empty nor does it point to an existing SDK installation.

So, I selected the path as "C:\androidsdk\tools" instead of that and I get the same problem.

like image 364
protld Avatar asked Dec 27 '16 14:12

protld


People also ask

How do I install Android SDK on Android Studio?

Install Android SDK Open the Android Studio. Create a new project or open existing. The studio will ask you the path of the Android SDK. Since we don’t have it installed, click on cancel. To install, click on SDK Manager. This option will be on the right side of the screen. Choose the SDK platform and click on OK.

How to update SDK path in Android Studio?

You can update your SDK path by clicking on the Edit option. After that select your SDK path, then click on Apply option, and then click on the OK option. Now sync your project with Gradle files to check that SDK is working fine.

Where can I find the Android SDK manager?

Open the SDK Manager from Android Studio by clicking Tools > SDK Manager or click SDK Manager in the toolbar. Click the checkbox next to Android SDK Platform-Tools so it shows a checkmark.

Why doesn’t Android Studio start after installing Android Studio?

Android Studio doesn’t start after installing version 4.2 Studio tries to import previous.vmoptions and sanitize them to work with the garbage collector used by JDK 11. If that process fails, the IDE may not start for certain users who set custom VM options in the.vmoptions file.


2 Answers

I have found a solution which involve changing the default of android studio. Create an empty folder namely 'platforms' in your downloaded SDK Go to Configure->project setting ->Specify path to your SDK. Link is: https://askubuntu.com/questions/989007/sdk-is-missing-error-android-studio

This has worked for me using latest downloaded SDK.

like image 170
Martin Karari Avatar answered Nov 14 '22 12:11

Martin Karari


I get problem like this. Just create emprty folder platforms inside SDK and click next button. It solved my problem :)

like image 32
Madi Avatar answered Nov 14 '22 14:11

Madi