Android Studio — SDK и проблемы с установкой?
Решил я значит установить Android Studio, в процессе установке увидел ошибку, он не видит SKD, Выдаёт ошибку «no android sdk found». Смотрел на ютубе как устанавливать его)))
А на ютубе в процессе установке есть пункты которых у меня небыло, хотя устанавливал также, и с того же оф.сайта, скачал и установил SDK отдельно, думал щас путь к нему задам и всё будет ок, а хрен там, он его всё равно не видит, подскажите новичку где я затупил?
P.S SDK Manager не открывается, может я что-то упустил.
- Вопрос задан более двух лет назад
- 2272 просмотра
6 комментариев
Средний 6 комментариев
Android SDK Setup
Whether you’re building an Android application in Unity or programming it from scratch, you need to set up the Android SDK (software development kit) before you can build and run any code on your Android device.
1. Download the Android SDK
On your PC, go to the Android Developer SDK website. Download and unpack the latest Android SDK.
2. Install the Android SDK
Follow the instructions in Installing the SDK. You can skip the optional sections relating to Eclipse. In step 4 of Installing the SDK, be sure to add at least one Android platform with API level equal to or higher than 9 (Platform 2.3 or greater), the Platform Tools, and the USB drivers if you’re using Windows.
3. Enable USB debugging on your device
USB debugging is a useful way to debug while connecting your Android device to the SDK, so get this set up before moving on to the next step.
To enable USB debugging, you first need to enable Developer options. To do this, navigate your phone to the “Build number” portion in your device’s Settings. Finding it can be different depending on the device:
Note: On operating systems older than version 4.2 (Jelly Bean), the Developer options aren’t hidden. Go to Settings > Developer options, then enable USB debugging.
Navigate to Build number using the instructions above. Tap on the build number 7 times. A small pop-up notification appears saying “you are now X steps away from being a developer” with a number that counts down with every additional tap. On the 7th tap, Developer options are unlocked. Go to Settings > Developer options, and check the USB debugging checkbox to enable debug mode when the device is connected to a computer via USB.
4. Connect your Android device to the SDK
This can be tricky, especially under Windows-based systems where drivers tend to be a problem. Your device may come with additional information or specific drivers from the manufacturer.
- Windows: If the Android device is automatically recognized by the system you still might need to update the drivers with the ones that came with the Android SDK. You can do this through the Windows Device Manager. If the device is not recognized automatically, use the drivers from the Android SDK, or any specific drivers provided by the manufacturer. Find further information regarding USB Drivers for Windows on the Android Developer page.
- Mac: If you’re developing on macOS, you usually don’t need any additional drivers.
If you are unsure whether your device is properly installed on your system, please read the Android development troubleshooting page for details.
5. Add the Android SDK path to Unity
The first time you build a project for Android (or if Unity later fails to locate the SDK), you will be asked to locate the folder where you installed the Android SDK. Select the root folder of the SDK installation. If you wish to change the location of the Android SDK, in the menu bar go to Unity > Preferences, then click External Tools.
Getting started with Android development
Unity Remote 4
Is something described here not working as you expect it to? It might be a Known Issue. Please check with the Issue Tracker at issuetracker.unity3d.com.
Copyright © 2016 Unity Technologies. Publication 5.4-X
[Solved] Android sdkmanager not found Error in Flutter
In this post, we are going to show you how to solve ‘Android sdkmanager not found.’ error while you hit ‘flutter doctor —android-licenses’ or on any other cases. The error may look like:
Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this.

To solve this issue you need to install Android SDK Tools and Android SDK Command-line Tools on SDK Manager. Follow the steps below:
1. Open SDK Manager in Android Studio


2. Go to «SDK Tools» and install «Android SDK Tools» and «Android SDK Command-line Tools»:
You need to open Android Studio then go to Tools > SDK Manager > SDK Tools tab, uncheck the option Hide Obsolete Packages. And install Android SDK Tools and Android SDK Command-line Tools.

Now, check the command «flutter doctor —android-licenses» in your terminal to check if the error still occurs then heck the android_sdk_path\Android\Sdk\cmdline-tools. There may be two or more «latest» like below:
If Error is Still not Solved:

Delete the «latest» and rename «latest-2» to «latest». This happens when there is «latest» folder while installing Android SKD command-line tools in SDK manager.
In this way, you can solve «Android sdkmanager not found.» error on Flutter.
SDKs
A Software Development Kit , or an SDK , is a collection of tools that you need to develop an application for a specific software framework. For example, to develop applications in Java, you need a Java SDK (JDK). SDKs contain binaries, source code for the binaries, and documentation for the source code. JDK builds also contain annotations.
Generally, SDKs are global. It means that one SDK can be used in multiple projects and modules. After you create a new project and define an SDK for it, you can configure modules in this project to inherit its SDK. You can also specify an SDK for each module individually. For more information, refer to Change module SDK.
Supported SDKs
- Java Development Kit (JDK)
- Kotlin SDK
- Android SDK
- IntelliJ Platform Plugin SDK
- JavaFX SDK
- Grails SDK
Configure SDKs
To define an SDK means to let IntelliJ IDEA know in which folder on your computer the necessary SDK version is installed. This folder is called an SDK home directory .
Global SDK

