Sdscompany.ru

Компьютерный журнал
0 просмотров
Рейтинг статьи
1 звезда2 звезды3 звезды4 звезды5 звезд
Загрузка...

Developer android com sdk index html

Эмулятор Android Studio SDK

Android SDK является всесторонней аппаратной начинкой для создания и воспроизведения продуктов для ОС Гугл Андроид, которая часто используется в актуальных мобильных девайсах, телефонах и таблетах. Пакет программ Android Software Development Kit можно загрузить безвозмездно в качестве архивного файла, а потом открыть в любом комфортном месте.

Аппаратный софт Android SDK для Windows создан по модульному методу, то есть, блоки можно вписывать или устранять, если это потребуется. Для таких действий требуется файл android sdk manager.exe, который грузит нужные элементы в формате диалога или в режиме текстовой строки. Если устанавливать по стандарту — менеджер Андроид СДК предложит скачать свежие модификации блоков для Андроид, но они, скорее всего, не потребуются сразу.

Поэтому лучше отменить подчеркивание (блоки долгое время грузятся) и указать Android SDK Platform-tools или удостовериться в том, что он уже стоит (интегрирован в новую версию Андроид СДК на русском языке).

Android SDK platform — удобная вещь не только для создателей ПО для Андроид, но и простым юзерам, которые планируют в будущем купить портативный девайс на основе Андроид. Смартфон поможет выбрать программы и обеспечит их правильной работой на реальном девайсе, заранее ознакомившись с их работой и возможностями портала в режиме дублирования.

Рекомендую ознакомиться с видео-инструкциями по установке Android SDK:

И вот эти видео:


Если это видео не помогло, ниже будет подробная пошаговая текстовая версия, а также в конце ряд уроков по настройке Андроид Студии.

Особенности платформы

Android Studio подразумевает собой несколько сборок, считается полноценной альтернативой Эклипс и позволяет создавать приложения любой степени сложности. В нем есть инструменты, созданные для обозначения и упаковки кода, что упрощает задачу при работе с большими порциями программных компонентов.

Применяется система управления Gradle, которая делает процесс создания кодов гибким. Только создатель должен понимать архитектуру программ Андроид и знать языки Java и API.

Среди плюсов можно отметить:

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

Также можно в режиме онлайн видеть все изменения, выполняемые в проекте. Просматривать дизайн утилит можно на разных девайсах, с разными настройками системы и разрешением экрана.

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

Многие задаются вопросом: как установить Андроид СДК? Такая распространенная ОС, как Андроид, не работает без производительных и простых средств создания. И именно здесь Андроид СДК получил выгодные преимущества. Давайте узнаем, как установить СДК, и увидим, что он может дать.

Готовимся к установке

Андроид СДК на русском работает на многих современных ОС под графикой x86 и x86_64, в частности, Виндоус, многие установочные пакеты Линукс и МАК ОС Х. Также на компьютере должен стоять Java Development Kit, который требуется в требуемом порядке для многих функций СДК, ведь Андроид тесно связан с Java.

Нужно добавить, что для интегрированного эмулятора Андроид требуется качественная начинка ПК, как и для других свежих средств разработки.

Устанавливаем при помощи Android Studio

На протяжении длительного времени Андроид Студио является официальной средой для создания под Андроид. Там уже есть все нужное, и запускается в одно нажатие. Для этого нужно запустить Integrated Development Enviroment, и вы тоже сможете применять все функции СДК, установленные внутри интегрированной среды.

Загрузить Андроид Студио можно на официальном сайте. Также можно найти множество полезных статей по работе с Андроид СДК менеджер, но, увы, они есть только на иностранном языке.

Устанавливаем отдельный файл

Если вы планируете применять такой мощнейший системный блок, как Андроид Студио, или у вас уже стоит Intellij IDEA, на базе которой функционирует интегрированная среда, то вы можете загрузить Андроид СДК юнити отдельно. Но никаких других достоинств этот способ установки не дает, поэтому лучше использовать предыдущий вариант.

Чтобы загрузить отдельный перечень системных блоков для создания без Integrated Development Enviroment нужно зайти на сайт Android Developer. Не обращая внимания на упоминания об Андроид Студио, нужно промотать страницу вниз и найти категорию Get just command line tools — можно также использовать опцию поиска.

