Jump to content
Wikipedia The Free Encyclopedia

Android SDK

From Wikipedia, the free encyclopedia
Software development kit
Not to be confused with Android NDK.
Android SDK
Logo representing Android Studio
Developer Google
Initial releaseOctober 2009; 16 years ago (2009-10)
Stable release
26.1.1 / September 2017; 8 years ago (2017-09)[1]
Written inJava
Operating system Cross-platform
Available inEnglish
Type IDE, SDK
Websitedeveloper.android.com/sdk/index.html
Android SDK

The Android SDK is a software development kit for the Android software ecosystem that includes a comprehensive set of development tools.[2] [3] These include a debugger, libraries, a handset emulator based on QEMU, documentation, sample code, and tutorials. The SDK is part of the official Android Studio IDE but its various tools and resources can be used independently.

Currently supported development platforms include computers running Linux (any modern desktop Linux distribution), Mac OS X 10.5.8 or later, and Windows 7 or later.

Background

[edit ]

As of March 2015[update] , the SDK is not available on Android itself, but software development is possible by using specialized Android applications.[4] [5] [6]

Until around the end of 2014, the officially-supported integrated development environment (IDE) was Eclipse using the Android Development Tools (ADT) Plugin.[7] As of 2015, Android Studio [8] is the official IDE; however, developers are free to use others, but Разработка | url = https://doi.org/10.1145/3427593 | журнал = ACM Transactions on Computing Education | том = 21 | выпуск = 1 | страницы = 1–24 | doi=10.1145/3427593 | дата доступа = 8 мая 2022 г. | url-access = subscription }}</ref>

Улучшения в Android SDK идут рука об руку с общей разработкой платформы Android. SDK также поддерживает старые версии платформы Android, если разработчики хотят использовать свои приложения для старых устройств. Инструменты разработки — это загружаемые компоненты, поэтому после загрузки последней версии и платформы можно также загрузить более старые платформы и инструменты для тестирования совместимости.[9]

Приложения для Android упакованы в формат .apk и хранятся в папке /data/app на ОС Android (папка доступна только пользователю root из соображений безопасности). Пакет APK содержит файлы .dex[10] (файлы скомпилированного байт-кода, называемые исполняемыми файлами Dalvik), файлы ресурсов и т. д. Разработка | URL = https://doi.org/10.1145/3427593 | журнал = ACM Transactions по компьютерному образованию | том = 21 | выпуск = 1 | страницы = 1–24 | дои=10.1145/3427593 | данные доступа = 8 мая 2022 г. | url-access = подписка }}</ref>

Улучшения в Android SDK идут рука об руку с общей разработкой платформы Android. SDK также поддерживает старые версии платформы Android, если разработчики хотят использовать свои приложения для старых устройств. Инструменты разработки — это загружаемые компоненты, поэтому после загрузки последней версии и платформы можно также загрузить более старые платформы и инструменты для тестирования совместимости.[11]

Приложения для Android упакованы в формате .apk и хранятся в папке /data/app на ОС Android (папка доступна только пользователю root из представлений безопасности). Пакет APK содержит файлы .dex[12] (файлы скомпилированного байт-кода, называемые исполняемыми файлами Dalvik), файлы ресурсы и тд

Android SDK Platform Tools

[edit ]

The Android SDK Platform Tools are a separately downloadable subset of the full SDK, consisting of command-line tools such as Android Debug Bridge and fastboot.

Security

[edit ]

In 2011, a vulnerability was found in the dexdump utility as it didn't validate structures, leading to crashes or possible exploitation. The vulnerability was registered as CVE-2011-1001.[13]

Another vulnerability was found in the host client implementation of ADB in 2014. A malicious user could gain access to the account of another user on the same system when that user executed an ADB command that connected to the malicious user's ADB server. The client had a buffer overflow vulnerability and wasn't compiled with any hardening options like a non-executable stack or ASLR.[14]

References

[edit ]
  1. ^ "SDK Tools | Android Developers". Developer.android.com. Retrieved April 25, 2018.
  2. ^ "Tools Overview". Android Developers. July 21, 2009.
  3. ^ Android 3 SDK programming for dummies. Rajiv Ramnath, Roger Crawfis, Paolo Sivilotti. Hoboken, N.J.: Wiley. 2011. ISBN 978-1-118-14634-7. OCLC 759198469.{{cite book}}: CS1 maint: others (link)
  4. ^ appfour. "AIDE- IDE for Android Java C++ - Android Apps on Google Play". google.com.
  5. ^ gesturedevelop. "Java Editor - Android Apps on Google Play". google.com.
  6. ^ Tanapro GmbH, Tom Arn. "JavaIDEdroid - Android Apps on Google Play". google.com.
  7. ^ "NBAndroid Plugin". Archived from the original on October 17, 2018. Retrieved September 19, 2012.
  8. ^ "Android Studio".
  9. ^ "Заметки о выпуске SDK Tools". Android Developers.
  10. ^ "Glossary". Android Developers.
  11. ^ "Заметки о выпуске SDK Tools". Android Developers.
  12. ^ "Glossary". Android Developers.
  13. ^ "CVE-2011-1001 : dexdump in Android SDK before 2.3 does not properly perform structural verificat". CVE security vulnerability database. Security vulnerabilities, exploits, references and more. July 8, 2011. Retrieved July 3, 2025.
  14. ^ Duckett, Chris. "Android SDK suffers from buffer overflow and lack of hardening". ZDNet. Retrieved 2021年08月05日.

AltStyle によって変換されたページ (->オリジナル) /