Share Android SDK between Xamarin Studio and Android Studio on Mac - android

Is it possible to install and point both Xamarin Studio and Android Studio to a same location for Android SDK, this is just so I could save some space on my Mac. I plan to install both studios, but I thought I would ask if doing so would bring me trouble down the road.

Yes, you can share the Android SDK between both installs.
In this case I installed Xamarin Studio first (and thus the various Android SDKs):
I then installed Android Studio and during the install selected the same Android SDK location:
You can of course go the other way...

Related

problem in android studio. my SDK is not downloaded or corrupted

so , I am a programmer who is young , but developed some windows apps.
click on this to see my last app i developed.
and I want to learn android programming. i have downloaded the android studio but when i want to open a new project it says "your android SDK is corrupted or not downloaded"
can you solve this?
Go to SDK Manager uninstall and reinstall the SDK tools and platforms

Android SDK Manager not showing in Visual Studio

I'm trying to follow this guide to install Visual Studio with the Android SDK manager:
Link to guide: https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/hardware-acceleration?pivots=windows
So I downloaded Visual Studio from here: https://visualstudio.microsoft.com/vs/
After installation, the menu Tools > Android > Android SDK Manager is not available.
What should be done to make the menu available? And be able to open the Android SDK Manager?
using Visual Studio 2019:
You will need to run the "Visual Studio Installer" again. Then click modify, and in the Workloads tab, select:
Mobile development with .NET.
Build cross-platform applications for iOS, Android or Windows using Xamarin
The Android SDK manager will be available after you've installed this workload.
You could try to run VS as an administrator, which resolves almost any issue of the kind you are experiencing right now.
Another free advice before you start: if you find any problem building(even when you start VS as admin), first try to delete your \bin and \obj folders and try again. That is the solution to 99% of the issues.

Unity is asking me to locate my Android SDK

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.)

about downloading android sdk

I am learning about android.
I have downloaded Eclipse and Adt .
Now I have to download Android sdk. Should I download SDK as standalone tool or with Android Studio.
What is SDK and what all does it include?
Can I use both Eclipse and Android Studio with Sdk
Is better to use just Android Studio, this is the official Android Development IDE.
https://developer.android.com/intl/pt-br/sdk/index.html
Android Studio help you to download Android SDKs.
What is android sdk ? What does it include ?
It stands for Software development kit, and as the name suggests , it contains the platform (android version specific libraries to help you make apps for android platforms).
It contains different tools to help you install apps (adb tool), collect statistics and view information about the apps running in your devices etc.
Download sdk here
Can I use both Eclipse and Android Studio with Sdk ?
Yes you can , just have to point these ide's to the sdk's absolute path.
Should I download SDK as standalone tool or with Android Studio ?
You can do it either way, the former would require you to give its path to the ide you will be using, either Android Studio or eclipse.
Note
Android studio is the best and developer's guide by google recommends the same as well.
Some features of android studio
The SDK means Software Development Kit and is there for building android apps.
The sdk contains all the libraries you need to run your code on an android device.
Therefore eclipse and android studio can use the same sdk.
I really recommens using androi studio tho.
It is way better for developing android apps and comes with the sdk.
Eclipse was used some time ago but now android studio is the official ide for android, and way more powerful than eclipse.
Android SDK is a software development kit that is used to create Android applications.
You can download Android SDK as standalone and use it with eclipse to develop your android Apps.So you do not need to download Android Studio to develop Android Apps although it is recommended for starters.
You can download Android sdk only from here Or here
Also, The final step before you develop your android applications is to make sure that your android-sdk-tools,android-sdk-platform-tools,support-tools, and your API s are up to date.Check out your SDK Manager "Don't forget to run as administrator".

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

Categories

Resources