Android sdk path windows

Где можно задать свои расположения пакета SDK для Android? Where can I set my Android SDK locations?

В Visual Studio перейдите к Средства > Параметры > Xamarin > Параметры Android, чтобы просмотреть и задать расположение пакета SDK для Android. In Visual Studio, navigate to Tools > Options > Xamarin > Android Settings to view and set the Android SDK location:

Расположение по умолчанию для каждого пути выглядит следующим образом: The default location for each path is as follows:

Расположение пакета средств разработки Java: Java Development Kit Location:

C:\Program Files\Java\jdk1.8.0_131 C:\Program Files\Java\jdk1.8.0_131

Расположение пакета SDK для Android Android SDK Location:

C:\Program Files (x86)\Android\android-sdk C:\Program Files (x86)\Android\android-sdk

Расположение пакета Android NDK: Android NDK Location:

C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r13b C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r13b

Обратите внимание, что номер версии NDK может отличаться. Note that the version number of the NDK may vary. Например, вместо android-ndk-r13b может быть более ранняя версия, например android-ndk-r10e. For example, instead of android-ndk-r13b, it could be an earlier version such as android-ndk-r10e.

Чтобы задать расположение пакета SDK для Android, введите полный путь к каталогу пакета SDK для Android в поле Расположение пакета SDK для Android. To set the Android SDK location, enter the full path of the Android SDK directory into the Android SDK Location box. Вы можете перейти к расположению пакета SDK для Android в проводнике, скопировать путь из адресной строки и вставить этот путь в поле Расположение пакета SDK для Android. You can navigate to the Android SDK location in File Explorer, copy the path from the address bar, and paste this path into the Android SDK Location box. Например, если расположение пакета SDK для Android — это C:\Users\username\AppData\Local\Android\Sdk, очистите старый путь в поле Расположение пакета SDK для Android, вставьте этот путь и нажмите ОК. For example, if your Android SDK location is at C:\Users\username\AppData\Local\Android\Sdk, clear the old path in the Android SDK Location box, paste in this path, and click OK.

В Visual Studio для Mac перейдите к Параметры > Проекты > Расположения пакетов SDK > Android. In Visual Studio for Mac, navigate to Preferences > Projects > SDK Locations > Android. На странице Android перейдите на вкладку Расположения, чтобы просмотреть и задать расположение пакета SDK: In the Android page, click the Locations tab to view and set the SDK location:

Расположение по умолчанию для каждого пути выглядит следующим образом: The default location for each path is as follows:

Расположение пакета SDK для Android Android SDK Location:

Расположение пакета Android NDK: Android NDK Location:

Расположение пакета SDK для Java (JDK): Java SDK (JDK) Location:

/usr /usr

Обратите внимание, что номер версии NDK может отличаться. Note that the version number of the NDK may vary. Например, вместо android-ndk-r14b может быть более ранняя версия, например android-ndk-r10e. For example, instead of android-ndk-r14b, it could be an earlier version such as android-ndk-r10e.

Чтобы задать расположение пакета SDK для Android, введите полный путь к каталогу пакета SDK для Android в поле Расположение пакета SDK для Android. To set the Android SDK location, enter the full path of the Android SDK directory into the Android SDK Location box. Вы можете выбрать папку пакета SDK для Android в Finder, нажать CTRL+⌘+I, чтобы просмотреть сведения о папке, щелкнуть и перетащить путь справа от Где: , копировать, а затем вставить его в поле Расположение пакета SDK для Android на вкладке Расположения. Например, если расположение пакета SDK для Android находится в

Читайте также:  Linux redirect output to null

/Library/Developer/Android/Sdk, очистите старый путь в поле Расположение пакета SDK для Android, вставьте этот путь и нажмите ОК. You can select the Android SDK folder in the Finder, press CTRL+⌘+I to view folder info, click and drag the path to the right of Where:, copy, then paste it to the Android SDK Location box in the Locations tab. For example, if your Android SDK location is at

/Library/Developer/Android/Sdk, clear the old path in the Android SDK Location box, paste in this path, and click OK.

Как установить Android SDK?

