Where is android SDK location? - android

Here's what I did
download android studio (android-studio-ide-135.1538390-windows.zip)
unzip it and move the android-studio folder to directory "c:\users\andy"
start up "studio.exe" in the bin directory
select Configure -> Project Defaults -> Project Structure
what should I put in the Android SDK location field? Whatever directories I put in, it keeps saying invalid sdk path
Thanks,
Java JDK: 1.6 update 45
OS: Windows 7

For Android Studio 0.8.14 (the now-current download), in addition to downloading Android Studio, you also need to separately download the Android SDK, then tell Android Studio where you set up your Android SDK.

Related

Unity cannot find Android SDK on Windows

I installed Android Studio (3.6.2) along with Android SDK, but when I choose its folder in Unity (Edit -> Preferences -> External Tools), it says "Unable to detect SDK in the selected directory." What do I have to do to make it work? I use Unity 2018.4 (LTS) on Windows 10.
Unity seems to have trouble with folder structure of SDK installed with Android Studio. It seems it expects command line tools to contain folder called tools, but Android Studio stores those in cmdline-tools\latest. Assuming the SDK is installed in C:\Users\{username}\AppData\Local\Android\Sdk you have to do the following:
Copy folder C:\Users\{username}\AppData\Local\Android\Sdk\cmdline-tools\latest to C:\Users\{username}\AppData\Local\Android\Sdk\
Rename latest to tools
In the end you should have a folder called C:\Users\{username}\AppData\Local\Android\Sdk\tools present. It should contain bin and lib folders. When you choose Sdk folder in Unity, it processes it and you should be able to build Android apk.
I have no idea if this is the right approach, but we were able to make Android builds work on Windows following these steps.

Change the directory where VS 2017 Installer install packages

I use both Xamarin and Java for android development. I want them use the same SDK to save disk space. By default, VS Installer install the android sdk in C:\Program Files (x86)\Android\android-sdk, which contains whitespaces. Android studio cannot perform with sdks installed in whitespaced path, as it causes problems with Android NDK.
I think you could try to move SDK to AS SDK folder. It's in C:\Users{username}\AppData\Local\Android\Sdk.
In VS, you could open SDK manager in Tools->Android->Android SDK manager.
Then change the default folder.

Android Studio is unable to find Android SDK

I have downloaded the latest version of Android 3.0.1.0 along with the command line sdk tools. I unzipped both the files and tried to install Android Studion but it doesn't find SDK. After searching online I put unzipped SDK folder into the following directory C:\Users\User-Name\AppData\Local\Android\Sdk, but it still doesn't find it.I have also heard that Android Studio contains SDk tools but still it is showing no SDK tools.Please help me.I am using windows 7 32-bit OS.
In Android Studio go to:
File → Settings → Appearance & Behaviour → System Settings → Android SDK
and set the location of your SDK
I had the same problem. The real problem was diacritics in my user home folder in windows! (C:\Users\Rodiče).
So I renamed it (here are the steps:
https://superuser.com/questions/890812/how-to-rename-the-user-folder-in-windows-10)
and then make symlink (for possible applications which uses the old path):
mklink /J "c:\Users\Rodice\" "c:\Users\Rodiče\"

Android Sdk Not Found

I am Beginner at Android Development
I used Eclipse with Android Sdk for some time And i want to shift to android studio
i downloaded android studio from site about 170 mb
I checked program files there is no android folder
i went to Bin folder and launched studio64 but i can find android sdk or tools
i tried re-downloading android studio but it downloading the same folder
Where can i find sdk folder
Go here, https://developer.android.com/sdk/index.html?hl=i
And download the SDK
https://developer.android.com/sdk/installing/studio.html#download
you can download the version with the android sdk

Android Studio asking for SDK location - Win 7

I have been learning Android programming using Android Studio (v22.6.2-1085508), today suddenly Android Studio is asking SDK location.
I checked Android Studio -> Windows -> Preferences -> Android
SDK Location is empty.
Browse and tried -
c:\Program Files\java\jdk1.7.0_67
c:\Program Files\java\jre7
c:\Program Files(x85)\java\jre7
But looks not right.
I am not sure if it related to my recent update of java download?
If it asks for SDK location it is most likely the Android SDK you need to provide (which is the top level directory of your Android SDK installation, containing platorm-tools, samples, etc.), not the Java JDK. The JDK would have its own location on the same window though.
If you also need to provide the JDK path, if you have JDK 7 installed at c:\Program Files\java\jdk1.7.0_67, you can provide that path there.
My configuration (File -> Project Structure... -> SDK Location):

Categories

Resources