How do I configure SDK in Android studio - android

When I open the Android studio it is showing please provide path to Android SDK but I don't have any SDK Packages and folders please anybody help me out to solve this problem

If you are using Mac, then location should be at: /Users/<user>/Library/Android/sdk. Else if you are using Windows, the location should be at C:\Users\<user>\AppData\Local\Android.
If not then you may have to install the SDK, and there are plenty of tutorials online to help you do this, here is one: https://www.androidcentral.com/installing-android-sdk-windows-mac-and-linux-tutorial

Related

Installing Android SDK components fails in visual studio for mac

I'm trying to install some components of Android SDK in Visual Studio for mac but with some components I have problems during installation Could not find a part of path
Any ideas what's wrong?
It's not really the solution but a workaround. Only the way I found to install correct SDK and emulators is to install Android Studio and download and install sdk from it.
After I changed the location of SDK
For those who are not familiar with Android Studio, after installation and creating test project you can see in the top menu AVD Manager
After you open it you'll see a window to manage emulators
Hope this will be useful for somebody and I'll be happy ho hear real solution for this problem.

Android sdk for Intellij IDEA

I'm trying to setup IntelliJ IDEA to develop android applications and I faced an issue with android sdk. As far as I know, I need to download the sdk separately. But I all I managed to find was Android command line tools which is obviously not something I need. So my question how can I get android sdk for IntelliJ IDEA?
You can install whichever android SDK or API from Intellij. I have the 2018.1 version but I hope this works in earlier versions too. You can find the options to install the SDKs here:
Same problem I have with IDEA 2017.1.1. I installed tools_r25.2.3-windows.zip and managed to install them.
I've done:
unzipped it to C:\Android\android_sdk\
renamed "tools" folder to "tools-sdk"
executed
C:\Android\android_sdk\tools_inst\bin>sdkmanager --update
prepared file my_file with lines:
build-tools;24.0.0
platforms;android-24
tools
emulator
Executed:
C:\Android\android_sdk\tools_inst\bin>sdkmanager --package_file=my_file
Then gave IntelliJ IDEA folder C:\Android\android_sdk as Android SDK Home Folder.
Then IDEA asks to install something additional. The test android project compiles and runs on emulation (AVD Manager works). I had to install 22 Platform and Build Tools though because android-24 virtual device asked for a password.
The only problem is I still have no SDK Manager with GUI interface.
First of all make sure you'be setup JDK properly. If not, you can download it from here.
Now go to Android Developer official site and download Android Studio.
If you are already done with above mentioned points the few point you might be missing.
When asked to choose the JDK (not SDK) you need to choose the Java JDK which you've installed earlier. Should be under C:\Program Files\Java\jdk{version}
Choose a New platform ( if there's not one selected ) , the SDK platform is the android platform at C:\Program Files\Android\android-sdk-windows.
Please let me know if it didn't help.
Reference:
https://www.jetbrains.com/help/idea/2017.1/getting-started-with-android-development.html
I had the same issue. I tried downloading sdk via android eclipse setup process. Eclipse automatically downloads the sdk. This sdk has a gui sdkmanager and can be used in idea as well. Here is the link to download eclipse.
(Android Studio installed on my computer.)
As i see users missed a point while installing android SDK.
You should show the Android SDK at AppData folder to IntellijIdea.
C:\Users\Your_Username\AppData\Local\Android\SDK_Folder.
References: https://www.jetbrains.com/help/idea/prerequisites-for-android-development.html
https://www.jetbrains.com/help/img/idea/2017.2/AndroidSDKManager.png
You can download the android SDK from this link here. I hope it should be helpful that link.

Can't access Android SDK manager in Visual studio 2015

I started few days back to learn android programming. I tried to use Eclipse and Android studio but I faced many problem (configuration) so I decided to develop android apps using XAMARIN/VS2015. I installed xamarin (android) but not android sdk manager because I installed it before using android studio. The problem is that I do not know how to link VS2015 to the previous android SDK manager already installed. Can anyone help me??
I know the folder where the sdk is unzipped in. It is even set in VS2015 but I have not idea why it is not working.
The following screenshot shows it clearly:
Thank you
You need to link your sdk, not your adb.exe path.
I have this path for sdk:
C:\Users\myusername\AppData\Local\Android\sdk
You also can see this guide:
https://docs.elementscompiler.com/VisualStudio/Setup/AndroidSDK/

SDK Components NOT installed

"The following SDK components were not installed: sys-img-x86-addon-google_apis-google-22 and addon-google_apis-google-22". How can I solve this kind of problem? I already installed some SDK components but it didn't work. Please give me some advice to solve this. Thanks in advance.
You did not give details about what exactly you installed and where the error comes from. But often people forget to follow this step after installing android sdk:
Run the SDK manager in your android-sdk folder and let it install the missing parts.

Android sdk error not found at the specificlocation

I installed the xamarin studio and other components and after installing the sdk for it says that the android sdk not found at specific location.
I tried both zip and exe from the following url but in vain.
http://developer.android.com/sdk/index.html
thanks
adnan shahid..
Install android studio and then point the sdk towards the sdk that comes with android studio solved the problem in some cases when there is problem with downloading android sdk from the site or missing some files.

Categories

Resources