Why can't I locate the Android SDK? - android

Visual studio installation states that the SDK is installed:
However, I cannot find it anywhere. I searched all locations, including this tutorial (there isn't even a folder named Android there). Anyway, any suggestions, what could be the issue? I clearly installed it manually.

Download de SDK(NOT ANDROID STUDIO) Check the Image
Is in the bottom of this LINK
Later just click install and next, next, and you have Android SDK, check where is the folder...

Related

Having trouble setting up Unity 5 with android sdk on mac

I'm trying to create a mobile game for android through unity and running into some difficulties.
When watching tutorials and googling this is what is shown is that it is navigated to through the Preferences > External Tools. But there is no option there for me.
Here is a comparison side by side of how guides say it should look vs how it looks for me.
Any help is appreciated!
Mac unity android sdk path setting
If you have Android Studio installed.
The path for SDK is “/Users/username/Library/Android/sdk”.
But sometimes the “Library” folder is hidden.
To see the hidden files, follow the link: http://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/
Or follow the steps below
* Open Terminal found in Finder > Applications > Utilities
* In Terminal, paste the following: defaults write com.apple.finder AppleShowAllFiles YES
* Press return
* Hold the ‘Option/alt’ key, then right click on the Finder icon in the dock and click Relaunch.
Once you done this. Open unity->Unity->Preferences->External tools
In that find SDK path option, click browse, then drag the “sdk” folder which you just opened above in Finder…
Done…
If its still giving error then consider below case:
Sometimes Unity won’t recognise Android Studio’s sdk tools and gives error and ask you to again set the path.
To solve this, download separate sdk tools from Google.
Link : https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip
Once you download the “tools” folder.
Then copy it and replace it in “/Users/username/Library/Android/sdk”.
And try again…
I know this is not written well…but if you are struggling a lot ..if will just give you an correct hint. I struggled a lot for this issue…so wanted to help you all.
Thank you…
I do not know how it looks on Mac, but on Windows you should opt-in Android Build Support when you installing Unity.

Android SDK gives wrong path, Android Studio

Recently I've started to get involved in Android developing, and I learned that Android Studio was available contrary to Eclipse. So I downloaded the new software by Google and started it up. It prompted me to install some SDK packages and I did all that it recommended me to do at
http://developer.android.com/tools/help/sdk-manager.html
Then I saw a link that said you can find out where your SDK path is by opening the SDK manager up top, as well as the answer described on this page
Android Studio - How to Change Android SDK Path
So I copied the path and tried to use the run command (I can't post images yet) The path is described as
C:\Users\baruy\AppData\Local\Android\sdk
I get an error saying that it doesn't exist. I browse for the files by myself, to learn that there is no AppData folder under baruy
Windows 8 64-bit, home edition. Please help, thanks
AppData is a hidden folder on windows. In order to show hidden files and folders on windows 8, follow this guide on msdn.
In short, you should go to Control panel->Folder options->"View" tab and then check the "Show hidden files, folders and drives". If you don't find the android sdk after that than it is simply not there.
AppData is an hidden folder. Paste that path in the window manager path and you should get there. Alternatively use the console and type:
cd AppData\Local\Android\sdk
After upgrading to Android 3.0 this path error came up. The default Sdk path in mac is /Users/username/Library/Android/sdk, and as that was marked in the systems settings the studio just had to be restarted and it worked again.

Android Studio Not Including SDK

I'm trying to setup Android Studio on a new install of Mac OS X Yosemite. I downloaded the Android Studio Beta v0.8.14 from here: https://developer.android.com/sdk/installing/studio.html and upon launching it complained about not having an SDK (although the download page indicates it should include the SDK). I tried searching after installing for the SDK and can't find it (a few other posts indicate /Applications/Android Studio.app/sdk but that location doesn't exist). Where is the SDK installed and what is required to set it up?
Go to the SDK Manager and click Edit... next to the field for the location of the SDK. Then an "SDK Setup" window should display. There you can download the SDK.
Edit: This answer is deprecated as Android Studio seems to bundle everything since a while already.
Old answer
It seems the android-studio-bundle version is no longer available in the download page (instead there are only android-studio-ide). When you start Android Studio, it won't let you create a new projet until you configure the SDK location.
That means you have to download the SDK separately here, extract it somewhere, and configure it on Configure->Project Defaults->Project Structure. After that, the SDK Manager icon will be enabled and you can download the tools you want.
I had the same problem on Windows. After I re-installed it a few times, I found that the SDK was installed but hidden in C:\Users\<user name>\AppData\Local\Android\sdk.
Information for Windows
For some reason, which I have no time to investigate, Android seems to provide, currently, the IDE and the SDK separately, while in the Dev Webpage says the opposite.
This is the "complete" (false!) tool I have just downloaded: android-studio-ide-171.4443003-windows.exe (SDK is missing here, note the "ide" in the file name).
And this is the real complete tool I had downloaded few months ago, from the same place...: android-studio-bundle-162.3871768-windows.exe
Note that this last one has the "bundle" in the file name.
Please, download the bundle (IDE+SDK) from here:
https://dl.google.com/dl/android/studio/install/2.3.1.0/android-studio-bundle-162.3871768-windows.exe?hl=ko
I want to suppose (¿?) that similar link you can find for Linux or macOS just Googling for it.
Hope this helps!
It worked like this for me
Downloaded the Android Studio
Install Android Studio
Open Android Studio after installation.
You will get a dialog box to import settings if you already have Intellij installed on your machine. Say "Do not Import". Otherwise continue to next step.
It will ask you in the dialog box to pre-configure such as theme, path etc.
Just click next next...and then Finish. You will see the SDK tool will start downloading.
After installation is finished. You can find it in this path: C:\Users\<user name>\AppData\Local\Android\sdk
If you have ever installed Android Studio before and then removed it, it won't reinstall the SDK automatically (speculation: some Windows setting somewhere).
The solution is starting Android Studio and then
File -> Manage IDE Settings -> Restore Default Settings
This will wipe any custom settings you don't have at this point and trigger the SDK install
What Pablo wrote is misleading.
This is the "complete" (false!) tool I have just downloaded:
android-studio-ide-171.4443003-windows.exe (SDK is missing here, note
the "ide" in the file name).
Yes, it is IDE only, but after you install this IDE and first time run it, SDK will be downloaded automatically. So there is no need to download some outdated bundles. Just use default "green button" on https://developer.android.com/studio/index.html
I'm using Ubuntu, and had previously installed Android Studio. It was using too much space, so I deleted it. Now when I downloaded it and started ./studio.sh, it found my previous installation configuration directory and asked to import from there. I did, and then this problem occurred.
I put the directory .Android Studio 3.3 in the trash and restarted ./studio.sh, and it imported the SDK automatically for me. That was good, because I couldn't find it where it was supposed to be according to the dialog box. The 3.3 above is from the version of Android Studio I was installing.
in my case, my country is forbidden from google, and my PC's time zone was set by my counrty.
after I change my timezone to another country my problem solved and android studio download SDK and nkd easily
Re-install studio. If ANDROID_HOME is set to custom location then it will install sdk there else it will install SDK in C:\Users<user name>\AppData\Local\Android\sdk
Note:this is a temporary fix
If you have Eclipse then you can use that SDK for emulation.
Just run the sdk manager and emulate a version of android. Then while you are asking for emulating something ie while running code it will show your emulator as online and you can even use it.
Hope this helps you.
All the Best...

Set local documentation for android studio 0.8

I want to set local documentation path in android studio 0.8, but i cant do this. I google this, but i can't find any solution for this problem. Can any body help me please.
Thanks a lot.
I found the solution in Android Studio 2.1 :
First, you have to see which Android SDK you are using from the Project Structure. Currently I am using Android 7.0 because the problem was caused by Android 7.1.1 SDK (I will explain why).
Now, open the Standalone SDK Manager. Find the SDK version that you use, then select Documentation for Android SDK then Install package and you will have a local copy of the docs automatically used by your AS.
As you can see, there is no documentation available to download for Android 7.1.1, that's why Android Studio was loading it from the Android developer website.
So, the solution is to use an Android SDK that has a downloadable documentation.
I had the same problem.Documentation was empty when I used documentation shortcut(ctrl + Q) and I also couldn't change the documentation paths because it wasn't there! so here is the solution:
Delete C:\Users[user name].AndroidStudioBeta folder.(Don't worry it just delete your configurations! ;) )
rename C:\Program Files (x86)\Android\android-studio\sdk (SDK path)folder to something else.
run Android studio and make sure you don't import you configurations.
Now you can change new sdk folder's name back to SDK .
Android studio will ask you new path for SDK ,so you can continue.
If you have downloaded the documentation using SDK manager, it'll get added automatically when you add an SDK in "Project Structure"
In Android Studio, You can verify this by selecting File -> Project Structure -> SDKs (on left pane).
Select one added SDK from the list, Select the tab "Documentation Paths" from right most pane. Check whether the path is automatically added. If not, add it manually by clicking the plus (+) button on right.
The only way I could accomplish this on AS 1.0 is to run local web server (Abyss Web Server) to host the documentation from here (C:\Program Files (x86)\Android\sdk\docs). And use Fiddler as proxy to remap url developer.android.com to 127.0.0.1:8080 (Abyss address), setting Fiddler's address as proxy in AS settings.
Oh, and created a .bat file to run and stop this all together.
Really dirty trick, but the only I found.

IntelliJ and the android java docs

Has anyone had any luck getting IntelliJ to recognize and display the android java docs?
It works out of the box since Android SDK configuration in IDEA automatically adds JavaDoc directory into Documentation Paths.
Make sure you've downloaded the SDK completely including the documentation using the SDK Manager. On my system they are located under SDK_ROOT/docs/reference and this directory is automatically configured in IDEA Android SDK.
Make sure that the directory containing the documentation is in Documentation Paths. For this, do the following:
In Android Studio, open File -> Project Structure
Click on SDKs under Platform Settings
Select Android <version> in the middle panel
Add the following path under the Documentation Paths tab:
path_to_android_sdk/docs/reference
If you have not downloaded the documentation in SDK Manager, please do so before performing this procedure.

Categories

Resources