Can't find 'Android SDK' on Android studio preferences - android-studio

i'm looking for the option 'Android SDK' that should be on Android studio at :
Preferences -> Appearance & Behaviour -> System Settings.
I've recently installed ndk on my laptop(running on mac os), it might made the change.
Needless to say i've tried all the 'normal' resets to Android Studio.
https://developer.android.com/studio/intro/update.html#sdk-manager

This icon in circle is SDK Manager. Below window you can see "Launch standalone SDK Manager" if you need this representation, though they are almost same.

Related

How to make my emulator shows up outside of my android studio?

Recently, I updated my android studio to bumblebee version, and when I run my codes, I realized that my emulator are shown inside of my android studio instead of creating a new window for the emulator. you can see what I mean, here.
does anybody knows how to fix this? I already tried to change the settings but nothing is changed. should I reverse the update?
I had the same issue, to resolve it do the following:
In Android Studio: click on
File,
Settings,
Click on the Tools dropdown,
Emulator,
uncheck the "Launch in a tool Window" box
Settings with Launch in a tool window checkbox

Android Studio shows that SDK installed, but it not installed

I had a problem with Android Studio, then I try to delete all related files & folders, and remove Android Studio, to install all things again. I follow: How to completely uninstall Android Studio from windows(v10)?
Now, when I install Android Studio (Arctic Fox 2020.3.1 Patch 3).
It shows that Android Sdk (Installed), and request me to provide sdk location.. So, there are No installed sdk, I deleted all things, cleaned registry, BUT Android Studio still say its installed!
What I can do, to convince Android Studio that I want to install SDK also!
After hours of search here & there, My friend found that youtube video in Arabic, who described the problem: https://www.youtube.com/watch?v=oRT70VRKsq4
After 4.2.1 update of Android Studio, If your windows language is Arabic, and regional settings (التنسيق الإقليمي وتنسيق الأرقام في ويندوز) is Saudi Arabia (in Arabic).
The Android Studio will show that: SDK installed, & AVD will not work currently, (after application runs on Emulator, the debugger will not connect to app, and no logs will appear).
Solution:
Change regional settings to English (US).
in Arabic:
غير المنطقة إلى الإنجليزية،
from Microsoft support:
Change the Windows regional settings to modify the appearance of some data types
Notice: changing Numbers only to 123456790, will not solve this problem.
Then, all things will work currently, Android Studio will show that SDK not installed & install it, and will show all platform tools, & more.

Android Studio - Cannot see an option to create AVD or SDK Manager

This is my first time using Android Studio, and i probably am missing something silly.
On following the React Native getting started guide - https://facebook.github.io/react-native/docs/getting-started.html , I remember i did setup the Android SDK, HAXM and virtual device. But i don't see any such options on my Android Studio.
Some screenshots -
AVD is not present under Tools -
On Help>Find action , there is no "sdk manager"
Appearance & Behavior → System Settings does not have "Android SDK" either.
Also i see this message at the bottom. Im not even trying to save anyting, this just popps up when i start Android Studio -
I'm on a windows machine currently, the project "AwesomeProject" is created using react-native cli.. and i've tried reinstalling Android Studio too. Your help is appreciated.
Thanks
If you have set android home and path in your bash then you can access the sdk manager and avd from the terminal.
For avd - 'android avd'
For sdk manager - 'android'
It seems something broke when i closed the amulator via the windows task manager. What i did then was manually delete android studio (shift+delete).. then installed Android Studio normally, and the SDKs.
Now things work fine.

Standalone SDK Manager option in Android Studio 2.3

I have recently updated Android Studio from 2.2.3 to 2.3. Now can't see the option "Launch Standalone SDK Manager", which is useful to check for updates, google play services, etc.
It is a deprecated feature: https://code.google.com/p/android/issues/detail?id=235625 There is an option in Android Studio to "Show Package Details".
For manual SDK and AVD management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
See also: https://www.reddit.com/r/androiddev/comments/5x6adh/android_studio_23_is_now_available_in_the_stable/deg48lj/
Even I had this issue when I updated to Android Studio 2.3
Click on Configure on the bottom left side
Select the Check Box to Show Package Details on the bottom left side
Move between the different tabs as per your requirements.
Can't working on Android Studio 2.3.3
On Mac :
/Users/YourAccount/Library/Android/sdk/tools
click android, you'll see standalone SDK manager
On Windows :
C:\Productivity\android-sdks\tools
double click on android.bat, standalone SDK Manger will be launched (see image below).
As the standalone sdk manager has been deprecated in favor of studio builtin sdk manager, there's a workaround to get back the standalone sdk manager.
Step1.
Download command line sdk tools for your platform:
http://dl.google.com/android/installer_r24-windows.exe
http://dl.google.com/android/android-sdk_r24-windows.zip
the links refer to an old distribution intentionally (see note below).
Step2.
Copy the SDK Manager.exe, tools/android.bat and tools/lib/archquery.jar into your existing sdk to which android studio is currently being pointed.
Step3.
Run SDK Manager or tools/android.bat and you will get back your beloved standalone sdk manager while having latest android studio > 2.3
Note
if you download latest command line tools for sdk, you wont be able to find the archquery.jar which is required to run the standalone sdk utility.
In this latest version (2.3.1 and 2.3.1+), after some digging, I found a faster way to open AVD and SDK: In the welcome interface of Android Studio, after pressing CTRL+SHIFT+A, a search box will jump out, then you can input "AVD", the AVD manager will come out. To open SDK is the same way.
However, AVD does not work in the welcome interface but SDK works. If you want to use CTRL+SHIFT+A to quickly open AVD you must create a new project and open AVD in the project interface.
If you are a Xamarin user, you can install the Xamarin Android SDK Manager, available on the Visual Studio Marketplace which will give you an interface like this:
NOTE: The Xamarin SDK manager has to be accessed from visual studio, but it will (should) work on both windows and mac
You can open it from your SDK path which in my case is
C:\Users\Akshay\AppData\Local\Android\sdk
Double click on SDK Manager.exe and it will open standalone SDK manager, refer attached Screenshot.

Android Studio can no longer add SDKs, only JDKs. Why?

I've upgraded Android Studio from 0.8.* to 1.0.0 RC2 and finally 1.0. Somewhere between the RC2 and 1.0 Android Studio seems to have lost most of its references to the Android SDK.
Some indicators of this are:
All Android SDK tools have disappeared from the toolbar
No longer possible to attach the debugger or run apps from within Android Studio
In 'Project Structure', the SDKs list shows a list of previously added SDKs but when pressing '+' to add an SDK it only allows me to add JDKs.
In 'Project Structure', the previously added SDKs show "Unknown SDK home path" with a path to the location of the Android SDK. Editing the field with the '...' gives me a "Select Home Directory for Unknown SDK" and pointing to an Android SDK location and pressing OK shows a warning dialog saying "The selected directory is not a valid home for Unknown SDK".
The 'android' facet is an unknown facet type
How do I make Android Studio recognize the Android SDK again?
After a few hours of research (uninstalling and re-installing) I worked out how to fix it but still I don't know how it happened.
These are the steps:
Close your current project
Go to Settings
Click on Plugins
Enable Android Support
Follow the wizard
If you are on Windows, you can right-click the toolbar, and select Customize Menus and Toolbars -> Main Toolbars -> Android.MainToolBarActionGroup. You can also select the SDK Manager and AVD Manager from the Main menu.

Resources