С users username appdata local android sdk system images android 28

Где можно задать свои расположения пакета SDK для Android?

в Visual Studio перейдите в меню сервис параметры > Xamarin > Android Параметры , чтобы просмотреть и задать расположение пакет SDK для Android:

Расположение по умолчанию для каждого пути выглядит следующим образом:

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

C:\Program Филес\жава\ jdk1.8.0_131

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

C:\Program Files (x86) \Андроид\андроид-СДК

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

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

Обратите внимание, что номер версии NDK может отличаться. Например, вместо android-ndk-r13b может быть более ранняя версия, например android-ndk-r10e.

Чтобы задать расположение пакета SDK для Android, введите полный путь к каталогу пакета SDK для Android в поле Расположение пакета SDK для Android. Вы можете перейти к расположению пакета SDK для Android в проводнике, скопировать путь из адресной строки и вставить этот путь в поле Расположение пакета SDK для Android. Например, если расположение пакет SDK для Android находится на к:\усерс\усернаме\аппдата\локал\андроид\сдк, очистите старый путь в поле Расположение пакет SDK для Android , вставьте этот путь и нажмите кнопку ОК.

в Visual Studio для Mac перейдите к параметрам проекты > расположение пакета SDK для > Android. На странице Android перейдите на вкладку Расположения, чтобы просмотреть и задать расположение пакета SDK:

Расположение по умолчанию для каждого пути выглядит следующим образом:

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

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

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

/usr

Обратите внимание, что номер версии NDK может отличаться. Например, вместо android-ndk-r14b может быть более ранняя версия, например android-ndk-r10e.

Чтобы задать расположение пакета SDK для Android, введите полный путь к каталогу пакета SDK для Android в поле Расположение пакета SDK для Android. Можно выбрать папку пакет SDK для Android в Finder, нажать клавиши CTRL + ⌘ + I , чтобы просмотреть сведения о папке, щелкнуть и перетащить путь справа от раздела :, скопировать, а затем вставить его в поле Расположение пакет SDK для Android на вкладке расположения . Например, если расположение пакет SDK для Android находится в папке

/либрари/девелопер/андроид/СДК, очистите старый путь в поле Расположение пакет SDK для Android , вставьте этот путь и нажмите кнопку ОК.

Источник

Где находится папка Android SDK?

Я создал с Adobe Flash an .apk приложение через Air для Android. Теперь я хотел бы сделать его готовым для Blackberry App World с помощью этого Blackberry online packager:https://bdsc.webapps.blackberry.com/android/bpaa/apk-compatibility-check

где я могу найти папка Android SDK на моем ПК с Windows? Это пакет с установкой Adobe Flash Pro?

6 ответов

предполагая, что вы используете Windows, он находится в C:\Program Files\Android\SDK (Я думаю). в противном случае просто загрузите его как Zip снова.

Если вы используете Android studio, то.

  1. откройте Android SDK Manager.
  2. в верхней части окна, чуть выше списка SDK, он говорит » путь SDK:».

Я настроен по умолчанию, и путь для меня-это:

Если вы используете windows,

надеюсь, что это помогает.

посмотрите его с помощью Android SDK MAnager. Не всегда очевидно, как открыть Android SDK manager. Прежде всего, SDK Manager-это функция Android Studio; откройте ее. В Android Studio (начиная с версии 2.3.3 в Windows) менеджер SDK выбирается значком на большой панели инструментов, который имеет непонятный глиф. Если вы не можете найти его, то вместо этого вы можете выбрать Tools—>Android—>SDK Manager. В Диспетчере SDK выберите внешний вид и поведение—>Системные настройки—>Android SDK; и прочитайте поле «расположение SDK». Надеюсь, вы сможете выяснить, что вам нужно оттуда.

Я пришел к этому вопросу после того, как та же проблема в игровом движке Unity.

искать local.properties файл в браузере файлов Android Studio. Он будет содержать расположение SDK.

когда он говорит, что он может иметь только символы ASCII в вашем имени пользователя, если вы пытаетесь использовать буквы, такие как Ç â ã , Это не сработает. Попробуйте изменить ã to a (без знаков препинания).

Источник

How to install Android SDK and setup AVD Emulator without Android Studio