После загрузки оптимального файла для вашей ОС, открываете в любом подходящем месте для хранения — лучше отметить хранение SDK в Intellij IDEA (Project Structure > SDK).

Запуск и функции

Чтобы пользоваться всеми функциями Андроид SDK, нужно открыть установочный файл Андроид, если у вас стоит Виндоус, или в терминале осуществить команду Андроид» в папке «инструменты вашего СДК для включения на Линукс и Марс ОС Х.

Вам предложат активировать инструменты для различных версий API, чем больше вы установите — тем лучше. Скачивание файлов может затянуться по времени, все зависит от вашей системы и скорости онлайн-подключения.

А теперь отметим главные инструменты:

  1. Platform-тулс состоит из главных tools кооперации с Андроид — ADB, fastboot и systrace.
  2. Андроид Debugging Bridge помогает выявить сбои в работе приложений на мобильном девайсе, а также некоторые операции по работе с АРК.
  3. Fastboot — известный всем фанатам микропрограммирования своих Андроид-устройств, функционирует вместе с АДБ и позволяет настроить работу девайса еще до скачивания ОС, а systrace делает анализ скорости работы процессов в ОС.
  4. Build-тулс функционируют вместе с Platform-инструменты, но их можно обновлять каждый отдельно.

Более того, в СДК присутствует современный эмулятор ОС Андроид, в котором вы сможете проверить любые приложения и возможности обновленных версий Андроид. Но для качественной имитации требуется мощное физическое составляющее ПК, а также рекомендовано применять имитацию работы x86.

  1. AVD Manager. Этот инструмент поставляется в комплекте с Андроид Студио. Это — эмулятор для загрузки утилит Андроид на вашем ПК. Это полезный инструмент, позволяющий пробовать свои приложения, без потребности установки их на физические устройства. Можно воспроизводить множество эмуляторов с разными диагоналями экрана, спецификой и версией Андроид. Вы увидите, каким получится ваш шедевр на любом девайсе, тем самым, обеспечив поддержку среди востребованных гаджетов.
  1. Android Device Monitor. Еще один интегрированный инструмент, позволяющий выполнять проверку вашей аппаратуры или виртуального девайса на момент его работы. Этот инструмент идеально подходит для проверки скорости и мощности ваших приложений.
  2. Android Debu Bridge. Это инструмент текстовой строки, с помощью которого можно дублировать файлы на устройство и обратно, скачивать и удалять приложения, осуществлять резервные копии и восстанавливать данные на всех девайсах на основе Андроид. Он поставляется вместе с Андроид Студио.

Скачать Android SDK Tools на русском

Вы можете скачать файлы Андроид СДК для Windows с официального сайта:

Зачем необходим Андроид СДК?

Андроид СДК является всесторонним набором инструментов, которая понадобится каждому юзеру телефона или таблета, функционирующего под управлением ОС Андроид.

У обычного пользователя есть возможность получить доступ к нужным логам, воссоздать неработающий девайс и начать пользоваться полноценном эмулятором, тогда как для разработчика это та самая нужная база, чтобы начать производить игры и программы для Андроид.

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

Этот сайт использует Akismet для борьбы со спамом. Узнайте как обрабатываются ваши данные комментариев.

SDK Platform release notes

This page provides release information about the SDK packages available for download from the SDK Manager, in the SDK Platforms tab.

Each SDK Platform version includes the following packages:

  • The Android SDK Platform package. This is required to compile your app for that version.
  • Several System Image packages. At least one of these is required to run that version on the Android Emulator.