- Go to File | Project Structure | Platform Settings | SDKs .
- To add an SDK, click , select the necessary SDK and specify its home directory in the dialog that opens. Only for JDKs: if you don’t have the necessary JDK on your computer, select Download JDK . In the next dialog, specify the JDK vendor, version, change the installation path if required, and click Download .
Project SDK

- Go to File | Project Structure | Project Settings | Project .
- If the necessary SDK is already defined in IntelliJ IDEA, select it from the SDK list. If the SDK is installed on your computer, but not defined in the IDE, select Add SDK | ‘SDK name’ , and specify the path to the SDK home directory. Only for JDKs: If you don’t have the necessary JDK on your computer, select Add SDK | Download JDK . In the next dialog, specify the JDK vendor, version, change the installation path if required, and click Download .
Module SDK
- Go to File | Project Structure | Project Settings | Modules .
- Select the module for which you want to set an SDK and click Dependencies .
- If the necessary SDK is already defined in IntelliJ IDEA, select it from the Module SDK list. If the SDK is installed on your computer, but not defined in the IDE, select Add SDK | ‘SDK name’ , and specify the path to the SDK home directory. Only for JDKs: If you don’t have the necessary JDK on your computer, select Add SDK | Download JDK . In the next dialog, specify the JDK vendor, version, change the installation path if required, and click Download .
If you want a module to inherit a project SDK, select the Project SDK option from the Module SDK list.

Java Development Kit (JDK)
To develop applications in IntelliJ IDEA, you need a Java SDK (JDK). A JDK is a software package that contains libraries, tools for developing and testing Java applications (development tools), and tools for running applications on the Java platform (Java Runtime Environment – JRE).
The JRE can be obtained separately from the JDK, but it is not suitable for application development, as it doesn’t have essential components such as compilers and debuggers.
- The bundled JRE is used for running the IDE itself, and it is not sufficient for developing Java applications. Before you start developing in Java, download and install a standalone JDK build.
- Due to the changes in the Oracle Java License, you might not have the rights to use Oracle’s Java SE for free. We recommend that you use one of the OpenJDK builds to avoid potential compliance failures.
In IntelliJ IDEA, you can download a JDK package right from the IDE, or you can manually download the necessary JDK distribution and define it in the IDE.
For a manual download, use any available distribution that you like, for example:
If you don’t know which distribution to choose, and you don’t have specific requirements that instruct you to use one of the existing distributions, use Oracle OpenJDK.
Set up the project JDK
- Go to File | Project Structure | Project Settings | Project .
- If the necessary JDK is already defined in IntelliJ IDEA, select it from the SDK list. If the JDK is installed on your computer, but not defined in the IDE, select Add SDK | JDK , and specify the path to the JDK home directory (for example, /Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk ).
If you don’t have the necessary JDK on your computer, select Add SDK | Download JDK . In the next dialog, specify the JDK vendor, version, change the installation path if required, and click Download . - Click Apply to save the changes and close the dialog.

For more information about working with JDK, refer to Change the JDK version in a Maven project and Gradle JVM selection if you build your project with Maven or Gradle.
Configure SDK documentation
You can add SDK documentation to IntelliJ IDEA so that you can get information about symbols and method signatures right from the editor in the Quick Documentation popup.
You can also configure external documentation by specifying the path to the reference information online. External documentation opens the necessary information in a browser so that you can navigate to related symbols and keep the information for further reference at the same time.
Specify SDK documentation paths
To view external SDK documentation, configure the documentation URL first.

- In the Project Structure dialog Control+Alt+Shift+S , select SDKs .
- Select the necessary SDK version if you have several SDKs configured, and open the Documentation Path tab on the right.
- Click the icon, enter the external documentation URL, and click OK . For example, for Java 20, type https://docs.oracle.com/en/java/javase/20/docs/api/ .
- Click Apply to save the changes and close the dialog.
Access SDK documentation offline
If you work offline, you can view external documentation locally.
- Download the documentation package of the necessary version. The documentation package is normally distributed in a ZIP archive that you need to unpack once it is downloaded. For example, you can download the official Java SE Development Kit 20 Documentation and unzip it.
- In the Project Structure dialog Control+Alt+Shift+S , select SDKs .
- Select the necessary JDK version if you have several JDKs configured, and open the Documentation Path tab on the right.
- Click the icon and specify the directory with the downloaded documentation package (for example, C:\Users\jetbrains\Desktop\docs\api ).
- Click Apply to save the changes and close the dialog.
When the documentation is configured, you can open it in the editor.