If you are trying to develop to Android, you probably will end up installing the Android Studio to get the Android SDK and the AVD Emulator working properly.

Читайте также:  Xcom или ufo для андроид

But if you are using another code editor, like Sublime Text or VSCode, installing the Android Studio will just mess up with your setup and consume your precious RAM for no good reason.

I had a hard time figuring out how to properly do this setup due the lack of documentation about it, so i hope this article helps you. 🙂

Recommended previous knowledge:

  • SDK (Standard Development Kit); Read about on Wikipedia;
  • AVD (Android Virtual Device); Read about on docs;
  • CLI (Command Line Interface); Read about on Wikipedia;
  • Android API levels; Read about on Vanderbilt University;
  • How to open, navigate and execute files in your OS terminal;
  • Know what are environmental variables;

Understanding the Android SDK

Basically, the Android SDK is a bunch of packages necessary to develop for Android.

These packages stays in subfolders of a folder called “sdk” (or “android-sdk” sometimes). You do not need to know how these packages really work, just what they do.

The picture below is my Android SDK folder, these are the basic packages you will need in order to get everything working properly.

Here is a brief explanation of each package:

  • tools: This package is mainly used to manage the other packages and to create AVD’s;
  • emulator: As the name suggest, this is the Android emulator;
  • platform-tools: Some tools to communicate with Android devices when you plug then in your computer;
  • patcher: This package is automatically downloaded by the SDK. I didn’t find what exactly this is for, so just leave it as it is;

The folders bellow contain sub-folders with the packages for each Android API level.

  • platforms: The platform packages are required to compile your app for the specified API level.
  • system-images: These are the android images used in the emulator.
  • build-tools: These are necessary to build your Android apps

Installing the Android SDK

In order to install the SDK we will use the Command Line Tools. These are some quite simple CLI’s used to manage the Android SDK. You can read the documentation here for more details.

Step 1 — Download the tools package

First, you need to download the tools package. And with this package you can download the others.

  1. First, go to the Android Studio download page: https://developer.android.com/studio;
  2. Then click in “ Download Options”;
  3. There you will find a table named “ Command line tools only”;
  4. This table contain some zip files. Download the appropriate file for your system ( Windows, Mac or Linux);
  5. Extract this zip and you will get a folder called tools: This is the tools package i explained earlier;

Create a folder anywhere you prefer to place your SDK. I recommend you to stick with one of these commonly used places:

  • Globally: C:\Android\sdk or C:\android-sdk (this is not default, but i usually set my SDK here on Windows)
  • One user only: C:\Users\ \AppData\Local\Android\sdk
  • Globally: /Library/Android/sdk
  • One user only: /Users/ /Library/Android/sdk

And move the tools folder to this new sdk folder. Make sure you have admin access to this folder and any sub-folders inside it, or the tools package will fail to download new packages.

Note: You can also download a pre-build package for your SO (like the one available on Ubuntu repository). But i do not recommend you do to so, because they probably will not be updated and will be harder to manage, since it was automatically installed.

Step 2— You need Java 8!

The Android SDK packages require Java 8. If you do not have it, you need to download. If you are using a newer version, you have to downgrade to Java 8 or you will eventually get some errors, because it is not compatible.

If you do not have the Java 8 SDK, here is how you can install it:

On Ubuntu run these commands:

  • # sudo apt-get update
  • # sudo apt-get install openjdk-8-jdk

Sorry for MacOS users, i don’t know how to install it on this OS.

Step 3 — Download the essential packages

Now, download the platform-tools and the emulator packages, because they contain some CLI binary files you will need later. I decided to download these packages first in order to set all the necessary environment variables at once and make the rest of the process easier.

Open a terminal window (you need to use a terminal, not the file explorer), go to your sdk folder and navigate to the /tools/bin directory.

This folder contain the SDKManager binary: this is a CLI used to list the available packages in the Google’s repository and download, update or remove them from your SDK folder.

Читайте также:  Прохождения hitman sniper android

The bellow command will list all packages installed (the first items on the list) and all packages available to download:

To download the packages, simply copy the package names and pass it as a parameter to the SDKManager CLI using the terminal:

# ./sdkmanager platform-tools emulator

If you open your sdk folder you should see these packages folders there.

Step 4 — Set your environmental variables

