Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SDK Location not found in android studio

I have just imported my eclipse project in android studio. it keeps my saying that

Error:SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable. 

I have seen some tutorials of editing local.properties files but it didnt work. here is my project.properties file:

sdk.dir=E:\\Mod Eclipse\\adt-bundle-windows-x86_64-20130219\\sdk 

Actual directory of my folder is :

E:\Mod Eclipse\adt-bundle-windows-x86_64-20130219\sdk

like image 537
BST Kaal Avatar asked Aug 31 '14 21:08

BST Kaal


People also ask

How do I fix Android SDK not found?

Quick fix: Uninstall Android SDK (default location C:\Users\.. \AppData\Local\Android\Sdk ) and install it again. This time affirms the minimum required storage space at your place of download. After execution check, if tools folder is now added in SDK directory.

Where is SDK location in Android Studio?

by default, the "Android Studio IDE" will be installed in " C:\Program Files\Android\Android Studio ", and the "Android SDK" in " c:\Users\username\AppData\Local\Android\Sdk ".

Can not find Android SDK folder?

If you have downloaded the AS + SDK bundle: Note #2: you will never find the SDK in the Android Studio directory unless you have explicitly put it in there. The reason is that those directories might be deleted after installing a newer version of Android Studio and you would have to re-install the SDK as well.

Why Android SDK is not installed?

Open the Tools\Options\Xamarin\Android Settings and set a new Android SDK Location (the folder should not exists). automatically the IDE detect that the Android SDK is not installed and it will propose you to install all the required components. after that open the Tools\Android\Android SDK Manager...


1 Answers

A quick note about this if trying to run a Facebook sample and this error pops up, make sure you select the build.gradle file in the root of Facebook sdk, for all the samples when 'opening an existing project'. I got this error when I tried to open the gradle for just the Scrumptious sample from the 3.22 SDK

like image 123
Daniel Wilson Avatar answered Oct 06 '22 02:10

Daniel Wilson