Unity is asking me to locate my Android SDK - android

All I know is that I have my Android Studio in the applications folder, but it can't be selected.
I'm trying to build a unity project in Android. I'm also using Mac.

You need to find out where Android Studio installed your SDK. You are using Mac but the steps below is for Windows. It should be the-same for Mac too.
Open Android SDK Manager
Get the SDK Location
In Unity, go to Edit->Preferences...->External tools then put the Android SDK location into the SDK slot. Install JDK and put the JDK location in the JDK slot.

Just an add-on to the previous answer:
On the Mac the default location of the Android SDK is here:
/Users/[[Username]]/Library/Android/sdk/
(I would have added that in the comments but I still lack the credits for doing so.)

Related

Android Studio Bug? AntergOS Android SDK can't be installed with Android Studio or AUR

OS : Antergos (Linux)
The problem here is the missing Android SDK, I can not install it from either android-studio-2.2 or AUR.
When I tried to install it from the Android SDK, it does not allow me to check the Android SDK Platform for download
Assuming that Android SDK is already installed I proceed to click next only to be met with this message which confirms that an Android SDK is installed. I then tried to start a project which the program in turn throw an error saying that the Android SDK is not installed. I then check the settings and found that the Android SDK Location is not set. I google for the location of default Android SDK location, which is $HOME/Android/sdk, which does not exist on my machine. The only conclusion I can make is that Android SDK is not installed on my machine. I tried to install it from android-studio-2.2's GUI but it does not let me tick it while saying that it is installed. I then tried to install the Android SDK from the AUR, which returns 'package filename is not valid'.
I tried installing android-studio-2.2 from both AUR and the official android site, neither let me download Android SDK.
What might be the problem? Is it Antergos? Could it be that the default install path is different than many other path on the internet?
You need to reset the older SDK and Android Studio configuration by going to the:
/home/brandon/.. directory
and deleting .AndroidStudio2.2 and Android folder. Make sure you have enabled hidden directory visibility. This will reset old Android Studio setup and start over everything from the beginning.

Android studio is not properly installed

extra android m2 repository,extra google m2 repository and 2 more sdk components were not installed.
This message was displaying after the installation of Android studio.
Some components as Android sdk manager and AVD are not working properly.
Please guide me how to fix the problem.
Try to open Android SDK Manager and Select Android SDK Tools and Android SDK Platform-tools and update and then restart Android SDK Manager you will find Extras now install Android Support Repository inside Extras.If this doesn't help i guess you have to Re-install the software while reinstalling keep your internet connection on it may download packages and files form internet.
See to it that you have downloaded Android SDK properly without any issue.
I hope this answer helps..

Xamarin forces me to download Android SDK and NDK