Продвинутые пользователи смартфонов часто интересуются, как установить Android SDK на компьютер и получить доступ к полезным инструментам. Если погрузиться в историю, то раньше приходилось скачивать Android Studio, ждать завершения длительной инсталляции, а потом еще долго разбираться в настройках. Сейчас же ситуация кардинально изменилась, поэтому воспользоваться необходимым набором инструментов получится без выполнения сложных действий. Стало интересно? Тогда оставайтесь с нами и внимательно изучайте ценный материал.

Что такое Android SDK и зачем используется?

И начнем с того, что Android SDK – набор необходимых компонентов, которые разработчики используют для создания мобильных приложений. Но также инструменты могут оказаться полезными и для обычных пользователей. Например, с помощью специальных команд и ADB можно удалить системные приложения, получить root-права, создать резервную копию и даже разблокировать загрузчик.

А еще нужно отметить, что изначально набор инструментов Android SDK входил в состав Android Studio, поэтому для получения нескольких опций приходилось устанавливать целую среду разработки. Но сейчас этот шаг можно значительно упростить, сразу загрузив необходимые компоненты с официального сайта. При правильном выполнении действий вы получите архив, который потребуется всего лишь распаковать – ничего лишнего делать не нужно.

Как установить Android SDK на компьютер?

Для скачивания набора инструментов Android SDK будем использовать официальный сайт, который поддерживает компания Google. Там располагаются все компоненты, необходимые для разработки мобильных приложений. Например, даже можно загрузить Android Studio, но это нас пока что не интересует. Мы составили пошаговую инструкцию, которая поможет найти и установить Android SDK:

  1. Переходим на официальный сайт , где располагаются необходимые для работы инструменты.
  2. Спускаемся до заголовка «Command line tools only». Под ним и располагаются архивы, предназначенные для разных версий операционных систем. Если ваш компьютер работает под управлением Windows, то нажмите по первой гиперссылке, ознакомьтесь с правилами использования и поставьте галочку в единственном пункте.
  3. В конце нажмите на кнопку «Download» для скачивания архива с Android SDK.

Остается немного подождать, пока установка будет успешно завершена. После чего вы можете открыть архив и ознакомиться с расположенными там папками.

А вообще, если вам нужен только ADB и Fastboot, то все эти файлы можно без проблем найти в интернете (например, на форуме 4PDA). Для работы с ними даже не требуется полностью устанавливать Android Studio или скачивать целый архив Android SDK.

Таким образом, мы рассмотрели, как установить Android SDK на компьютер. Для загрузки необходимых компонентов вам необходимо воспользоваться официальным сайтом, где расположены все инструменты для разработчиков. А еще нужно отметить, что при создании приложений на Unity скачать нужный набор компонентов можно посредством постановки одной галочки (возле соответствующего пункта). Остались дополнительные вопросы? Тогда смело задавайте их в комментариях под статьей!

Читайте также:  Отключить мониторы mac os

How To Set Android SDK Path In Windows And Mac

After you installed android studio, you still need to configure some android SDK environment variables then you can use it easily. This article will tell you how to correctly configure Android SDK environment variables such as ANDROID_HOME, PATH on Windows and macOS.

1. Configure Android SDK Variable In Windows.

1.1 Get Android SDK Install Directory Path.

Before you can configure it, you should first get the android SDK install directory follow below steps.

  1. Open android studio, click File —> Settings menu item in the top men bar.
  2. Expand Appearance & Behavior —>System Settings —>Android SDK menu item on the left side of the popup window. Then you can find the Android SDK Location directory path on the right side ( in this example, the Android SDK location path is C:\Users\Jerry\AppData\Local\Android\Sdk ), remember it.

1.2 Set %ANDROID_HOME% and %Path% System Environment Variable.

  1. Right-click the computer icon in Windows file explorer left side, click Properties menu item in the popup menu list. This will open the windows system configuration window.
  2. Click the Advanced system settings link on left panel, it will popup the System Properties window, click the Environment Variables button to open Environment Variables window.
  3. Click the New… button to add a new system variable, input ANDROID_HOME as the variable name, and input the Android SDK location directory path ( such as C:\Users\Administrator\AppData\Local\Android\Sdk ) as the variable value.
  4. Select variable Path and click Edit button and add ;%ANDROID_HOME%\tools;%ANDROID_HOME%\tools\bin;%ANDROID_HOME%\platform-tools at the end of its value. Please note the ; must be English character otherwise it will not take effect .
  5. Click OK to close the system environment variables settings window, open a dos window, type command adb in it. If you see output like below that means the android SDK path variable has been configured successfully.