You need to set the below environmental variables containing the path to our SDK, so any running program can find it in your pc:

ANDROID_SDK_ROOT = Path to your SDK folder

ANDROID_HOME = The same as ANDROID_SDK_ROOT. This variable is now deprecated, but i recommend setting it because some programs still using it to locate your sdk.

And add these folders to the PATH variable, making their binary files accessible from everywhere:

To add the environment variables on WIndows, just follow these steps:

  1. Open the “Control Panel”;
  2. Go to “ System and Security” option in the side menu;
  3. In the window “ System Properties” open the tab “ Advanced”;
  4. Click in the button “ Environment Variables” in the bottom of the page;
  5. In the “ Environment Variables” window you will see two tables: “User Variables” and ” System Variables”.
  6. If you created your sdk folder for one user only, set the variables in the “ User Variables” table;
  7. But, if you create your sdk folder globally, set the variables in the “ System Variables” table instead;

On Linux, you can set your environment variables in many places. So i choose the ones I found the most appropriate:

    If you created your sdk folder for one user only, set your environment variables in the file

/.bashrc;

  • If you created your sdk folder globally, set your environment variables in the /etc/environment file. But, be very careful! if you do something wrong with the path variable in this file you will broke your system (yes, i did this). This file is not a script, so you can’t use variables like $HOME, you need to write the full path to the folders. Variables declared in this file just will take effect after you logout .
  • Here is how i set these variables in my Ubuntu, using the file /etc/environment:

    And sorry again, no MacOS instructions for this task.

    You can find more about these environmental variables in the oficial docs here.

    Now your SDK is ready! If you do not need to run the emulator there’s no need to follow the next steps.

    Step 5 — Download the platform specific packages you want

    You need more three packages: The platform, the system-image and the build-tools. You can download these packages for any Android version you prefer. In this article, i will download the packages for the API Level 28.

    Use the “ sdkmanager — list” command to find these packages and download them using the command “ sdkmanager

    Here’s an example:

    Step 5 — Create a AVD device

    Creating a AVD device is a simple task: run the AVDManager command (this is a binary file located in the tools/bin folder of your sdk) with the create avd option, a name for the new AVD and the image you want to use.

    Here is a example:

    # avdmanager create avd — name android28 — package “system-images;android-28;default;x86”

    You will be asked if you want to alter some configurations. You can also modify these configurations later in the file config.ini, located in the avd folder (this folder usually is created in your user folder, under the android directory). The currently active configurations can be find in the file hardware-qemu.ini (this file just will be created after the emulator runs for the first time).

    Step 6 — Run the Android Emulator

    Now you just need to run the emulator command (remember that we added this package to the environmental variables?):

    The emulator take some time to init for the first time. But if you done everything correctly you should see this screen:

    Источник

    Не удается найти папку SDK внутри пути Android-студии, и менеджер SDK не открывается

    Я установил Android Studio за миллионный раз, но когда я перехожу в C:\Program Files\Android\Android Studio, я не могу найти папку с именем «SDK», не могу найти ее где-нибудь на компьютере или. Кроме того, диспетчер SDK не открывается, и я думаю, это проблема, связанная с первой.

    Читайте также:  Размеры буферов журнала android

    14 ответов

    Если вы загрузили пакет AS + SDK:

    По умолчанию SDK должен находиться в C:\Users\%USERNAME%\AppData\Local\Android

    Если в этом месте отсутствует, применяется одна из следующих причин: вы выбрали нестандартное местоположение, вы пропустили установку SDK вообще или (маловероятно), что они изменили местоположение установки по умолчанию.

    Примечание # 1: каталог AppData по умолчанию скрыт. Если у вас стандартная конфигурация Windows, путь, который я дал, должен работать «как есть» (нажмите Win + R → вставьте путь → Enter).

    Примечание №2: вы никогда не найдете SDK в каталоге Android Studio, если вы явно не разместили его там.

    Если вы получили автономный SDK с помощью других средств:

    Расположение SDK может отличаться (по моему опыту), однако (при условии конфигурации по умолчанию) вы, скорее всего, найдете его в C:\Program Files\Android или C:\Users\%USERNAME%\

    Инструменты > Android > SDK Manager > там вы увидите путь к SDK

    Если у вас его нет в C:\Users\%USERNAME%\AppData\Local\Android (это у большинства людей есть), возможно, у вас его нет. Откройте «Инструменты» > «Android» > «Менеджер SDK», а затем нажмите «Android SDK». В верхней части диспетчера SDK будет указано местоположение SDK. Нажмите «Изменить». Если у вас нет Android SDK, он предоставит вам возможность установить его в определенном месте. Установите его, и Android Studio должна работать!

    Папка SDK по defalut находится в C:\Users\ \AppData\Local\Android . И папка AppData скрыта в окнах. Включите отображение скрытых файлов в папке и загляните внутрь.

    Если папка SDK присутствует в системе, ее можно найти в папке C:\Users\%USERNAME%\AppData\Local\Android

    Если папка Android/SDK не найдена После завершения загрузки и установки Android Studio вам нужно запустить студию. При первом запуске студии Android у нас есть возможность загрузить дополнительные компоненты, в том числе у нас есть SDK. При загрузке компонентов вы можете найти SDK под Appdata (C:\Users\%USERNAME%\AppData\Local\Android)

    Убедитесь, что все папки видны. нажмите «Пуск» > панель управления > Внешний вид и персонализация > Покажите скрытые файлы и папки, затем нажмите «Показать скрытые файлы, папки и диски», Файл должен находиться в папке C:\Users\Username\AppData\Local\Android, как указано выше. в противном случае вы можете проверить, открыв Android SDK Manager — вверху слева по пути SDK.

    Когда вы устанавливаете андроид студию просто скачав с https://developer.android.com/studio/install.html, иногда папка sdk не будет появляться в C:\Users\home\AppData\Local\Android Location.. Но чтобы установить андроид студию, нам нужно установить путь для андроида в этом месте. Так что просто 1) запустить настройку Android.
    2) следуйте инструкциям и Android Studio автоматически загрузит папку SDK. (отобразится окно «Загрузка компонентов»). После завершения установки снова проверьте вышеуказанный путь. папка sdk теперь появится.

    Если вы используете Android-студию, перейдите в файл → структура проекта на левой панели нажмите на местоположение SDK. вы найдете путь, где находится ваш sdk.

    Я нашел это в /Users//Library/Android/SDK

    Пришлось открыть Android studio и пройти через мастера. Студия Android установит SDK для вас.

    Проверьте, правильно ли USERNAME является правильным, для меня новый USERNAME был создан с моим расширением прокси.

    Я столкнулся с той же проблемой. И я могу решить эту проблему, удалив предыдущую версию, которая у меня была, и удалив проекты студии Android и переустановив ее.

    А затем перейдите в Settings-> Android Studio → нажмите на Edit, чтобы указать местоположение студии, он распознает требуемый запрос, если вы хотите скачать SDK,

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

    Я надеюсь, что это поможет.

    Система: Ubuntu 16.04 LTS, но вы можете попробовать эти шаги в соответствии с вашими системами.

    Если файл SDK присутствует, его, скорее всего, следует найти по адресу /home/USERNAME/Android/sdk

    USERNAME должно быть заменено вашим именем пользователя

    Если его нет, проверьте указанный путь SDK для проекта в Android Studio. File > Project Structure > sdk path

    Каталог sdk должен присутствовать в указанном пути. Если его там нет, откройте файл: PROJECT_DIRECTORY/android/local.properties

    PROJECT_DIRECTORY необходимо заменить именем вашего проекта.

    Если файла нет, создайте его. Затем добавьте следующую строку в зависимости от того, где вы найдете каталог sdk.

    Если sdk есть в /home/USERNAME/Android/ sdk.dir =/home/tanya/Android/sdk /home/USERNAME/Android/ : добавьте строку: sdk.dir =/home/tanya/Android/sdk

    Если SDK не существует в /home/USERNAME/Android/ : добавить строку: sdk.dir =/home/tanya/Android/

    Если путь, указанный для каталога sdk в » Структуре проекта «, полностью отличается и каталог sdk присутствует в указанном месте, добавьте строку: sdk.dir = SPECIFIED_SDK_PATH

    Добавьте указанный путь SDK вместо SPECIFIED_SDK_PATH

    Источник

    Оцените статью