Each platform version includes a system image for each supported form factor (handsets, Android TV, and Android Wear). Each form factor may offer variations to match your computer’s processor architecture (such as Intel x86 and ARM EABI). System images labeled Google APIs include access to Google Play services and those labeled Google Play also include Google Play Store.

  • The Sources for Android package. This includes the source files for the platform. Android Studio may show lines of code from these files while you debug your app.
  • The revision numbers listed below are for the Android SDK Platform package only. The system images may receive separate updates, usually to resolve bugs with the emulator. There are no release notes for the system images, but you should always keep them up to date.

    Читать еще:  Структура языка php

    Important: To see the most recent Android system components in the Android SDK Manager, you must first update SDK Tools to the most recent release and restart the SDK Manager.

    Android 11

    For details about the platform changes, see Android 11 Developer Preview.

    Android 10 (API level 29)

    For details about the platform changes, see Android 10 for Developers.

    Revision 4 (December 2019)

    This revision fixes a bug that was impacting the Android Studio auto-complete feature.

    Android 9 (API level 28)

    For details about the platform changes, see Android 9 for developers.

    Revision 1 (August 2018)

    Released to stable channel (no longer in preview).

    Android 8.1 (API level 27)

    For details about the platform changes, see Android 8.1 for developers.

    Revision 1 (December 2017)

    Released to stable channel (no longer in preview).

    Android 8.0 (API level 26)

    For details about the platform changes, see Android 8.0 for developers.

    Revision 2 (August 2017)

    Released to stable channel (no longer in preview).

    Android 7.1 (API level 25)

    For details about the platform changes, see Android 7.1 for developers.

    Revision 3 (December 2016)

    Incremental update. Released as the final Android 7.1.1 (no longer in preview).

    • Android SDK Platform-Tools 25.0.1 or higher is required.
    • Android SDK Build-Tools 25.0.1 or higher is required.

    Revision 2 (November 2016)

    Incremental update. Released as Android 7.1.1 Developer Preview 2. For more information, see the Android 7.1 API Overview.

    • Android SDK Platform-Tools 25.0.1 or higher is required.
    • Android SDK Build-Tools 25.0.1 or higher is required.

    Revision 1 (October 2016)

    Initial release for Android 7.1 (API level 25). Released as Android 7.1 Developer Preview 1. For more information, see the Android 7.1 API Overview.

    • Android SDK Platform-Tools 25.0.0 or higher is required.
    • Android SDK Build-Tools 25.0.0 or higher is required.

    Android 7.0 (API level 24)

    For details about the platform changes, see Android 7.0 for developers.

    Revision 1 (August 2016)

    Initial release for Android 7.0 (API level 24). For more information, see the Android 7.0 API Overview.

    • Android SDK Platform-tools r24 or higher is required.
    • Android SDK Tools 24.0.0 or higher is required.

    Android 6.0 (API level 23)

    For details about the platform changes, see the Android 6.0 changes and Android 6.0 APIs.

    Revision 2 (November 2015)

    Fixed bugs in the layout rendering library used by Android Studio.

    • Android SDK Platform-tools r23 or higher is required.
    • Android SDK Tools 24.3.4 or higher is required.

    Revision 1 (August 2015)

    Initial release for Android 6.0 (API level 23). For more information, see the Android 6.0 API Overview.

    • Android SDK Platform-tools r23 or higher is required.
    • Android SDK Tools 24.3.4 or higher is required.

    Android 5.1 (API level 22)

    For details about the platform changes, see the Lollipop overview and Android 5.1 API changes.

    Revision 1 (March 2015)

    Initial release for Android 5.1 (API level 22). For more information, see the Android 5.1 API Overview.

    • Android SDK Platform-tools r22 or higher is required.
    • Android SDK Tools 23.0.5 or higher is required.

    Android 5.0 (API level 21)

    For details about the platform changes, see the Lollipop overview and Android 5.0 API changes.

    Revision 2 (December 2014)

    Updated layouts in the Support Library and fixed various issues.

    • Android SDK Platform-tools r21 or higher is required.
    • Android SDK Tools 23.0.5 or higher is required.

    Revision 1 (October 2014)

    Initial release for Android 5.0 (API level 21). For more information, see the Android 5.0 API Overview.

    • Android SDK Platform-tools r21 or higher is required.
    • Android SDK Tools 23.0.5 or higher is required.

    Android 4.4W (API level 20)

    This version makes KitKat available for Android Wear.

    Revision 2 (October 2014)

    Updated the rendering library.

    • Android SDK Platform-tools r20 or higher is required.
    • Android SDK Tools 23.0 or higher is required.

    Revision 1 (June 2014)

    Initial release for Android Wear.

    • Android SDK Platform-tools r20 or higher is required.
    • Android SDK Tools 23.0 or higher is required.

    Android 4.4 (API level 19)

    For details about the platform changes, see the KitKat overview and Android 4.4 API changes.

    Revision 2 (December 2013)

    Maintenance release. The system version is 4.4.2. For more information, see the Android 4.4 API Overview.

    Dependencies: Android SDK Platform-tools r19 or higher is required. Android SDK Tools 22.3 or higher is recommended.

    Revision 1 (October 2013)

    Initial release. The system version is 4.4. For more information, see the Android 4.4 API Overview.

    Dependencies: Android SDK Platform-tools r19 or higher is required. Android SDK Tools 22.3 or higher is recommended.

    Android 4.3 (API level 18)

    For details about the platform changes, see the Jelly Bean overview and Android 4.3 API changes.

    Revision 2 (August 2013)

    Maintenance update. The system version is 4.3.

    Dependencies: Android SDK Platform-tools r18 or higher is required. Android SDK Tools 22.0.4 or higher is recommended.

    Revision 1 (July 2013)

    Initial release. The system version is 4.3.

    Dependencies: Android SDK Platform-tools r18 or higher is required. Android SDK Tools 22.0.4 or higher is recommended.

    Android 4.2 (API level 17)

    For details about the platform changes, see the Jelly Bean overview and Android 4.2 API changes.

    Revision 2 (February 2013)

    Maintenance update. The system version is 4.2.2.

    Dependencies: SDK Tools r21 or higher is required.

    Revision 1 (November 2012)

    Initial release. The system version is 4.2.

    Dependencies: SDK Tools r20 or higher is required.

    Android 4.1 (API level 16)

    For details about the platform changes, see the Jelly Bean overview and Android 4.1 API changes.

    Revision 3 (October 2012)

    Maintenance update. The system version is 4.1.2.

    Dependencies: SDK Tools r20 or higher is required.

    Revision 2 (July 2012)

    Maintenance update. The system version is 4.1.1.

    Dependencies: SDK Tools r20 or higher is required.

    Revision 1 (June 2012)

    Initial release. The system version is 4.1.0.

    Dependencies: SDK Tools r20 or higher is required.

    Android 4.0.3 (API level 15)

    Revision 3 (March 2012)

    Maintenance update. The system version is 4.0.4.

    Note: This system image includes support for emulator hardware graphics acceleration when used with SDK Tools r17 or higher. (more info)

    Dependencies: SDK Tools r17 or higher is required.

    Revision 2 (January 2012)

    Maintenance update. The system version is 4.0.3.

    Dependencies: SDK Tools r14 or higher is required.

    Revision 1 (December 2011)

    Initial release. The system version is 4.0.3.

    Dependencies: SDK Tools r14 or higher is required.

    Android 4.0 (API level 14)

    Android 4.0, Revision 2 (December 2011)

    Maintenance update. The system version is 4.0.2.

    Dependencies: SDK Tools r14 or higher is required.

    Android 4.0, Revision 1 (October 2011)

    Initial release. The system version is 4.0.1.

    Dependencies: SDK Tools r14 or higher is required.

    Android 3.2 (API level 13)

    Android 3.2, Revision 1 (July 2011)

    Android 3.1 (API level 12)

    Android 3.1, Revision 3 (July 2011)

    Requires SDK Tools r12 or higher.

    Improvements to the platform’s rendering library to support the visual layout editor in the ADT Eclipse plugin. This revision allows for more drawing features in ADT and fixes several bugs in the previous rendering library. It also unlocks several editor features that were added in ADT 12.

    Android 3.1, Revision 2 (May 2011)

    Requires SDK Tools r11 or higher.

    Fixes an issue with the visual layout editor rendering library that prevented Android 3.1 from running in ADT.

    Android 3.1, Revision 1 (May 2011)

    Requires SDK Tools r11 or higher.

    Android 3.0 (API level 11)

    Android 3.0, Revision 2 (July 2011)

    Requires SDK Tools r12 or higher.

    Improvements to the platform’s rendering library to support the visual layout editor in the ADT Eclipse plugin. This revision allows for more drawing features in ADT and fixes several bugs in the previous rendering library. It also unlocks several editor features that were added in ADT 12.

    Читать еще:  Solvo team meeting html

    Android 3.0, Revision 1 (February 2011)

    Requires SDK Tools r10 or higher.

    Android 2.3.3 (API level 10)

    Android 2.3.3, Revision 2 (July 2011)

    Requires SDK Tools r12 or higher.

    Improvements to the platform’s rendering library to support the visual layout editor in the ADT Eclipse plugin. This revision allows for more drawing features in ADT and fixes several bugs in the previous rendering library. It also unlocks several editor features that were added in ADT 12.

    Install Android Studio

    Setting up Android Studio takes just a few clicks.

    Windows

    To install Android Studio on Windows, proceed as follows:

      If you downloaded an .exe file (recommended), double-click to launch it.

    If you downloaded a .zip file, unpack the ZIP, copy the android-studio folder into your Program Files folder, and then open the android-studio > bin folder and launch studio64.exe (for 64-bit machines) or studio.exe (for 32-bit machines).

  • Follow the setup wizard in Android Studio and install any SDK packages that it recommends.
  • That’s it. The following video shows each step of the setup procedure when using the recommended .exe download.

    As new tools and other APIs become available, Android Studio tells you with a pop-up, or you can check for updates by clicking Help > Check for Update.

    To install Android Studio on your Mac, proceed as follows:

    1. Launch the Android Studio DMG file.
    2. Drag and drop Android Studio into the Applications folder, then launch Android Studio.
    3. Select whether you want to import previous Android Studio settings, then click OK.
    4. The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.

    That’s it. The following video shows each step of the recommended setup procedure.

    As new tools and other APIs become available, Android Studio tells you with a pop-up, or you can check for updates by clicking Android Studio > Check for Updates.

    Note: If you use Android Studio on macOS Mojave or later, you might see a prompt to allow the IDE to access your calendar, contacts, or photos. This prompt is caused by new privacy protection mechanisms for applications that access files under the home directory. So, if your project includes files and libraries in your home directory, and you see this prompt, you can select Don’t Allow.

    Linux

    To install Android Studio on Linux, proceed as follows:

      Unpack the .zip file you downloaded to an appropriate location for your applications, such as within /usr/local/ for your user profile, or /opt/ for shared users.

    If you’re using a 64-bit version of Linux, make sure you first install the required libraries for 64-bit machines.

  • To launch Android Studio, open a terminal, navigate to the android-studio/bin/ directory, and execute studio.sh .
  • Select whether you want to import previous Android Studio settings or not, then click OK.
  • The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.
  • Tip: To make Android Studio available in your list of applications, select Tools > Create Desktop Entry from the Android Studio menu bar.

    Required libraries for 64-bit machines

    If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command:

    If you are running 64-bit Fedora, the command is:

    That’s it. The following video shows each step of the recommended setup procedure.

    As new tools and other APIs become available, Android Studio tells you with a pop-up, or you can check for updates by clicking Help > Check for Update.

    Chrome OS

    Follow these steps to install Android Studio on Chrome OS:

    1. If you haven’t already done so, install Linux for Chrome OS.
    2. Open the Files app and locate the DEB package you downloaded in the Downloads folder under My files.

    Right-click the DEB package and select Install with Linux (Beta).

    Select whether you want to import previous Android Studio settings, then click OK.

    The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.

    After installation is complete, launch Android Studio either from the Launcher, or from the Chrome OS Linux terminal by running studio.sh in the default installation directory:

    That’s it. As new tools and other APIs become available, Android Studio tells you with a pop-up, or you can check for updates by clicking Help > Check for Update.

    Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.

    Download

    Before installing Android Studio or the standalone SDK tools, you must agree to the following terms and conditions.

    Terms and Conditions

    1. Introduction

    2. Accepting this License Agreement

    3. SDK License from Google

    4. Use of the SDK by You

    5. Your Developer Credentials

    6. Privacy and Information

    7. Third Party Applications

    8. Using Android APIs

    9. Terminating this License Agreement

    10. DISCLAIMER OF WARRANTIES

    11. LIMITATION OF LIABILITY

    12. Indemnification

    13. Changes to the License Agreement

    14. General Legal Terms

    You’re just a few steps away from building apps for Android!

    In a moment, you’ll be redirected to Installing the Android SDK.

    I have read and agree with the above terms and conditions

    Android Studio

    The official Android IDE

    • Android Studio IDE
    • Android SDK tools
    • Android 5.0 (Lollipop) Platform
    • Android 5.0 emulator system image with Google APIs

    Download Android Studio

    To get Android Studio or stand-alone SDK tools, visit developer.android.com/sdk/

    Intelligent code editor

    At the core of Android Studio is an intelligent code editor capable of advanced code completion, refactoring, and code analysis.

    The powerful code editor helps you be a more productive Android app developer.

    Code templates and GitHub integration

    New project wizards make it easier than ever to start a new project.

    Start projects using template code for patterns such as navigation drawer and view pagers, and even import Google code samples from GitHub.

    Multi-screen app development

    Build apps for Android phones, tablets, Android Wear, Android TV, Android Auto and Google Glass.

    With the new Android Project View and module support in Android Studio, it’s easier to manage app projects and resources.

    Virtual devices for all shapes and sizes

    Android Studio comes pre-configured with an optimized emulator image.

    The updated and streamlined Virtual Device Manager provides pre-defined device profiles for common Android devices.

    Android builds evolved, with Gradle

    Create multiple APKs for your Android app with different features using the same project.

    Manage app dependencies with Maven.

    Build APKs from Android Studio or the command line.

    More about Android Studio

    For more details about features available in Android Studio, read the guide to Android Studio Basics.

    If you have been using Eclipse with ADT, be aware that Android Studio is now the official IDE for Android, so you should migrate to Android Studio to receive all the latest IDE updates. For help moving projects, see Migrating to Android Studio.

    System Requirements

    Windows

    • Microsoft® Windows® 8/7/Vista/2003 (32 or 64-bit)
    • 2 GB RAM minimum, 4 GB RAM recommended
    • 400 MB hard disk space + at least 1 G for Android SDK, emulator system images, and caches
    • 1280 x 800 minimum screen resolution
    • Java Development Kit (JDK) 7
    • Optional for accelerated emulator: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality

    Mac OS X

    • Mac® OS X® 10.8.5 or higher, up to 10.9 (Mavericks)
    • 2 GB RAM minimum, 4 GB RAM recommended
    • 400 MB hard disk space
    • At least 1 GB for Android SDK, emulator system images, and caches
    • 1280 x 800 minimum screen resolution
    • Java Runtime Environment (JRE) 6
    • Java Development Kit (JDK) 7
    • Optional for accelerated emulator: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality

    On Mac OS, run Android Studio with Java Runtime Environment (JRE) 6 for optimized font rendering. You can then configure your project to use Java Development Kit (JDK) 6 or JDK 7.

    Linux

    • GNOME or KDE desktop
    • GNU C Library (glibc) 2.11 or later
    • 2 GB RAM minimum, 4 GB RAM recommended
    • 400 MB hard disk space
    • At least 1 GB for Android SDK, emulator system images, and caches
    • 1280 x 800 minimum screen resolution
    • Oracle® Java Development Kit (JDK) 7

    Tested on Ubuntu® 12.04, Precise Pangolin (64-bit distribution capable of running 32-bit applications.

    Other Download Options

    SDK Tools Only

    If you prefer to use a different IDE or run the tools from the command line or with build scripts, you can instead download the stand-alone Android SDK Tools. These packages provide the basic SDK tools for app development, without an IDE. Also see the SDK tools release notes.

    How to install the Android SDK

    The Android Software Development Kit (SDK) is a crucial part of Android development for beginners to come to grips with. It’s a selection of files bundled together that you will need to begin creating Android apps. It consists of tools like the virtual device manager (emulator) and ADB bridge, as well as a library of additional code for making Java programs work with the Android platform. For more on what you get with the Android SDK, check out the Android SDK tutorial for beginners.

    How to install the Android SDK

    While this might all sound quite complicated, there is good news: you don’t need to worry about the Android SDK much at all anymore. For the most part it will be handled in the background for you.

    The SDK is now included with Android Studio. Android development for beginners is getting easier and easier and this relatively recent change means you now only need to go through a single installation to get your development environment up and running. There’s even an open Java Development Kit (JDK) included, so you no longer need to separately install the latest version separately.

    w

    Installing Android Studio is just as simple and we have a guide to help you out here. Again, it is just a matter of downloading the installer and following the steps as prompted. At one point you’ll be given the option to choose a path for the SDK to be installed; make a note of this as it may come in handy later.

    Setting up Android development for beginners has become a relatively streamlined process. It involves a few rather large files — so be prepared for that and some lengthy download times.

    Updating the SDK

    When you install Android Studio, you’ll automatically get the latest version of the Android SDK. The SDK is constantly being updated with new features and security updates. It’s your job to ensure you keep pace with these changes, so you can support the latest versions.

    To help you do this, Android Studio provides something called an SDK manager. This is a program specifically for downloading parts of your SDK. Open the manager by heading to Tools > SDK Manager. You’ll be greeted with a list of files under the tabs SDK Platforms and SDK Tools.

    The SDK platforms are the Android platforms you can develop for. You need at least one to create a working app. If you choose the latest version, you’ll be able to support all the latest features of Android.

    New versions of Android should be backward compatible, so unless you are a pro developer looking to make use of a cutting edge feature, you’re probably fine to ignore this tab once you’ve gone through the initial installation. It will make Android development easier for beginners.

    Under the SDK Tools tab, you’ll find a list of the other elements that make up the SDK. You can install these individually. Those that have a blue box with a dash through are ready for updating. The most important things here are the Android SDK Build-Tools, the Android SDK Platform-Tools, and the Android SDK Tools. You may also want the Android Emulator and system images if you plan on running and testing your apps on your PC.

    In the meantime you can mostly forget all about the SDK manager if you’re a beginner

    Android Studio will let you know if any updates are mandatory, so you can mostly forget all about the SDK manager (likewise, Android Studio itself will prompt you when it is ready for an update). Now you know how to start supporting the most recent versions of Android, once you graduate from beginner to status that is.

    Using the Android SDK on its own

    You may be wondering whether you can use the Android SDK on its own, or whether you would ever need to.

    The one use-case where this is convenient is if you ever find yourself needing to use a different Integrated Development Environment (IDE), such as Unity (instead of Android Studio). Unity is a game engine and “game maker” that can be used to create Android games. You’ll use a completely different interface and even a different programming language (C#), but you’ll still need a copy of the Android SDK for that program to be compiled into an APK ready to run on Android. The same goes for Android development using other tools like Xamarin.

    If you want to make it as easy as possible to start Android development as a beginner, I recommend you still install Android Studio along with the SDK as before (you’ll still need the JDK too). When you go through this process, just make a note of the path where the SDK is installed. Yyou will need this to tell other IDEs where the SDK is located on your computer. You’ll find there’s the option to enter the path for the SDK somewhere in the settings (Google is your friend if you’re not sure where that is), now just copy and paste! Installing the Android SDK this way is easier for beginners, and it also means you’ll have Android Studio on hand should you ever want to try traditional Android development.

    Note that depending on the IDE, you might need to install the Java Development Kit (JDK) separately and provide a path for this too. To install the JDK, just head over to this page at Oracle.com and download the latest version. Once that’s done, click on the .exe file and then follow the steps by clicking Next.

    Some IDEs will give you the option to download Android Studio automatically when you go through the set-up process, which is a feature that is new for Unity.

    Installing all of these extra files will take up a lot of space on your computer. If you’re really keen to keep things to a minimum, you can always download the “command line tools only” option. You’ll find this by scrolling down the page where you found Android Studio and downloading the zip file for your specific operating system. You’ll find instructions on how to use this here and you can grab the command-line tools from here. Theoretically, this could also be useful if you ever want to use a specific tool included in the SDK, such as the ADB bridge.

    That’s all there is to downloading and installing the Android SDK! This is one of the first and most important steps when it comes to Android development for beginners, so well done!

    Ссылка на основную публикацию
    ВсеИнструменты 220 Вольт
    Adblock
    detector