2. Configure Android SDK Variable In macOS.

  1. Open Android Studio on macOS, then click Android Studio —> Preferences menu item at the left top toolbar.
  2. Input search keyword sdk in the search box of the popup Preferences dialog window left side.
  3. It will focus on the Android SDK menu item on the left side, and you can get the Android SDK Location directory path value on the right side Android SDK Location text box.
  4. Generally, the Android SDK is installed in the /Users/user-name/Library/Android/sdk folder on macOS.
  5. If you can not find the above folder in macOS finder or terminal, this is because the Library folder is a hidden folder by default, you should make the hidden folder visible by executing the command $ defaults write com. apple . finder AppleShowAllFiles TRUE in a macOS terminal window ( please read article How To Show Hidden Files In Mac OS Finder And Select Hidden Files In Html Upload File Form ).
  6. You can also see the hidden Library folder by opening a macOS Finder window, then click Go —> Go to Folder… menu item, and input

/Library in the popup dialog input text box, then click Go button.

  • This is also another method to show the hidden Library folder, open a macOS Finder window, click Go —> Home menu item. Right-click the home folder, then click the Show View Options menu item in the popup menu list. Check the Show Library Folder checkbox.
  • Use nano to create or edit user bash profile in user home directory.
  • Add ANDROID_HOME and PATH environment variable in user bash profile.
  • Make the added system environment take effect.
  • Now open a terminal and run adb, you should also see something output like in windows.
  • Android SDK path not specified

    I already installed the android studio but i am having a problem to proceed ahead, and the problem is Android SDK path not specified, what does it mean, do i need to download something or what?Android SDK is having problem

    5 Answers 5

    Go through the following steps but first make sure your PC is connected to the internet.

    1. Open your Android Studio
    2. Go to the File menu and choose Settings
    3. After that from the left side of Settings window search Android SDK, click on it and on right side click Edit.
    4. Then from SDK Setup Window Click Next and Another window will be opened click Next.
    5. Finally, the installation starts and Android Studio download the SDK and necessary files.

    Yes, you need to download the Android SDK. Then you need to add the location on your computer to Android Studio.

    The SDK can be downloaded by opening a workspace in Android Studio, and finding a button with an arrow pointing down. If you hover over it, it should say «Open SDK manager». Press it and download the packages you need.

    Yes, Before installation it will ask you options.Just tick mark Android SDK.

    The installer is misleading making you think the SDK is already there. After much searching I figured this out:

    Cancel the dialogue box asking for the Android SDK path and do the following:

    Open Android Studio IDE. Find the down arrow icon, should be second last icon in the toolbar. Click that. You will see a path for Android SDK Location:. Click the edit link to the right of that. This will bring up the SDK Components Screen. If you can check the boxes there, check them. They may already be checked or they may be disabled. You can leave the path as is, for me its:

    Depending on whether you had Android Studio before it may say it has detected a previous version and it will only download the components it needs. This is normal. Now click the NEXT button. A confirmation screen will come up with Setup Type and SDK Folder. If you want to change your SDK Folder this is your last chance, if not, click NEXT again.

    It may bring up a Terms & Conditions screen, click the Accept radio button then NEXT. It will go and download the Android base SDK. When it’s completed click FINISH.

    You will then be taken to the Platforms screen where you can select which Android platforms you want to support. ie, Android 9.0 (Pie), Android 8.1 (Oreo). Select all the platforms you need then click APPLY.

    The downloader will grab all those packages for you. Next, click the SDK Tools tab. Check the boxes of the tools you want and click APPLY. It may bring up a Terms & Conditions screen again, click the Accept radio button then NEXT. When completed just click FINISH and you’re good to go.

    Читайте также:  Контекстное меню linux mint
    Оцените статью