I have my Android SDK and NDK installed on my computer (On custom locations) . I am trying to install xamarin on my Windows environment but the installer wants to force me to install SDK and NDK . It looks like it cannot find by installations folder. Is there a solution to specify when my SDK and NDK are installed ?
Thanks.
I finally managed to get The installer detect my sdk location. Here's what I did:
Install Xamarin Studio Alone (https://store.xamarin.com/account/my/subscription/downloads)
Change your SDK , NDK , JDK Locations in Xamarin Studio settings and close
Download the Universal Installer and start
It will automatically detect that Xamarin Studio installed and will use its settings.
Install other dependencies
Start visual studio and enjoy !
The Xamarin Team really need to add the possibilty to select your SDK/NDK/JDK locations at INSTALLATION TIME
According to the Xamarin docs you can configure where it looks for the SDKs:
http://developer.xamarin.com/guides/android/getting_started/installation/windows/manual_installation/#Xamarin_Studio

Titunium Studio Cannot find Android SDK

I have a problem with Titanium Studio. It doesn't recognize my Android SDK installation.In the Platform->Android prefs panel, it says "No Android SDK found in the selected location"
When I first ran Titanium, it installed/updated a bunch of it's own and some Node plugins, so it's fulfilled all dependencies.
details:
OS: Windows 7 (x64)
Titanium Studio version is 3.3.1 (in %Appdata%\Roaming\Titanium Studio)
JDK build 1.8.0_31 (%Program Files (x86)%\Java\JDK)
Android SDK installation (in C:\Android-sdk)
Android SDK tools 24.0.2
Android SDK Platform Tools 21
Android SDK Build Tools
Android 4.2.2, API 17 (all children)
Android 2.3.3, API 10 (all children)
Android 2.2, API 8 (all children)
also everything inside the Extras branch
According to Titanium Compatibility Matrix, I have at least one Android SDK (4.2.2) that falls within the accepted SDK bounds for my Titanium version.
have you checked those links?
1.link 1
2.link 2
and it's better to have same architecture of java and OS.
you can also type this in command line and check if there is any specific android issue
titanium info
I don't know exactly what contributed to the solution (note that titanium CLI alwayes detected everything correctly), but here's what I've done meanwhile.
I had existing %ANDROID_SDK%, %JAVA_HOME% and the SDK's tools and platform-tools locations added to PATH from the beginning.
I Uninstalled Titanium (Studio & SDK), JDK+JRE, Node and Git.Then reinstalled JDK and Titanium.
Titanium installed node 10.13 and Git 14.sth to %programfiles(x86)%
the problem still existed. Cue another series of uninstalls.
Installed Jdk, Git, node and Titanium one-by-one.
Interstingly, this time Titanium couldn't locate Git which was installed in C:\git (it was added to PATH). So I symlikned C:\Git into %programfiles(x86)% (also linked C:\nodejs for good measure :) )
Now, I found the JDK installer only added C:\ProgramData\Oracle\Java\javapath to PATH which includes just java.exe, javaw.exe and javaws.exe. So I added %programfiles(x86)%\Java\jdk\bin to PATH.
This time, Titanium Studio worked correctly!
So, perhaps, the problem lies in Titanium Studio needing dependencies in certain locations.
(btw, before this, even though path to git.exe was in PATH, the Studio's console "couldn't find a 'bash' shell." now it does.)
hope this helps others who face the same issue.

How to "download" Android Studio IDE without the SDK?

I already have Android SDK latest edition and Eclipse installed. But I want to try Android Studio as well.
I have seen this and this post, but those solutions change the instance of SDK Android Studio (once downloaded and installed) uses. What I want is not to download another SDK when I already have it installed on my machine.
The problem is that the download package given here includes SDK as well.
So can I download Android Studio IDE without the SDK, and then give the path to the SDK I already have during installation?
All the answers suggest to download it with an SDK and then delete it.
You can however download the AStudio w/o the SDK from Android Tools Project Site.
The latest build (2.0 Preview 4) can be downloaded here.
Note: The newest version also requires the SDK to be outside the application folder!
Well now Google offers a "No Android SDK" version of Android Studio in its official Download portal:
It is an old question but it might help someone like me who is looking for an answer. This instructions are for windows 64 bit systems.
Download zip of Android studio without SDK using links given in other answers (e.g. I downloaded android-studio-ide-141.2112779-windows.zip - version 1.3.0.9)
Unzip the archive and run bin/studio64.exe
When it asks for the path to install the SDK, browse your existing SDK location instead of the default path given.
If it detects valid installation of SDK, it will display a message that only missing or old component will be downloaded.
I hope it helps.
You can find it here (http://developer.android.com/sdk/index.html#Other) in the "Other Download Options" section. There is many different version of Android SDK and Android Studio, including Android Studio without bundled SDK tools.
You can download it with SDK, then change it to yours ( here is explained ) and then delete it
Download Android Studio as is.
Go to it's location and delete the SDK (optional).
At your project open "project structure" and set SDK locations to your Eclipse's SDK.
or just copy your Eclispse sdk to android studio SDK.

Categories

Resources