Sounds good! Thanks for the work!
Search Criteria
Package Details: android-sdk 26.1.1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/android-sdk.git (read-only, click to copy) |
---|---|
Package Base: | android-sdk |
Description: | Google Android SDK |
Upstream URL: | https://developer.android.com/studio/releases/sdk-tools.html |
Keywords: | android development |
Licenses: | custom |
Submitter: | None |
Maintainer: | dreamingincode |
Last Packager: | dreamingincode |
Votes: | 1479 |
Popularity: | 0.157175 |
First Submitted: | 2007-11-12 19:26 (UTC) |
Last Updated: | 2022-03-22 20:58 (UTC) |
Dependencies (22)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jdk-android-studioAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, java-openjdk-ea-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk)
- lib32-gcc-libs (lib32-gcc-libs-gitAUR, lib32-gccrs-libs-gitAUR, lib32-gcc-libs-snapshotAUR)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR, lib32-glibc-eac-rocoAUR)
- libx11 (libx11-gitAUR)
- libxext (libxext-gitAUR)
- libxrender
- libxtst
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- android-emulatorAUR (android-emulator-canaryAUR, android-emulator-dummyAUR) (optional) – emulator has become standalone since 25.3.0
- Show 10 more dependencies...
Required by (50)
- android-aarch64-kirigami (make)
- android-aarch64-openssl
- android-aarch64-qt6-base
- android-armv7a-eabi-openssl
- android-armv7a-eabi-qt6-base
- android-auto-api-simulators
- android-constraint-layout
- android-google-play-apk-expansion
- android-google-play-licensing
- android-google-repository
- android-platform
- android-platform-13
- android-platform-14
- android-platform-15
- android-platform-16
- android-platform-17
- android-platform-18
- android-platform-19
- android-platform-20
- android-platform-21
- android-platform-22
- android-platform-23
- android-platform-24
- android-platform-25
- android-platform-26
- android-platform-27
- android-platform-28
- android-platform-29
- android-platform-30
- android-platform-31
- android-platform-32
- android-platform-33
- android-platform-34
- android-platform-dummy
- android-studio-beta (optional)
- android-studio-launcher (optional)
- android-support-repository
- android-x86-64-boost (make)
- android-x86-64-openssl
- android-x86-64-qt6-base
- android-x86-openssl
- android-x86-qt6-base
- fdroidserver (optional)
- fdroidserver-git (optional)
- flipper (optional)
- flipper-bin (optional)
- flutter-beta (optional)
- flutter-dev (optional)
- flutter-git (optional)
- flutter-target-android (optional)
Sources (5)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 44 Next › Last »
lonaowna commented on 2017-06-21 17:13 (UTC)
dreamingincode commented on 2017-06-21 16:41 (UTC)
I thought of using `readelf` instead of `ldd` and here is a more simple approach that works for all the android packages:
$ cd /lib/ && find /opt/android-sdk/tools/ -type f -executable | LANG=C xargs readelf -d 2>/dev/null | grep -oP '(?<=Shared library: \[).*(?=\])' | LANG=C xargs pacman -Qo | cut -d' ' -f5 | sort | uniq
fontconfig
freetype2 <- fontconfig
gcc-libs-multilib => lib32-gcc-libs (mksdcard)
glibc => lib32-glibc <- lib32-gcc-libs (mksdcard)
libx11
libxext
libxrender
zlib <- freetype2
So the result is the same. But I'm going to list them all so that we don't need to worry about other packages' dropping dependencies.
The update may need coordination with other Android packages, so I'll do it after I deal with `android-emulator`.
dreamingincode commented on 2017-06-21 16:30 (UTC)
I used the following command to check the dependencies.
$ cd /lib/ && find /opt/android-sdk/tools/ -type f -executable | LANG=C xargs ldd | grep -oP '(?<= )(?!not a|linux-(gate|vdso)).*' | cut -d' ' -f1 | sort | uniq | LANG=C xargs pacman -Qo | cut -d' ' -f5 | sort | uniq
The result:
~~bzip2 (Inside base)~~
~~expat (Required by fontconfig)~~
fontconfig
~~freetype2 (Required by fontconfig)~~
gcc-libs-multilib => lib32-gcc-libs (Because I'm doing this under /lib/ not /lib32/)
~~glib2 (Required by harfbuzz, which is required by freetype2)~~
~~glibc (Inside base)~~
~~graphite (Required by harfbuzz)~~
~~harfbuzz (Required by freetype2)~~
~~lib32-glibc (Required by lib32-gcc-libs)~~
~~libpng (Required by freetype2)~~
~~libx11 (Required by libxext and libxrender)~~
~~libxau (Required by libxcb)~~
libxcb
~~libxdmcp (Required by libxcb)~~
libxext
libxrender
~~pcre (Required by glib2)~~
~~zlib (Required by pcre)~~
So in the end it is:
fontconfig
lib32-gcc-libs
libxcb
libxext
libxrender
I'll update it tomorrow.
lonaowna commented on 2017-06-21 16:11 (UTC)
BTW, you only need lib32-gcc-libs, as it depends on lib32-glibc.
lonaowna commented on 2017-06-21 15:55 (UTC)
@dreamingincode, you're right! I missed mksdcard.
Thanks for the effort! Even with those two remaining, that's quite some packages that are no longer required, which is nice. :)
dreamingincode commented on 2017-06-21 15:41 (UTC) (edited on 2017-06-21 15:41 (UTC) by dreamingincode)
@lonaowna
I tested with `find /opt/android-sdk/tools/ -type f -executable | xargs ldd | grep -E 'ld-linux.so|$'`, and fount out that only `mksdcard` (except `monitor-x86/*`) is 32-bit. And I suppose `*.jar`s all have a flavor in `x86_64` if they include a native library.
As for `mksdcard`:
```
/opt/android-sdk/tools/mksdcard:
linux-gate.so.1 (0xf77c8000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7769000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf75a8000)
/lib/ld-linux.so.2 (0xf77ca000)
```
It needs `lib32-gcc-libs` and `lib32-glibc`. So I'm going to update the dependencies according to this soon.
lonaowna commented on 2017-06-21 15:17 (UTC)
@dreamingincode, ah yes sorry, that seems to be about the platform tools. So maybe this is still functional on i686 (don't know, unable to test). But still, everything seems to work without the lib32* dependencies.
dreamingincode commented on 2017-06-21 14:24 (UTC) (edited on 2017-06-21 15:20 (UTC) by dreamingincode)
@lonaowna
If I read it correctly, those lines are saying platform tools instead of SDK tools is requiring 64-bit. And I guess it's probably the reason why the 32-bit dependencies were not removed back then in 2015.
lonaowna commented on 2017-06-21 14:07 (UTC) (edited on 2017-06-21 14:22 (UTC) by lonaowna)
I don't think all the lib32* dependencies are needed. The SDK Tools release notes[1] say:
Changed Linux requirements for Android SDK Platform-tools revision 23.1.0 and later: it now requires 64-bit Linux.
And everything seems to work fine after replacing them by their non-lib32 equivalents.
This also means you should remove 'i686' from the 'arch' line.
Feel free to use my PKGBUILD which contains these changes.[2]
[1] https://developer.android.com/studio/releases/sdk-tools.html
[2] https://gist.github.com/slokhorst/e342d5d7024fdd233ded7feb087f3b85
dreamingincode commented on 2017-06-16 18:01 (UTC)
@vendforce Sorry but where is the mismatching data? I did a `mksrcinfo` again but git shows the only difference is generation time.
Pinned Comments
dreamingincode commented on 2020-03-11 07:51 (UTC) (edited on 2020-03-11 08:50 (UTC) by dreamingincode)
@benedikt
cmdline-tools should be a different package because it's installed at android-sdk/cmdline-tools/latest, not android-sdk/tools of this package. They show up as different packages in Android Studio SDK manager as well, and they can be installed side-by-side.
Update: The new package has been published at https://aur.archlinux.org/packages/android-sdk-cmdline-tools-latest/
dreamingincode commented on 2017-04-18 11:40 (UTC) (edited on 2017-04-19 07:28 (UTC) by dreamingincode)