- Пакет: android-sdk (28.0.2+3)
- Ссылки для android-sdk
- Ресурсы Debian:
- Исходный код android-sdk-meta:
- Сопровождающие:
- Подобные пакеты:
- Software development kit for Android platform
- Другие пакеты, относящиеся к android-sdk
- Загрузка android-sdk
- AndroidTools
- Building apps with these packages
- Communication Channels
- Joining the Android Tools Team
- standalone vs. interdependent packages
- Package naming scheme
- Source package structure
- Updating the source packages
- Upstream repository of tools in Android SDK
- SDK Tools
- Как установить Android Studio на Debian 10
- Как установить Android Studio на Debian 10
- Установите Android Studio на Debian 10
- Шаг 1. Перед установкой любого программного обеспечения важно убедиться, что ваша система обновлена, выполнив следующие apt команды в терминале:
- Шаг 2. Установка Android Studio на Debian 10.
Пакет: android-sdk (28.0.2+3)
Ссылки для android-sdk
Ресурсы Debian:
Исходный код android-sdk-meta:
Сопровождающие:
Подобные пакеты:
Software development kit for Android platform
The Android SDK includes a variety of tools that help you develop mobile applications for the Android platform. The tools are classified into 3 groups: SDK Tools, Platform-tools and Build-tools.
SDK Tools are platform independent and are required no matter which Android platform you are developing on. It is the base toolset of Android SDK.
This metapackage pulls the entire Android SDK.
Другие пакеты, относящиеся к android-sdk
|
|
|
|
- dep: android-sdk-build-tools Tools for building Android applications
- dep: android-sdk-common (>= 28.0.2+3) Common files of Android SDK base toolset
- dep: android-sdk-platform-tools (>= 20) Tools for interacting with an Android platform
- dep: proguard-cli Java class file shrinker, optimizer, and obfuscator (CLI)
- rec: default-jdk-headless Standard Java or Java compatible Development Kit (headless)
- rec: gradle Powerful build system for the JVM
- sug: android-sdk-platform-23 Android SDK Platform for API Level 23 (6.0 Marshmallow)
- sug: maven Java software project management and comprehension tool
- sug: proguard-gui Java class file shrinker, optimizer, and obfuscator (GUI)
Загрузка android-sdk
Архитектура | Размер пакета | В установленном виде | Файлы |
---|---|---|---|
amd64 | 5,4 Кб | 34,0 Кб | [список файлов] |
arm64 | 5,4 Кб | 34,0 Кб | [список файлов] |
armel | 5,4 Кб | 34,0 Кб | [список файлов] |
armhf | 5,4 Кб | 34,0 Кб | [список файлов] |
i386 | 5,4 Кб | 34,0 Кб | [список файлов] |
mips64el | 5,4 Кб | 34,0 Кб | [список файлов] |
mipsel | 5,4 Кб | 34,0 Кб | [список файлов] |
Эта страница также доступна на следующих языках (Как установить язык по умолчанию):
Чтобы сообщить о проблеме, связанной с веб-сайтом, отправьте сообщение (на английском) в список рассылки debian-www@lists.debian.org. Прочую контактную информацию см. на странице Debian Как с нами связаться.
Авторские права © 1997 — 2021 SPI Inc.; См. условия лицензии. Debian это торговый знак компании SPI Inc. Об этом сайте.
Источник
- AndroidTools
This page is a gathering place for information about the android-tools packaging team, which is focused on packaging the Android development tools for Debian. There are also some packages which help run Debian in a chroot on Android. The goal of this team is to get as much of the Android SDK and development tools into Debian as possible. There are many advantages to having the SDK and tools in Debian, rather than relying only on the Google distributions:
- easy install and update channel that all Debian users already know
- automatic trustworthy downloads, no need to verify hash sums
- eliminate need for insecure wrapper scripts, like ./gradlew
trivial install for specific tools, like adb, fastboot, etc.
To communicate with this team, join our low traffic mailing list, android-tools-devel@lists.alioth.debian.org and on the IRC channel #debian-android-tools (webchat). You can also join the IRC Channel through Matrix
The binaries for the Android SDK downloadable from Google have a proprietary license but the source code is free software so Debian is packaging it. Not all Android SDK packages can be installed from Debian, some never will be in Debian because they are too specific to Android. Sylvain Beucler’s libre Android rebuilds and/or Google’s non-free binaries can also be used with the Debian Android SDK.
Building apps with these packages
If you’re just starting out with building apps, we suggest that you first read the Introduction to build packages with Debian’s Android SDK.
If you are already familiar with how to use these tools, you might want to look these brief instructions below. Here are the steps for building Android apps using Debian’s Android SDK on Stretch.
- sudo apt install android-sdk android-sdk-platform-23
- export ANDROID_HOME=/usr/lib/android-sdk
In build.gradle, change compileSdkVersion to 23 and buildToolsVersion to 24.0.0
run gradle build
The Gradle Android Plugin is also packaged. Using the Debian package instead of the one from online Maven repositories requires a little configuration before running Gradle. In the buildscript <> block:
use compile ‘com.android.tools.build:gradle:debian’ to load the plugin
Currently there is only the target platform of API Level 23 packaged, so only apps targeted at android-23 can be built with only Debian packages. We will add more API platform packages via backports afterwards. Only Build-Tools 24.0.0 is available, so in order to use the SDK, build scripts need to be modified. Beware that the Lint in this version of Gradle Android Plugin is still problematic, so running the :lint tasks might not work. They can be turned off with lintOptions.abortOnError in build.gradle. Google binaries can be combined with the Debian packages, for example to use a different version of the platform or build-tools.
In stretch-backports (and soon testing), the Gradle Android Plugin is patched to work with Debian’s Android SDK. It detects what versions of API Levels and Build-Tools are available and you no longer need to modify the build scripts. In order to build apps, do the following:
- sudo apt install android-sdk android-sdk-platform-23 android-sdk-helper
- export ANDROID_HOME=/usr/lib/android-sdk
- gradle build —init-script /usr/share/android-sdk-helper/init.gradle
Thus, init.gradle forces Gradle to use the Gradle Android Plugin in Debian and the plugin will do the rest.
Communication Channels
There are a number of ways that people working on packaging Android Tools communicate. Here is a list:
IRC chat room for automated messages: #debian-android-tools
some Java packages are essential to Android, so we also talk here: #debian-java (webchat).
Joining the Android Tools Team
We want make it as easy as possible for anyone to get involved in the Android Tools Team, and contribute in ways that they think are important. It is important to note that some of the packages here are quite complicated, and the Android SDK is a very large project. That means that changes must be discussed with the team before they can be committed and pushed. That discussion can happen in anywhere, including merge requests.
So here is the Android Tools Team policy for granting membership to the team, based on the GitLab user roles:
- any request to become a member is granted at least «Reporter» level
- any Debian Developer or previous contributor is granted at least «Developer» level
requests from anyone else must be posted to https://salsa.debian.org/android-tools-team/admin/issues and are approved by «lazy consensus»
specific requests for «Master» level must also be posted to https://salsa.debian.org/android-tools-team/admin/issues and are approved by «lazy consensus»
This is based on «Lazy consensus»: if no one objects to a request within one week or so, then any Master/Owner is free to grant the request. So silence is considered approval, but not automatic approval. An existing Master/Owner must actually grant the request after the waiting period.
standalone vs. interdependent packages
Mostly, our procedures are about which packages are standalone and can be freely uploaded, versus which packages are interwoven and must be uploaded in coordinated batches (e.g. the Android SDK). repo or enjarify is a standalone package, for example. The interwoven ones basically all follow the Android SDK git repo naming scheme for the source package names:
Package naming scheme
The naming scheme for android-tools packages is as follows:
binary packages of utilities that run on Debian directly are named after the utility itself (e.g. zipalign, aapt, etc.)
shared libraries that are only used by android-tools packages are named after the library, without a ABI version number in the package name, and prefixed by android-. (e.g. android-libhost, android-libcutils-dev, etc. In the Google builds, these are built as static libraries, and linked statically into each binary. In the Debian builds, they are built as shared libraries and installed into /usr/lib/android.
Source package structure
The structure of each source package is documented in the README.source of each source package for this team:
Updating the source packages
The packages in this team are structured somewhat unusually because we are trying to keep the source packages as close as possible to the upstream source organization while still working in a Debian way. Google builds the Android OS and SDK as one giant thing, something like 10 gigs of source code. But the code is broken up into many different git repos that are coordinated using the Android team’s tool called repo. Also, there are lots of shared libraries used between the various Android SDK tools, but since everything is always built together, those shared libraries are unversioned.
All this means that it is essential that any Android SDK package is only built against the exact same version of all its Build-Depends and only uses the exact same version of an Android SDK package as a Depends. To achieve that, we use the substvars variable in dependency declarations: (>= $
Additionally, because of this and the circular dependencies, it is important to upload updates in the correct order. Some packages also have to be uploaded using a multi-stage method. Here is the estimated upload order:
- Stage 1
- android-framework-$apilevel
- android-platform-external-boringssl
- android-platform-external-jsilver (Usually no update needed)
- android-platform-external-libselinux (should be switched to android-platform-external-selinux from 8.0 release)
- android-platform-external-libunwind
- android-platform-frameworks-data-binding
- android-platform-frameworks-native
- android-platform-libcore
- android-platform-tools-analytics-library
- Stage 2
- android-platform-external-doclava
- android-platform-system-core
stage1
- android-platform-tools-base
- Stage 3
- android-platform-art
- android-platform-development
- android-platform-frameworks-base
- android-platform-libnativehelper
- android-platform-system-extras
- android-platform-system-tools-aidl
- Stage 4
- android-platform-art
- android-platform-build
- android-platform-dalvik
- android-platform-system-core
android-platform-dalvik (Needs android.jar of the latest API Level)
Each packages belonging to the same stage are unrelated to each other and can be uploaded in any order.
This order only represents one possible way of updating all of them to a new major version. In practice, you can delay or advance any packages as long as the build-dependencies satisfy.
Upstream repository of tools in Android SDK
Tools in Android SDK come from various repositories. Here is a list of tools consisting the entire Android SDK, with each tool followed with the corresponding upstream repository name.
SDK Tools
hierarchyviewer: platform/tools/swt (deprecated)
monitor (Depends on hprof-conv, systrace.py, logcat)
traceview: platform/tools/swt (deprecated)
- Установите Android Studio с помощью Snap
- Установить Android Studio из исходного кода
Источник
Как установить Android Studio на Debian 10
Как установить Android Studio на Debian 10
В этом руководстве мы покажем вам, как установить Android Studio на Debian 10. Для тех из вас, кто не знал, Android Studio является официальной интегрированной средой разработки (IDE) для разработки приложений Android на основе IntelliJ IDEA. Помимо мощного редактора кода и инструментов разработчика IntelliJ, Android Studio предлагает еще больше функций, которые повышают вашу продуктивность при создании приложений для Android.
В этой статье предполагается, что у вас есть хотя бы базовые знания Linux, вы знаете, как использовать оболочку, и, что наиболее важно, вы размещаете свой сайт на собственном VPS. Установка довольно проста и предполагает, что вы работаете с учетной записью root, в противном случае вам может потребоваться добавить ‘ sudo ‘ к командам для получения привилегий root. Я покажу вам пошаговую установку Android Studio на Debian 10 (Buster).
Установите Android Studio на Debian 10
Шаг 1. Перед установкой любого программного обеспечения важно убедиться, что ваша система обновлена, выполнив следующие apt команды в терминале:
Шаг 2. Установка Android Studio на Debian 10.
Теперь мы включаем снимки в системе Debian:
После этого установите Android Studio, просто используйте следующую команду:
Теперь перейдите на страницу студии Android и загрузите tar.gz студии Android с помощью wget команды:
После завершения установки вы можете получить доступ к студии Android с панели инструментов или панели запуска приложений или использовать следующую команду для запуска:
Поздравляю! Вы успешно установили Android Studio . Благодарим за использование этого руководства для установки последней версии Android Studio на сервере Debian 9. Для получения дополнительной помощи или полезной информации мы рекомендуем вам посетить официальный сайт Android Studio .
Источник