Package Details: android-sdk 26.0.2-2

Git Clone URL: https://aur.archlinux.org/android-sdk.git (read-only)
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: 1449
Popularity: 7.853908
First Submitted: 2007-11-12 19:26
Last Updated: 2017-06-24 07:12

Dependencies (22)

Sources (5)

Pinned Comments

dreamingincode commented on 2017-04-18 11:40

I'm going to update this package to 26.0.1 (it has been long-outdated), according to https://dl.google.com/android/repository/repository2-1.xml which is used by Android Studio.

Some tools have been removed by upstream in this update (namely the standalone SDK Manager's GUI), and you may want to check against https://developer.android.com/studio/releases/sdk-tools.html for the breaking changes before this update.

If you are using an AUR helper and you want to stay on the old version, consult your AUR helper's manual.

xyproto commented on 2016-08-22 08:39

* If the android-sdk license had allowed binary redistribution, this would probably have been a package in [community] instead of in AUR.

* If there are problems with conflicting files, you can check which package owns them with `pacman -Qo`. If no package owns the file, it has most likely been placed there by you, the user (possibly using the SDK Manager). You can remove the conflicting files, either with `rm` or by installing the android-sdk package by force.

* The SDK manager may notify that there is an update available before a download link is available on the web. Please check that a download link is available before flagging this package as out-of-date.

Latest Comments

dreamingincode commented on 2017-09-14 02:52

@ryukinix The package is around 143M before installation on my machine.

ryukinix commented on 2017-09-14 02:13

How big is that?

dreamingincode commented on 2017-08-19 16:55

@somekool mksdcard still depends on lib32, and I don't think we should build it ourselves instead of using the Google provided binary *by default*. So lib32 is still a dependency. If you want to remove it for your system, just edit your own PKGBUILD before build.

somekool commented on 2017-08-19 16:30

please remove lib32-* from the dependencies

kitsunyan commented on 2017-08-07 06:22

There is a bit dirty but working solution to drop multilib requrement compiling `mksdcard` by your own.

https://android.googlesource.com/platform/sdk/+/master/emulator/mksdcard/src/source/mksdcard.c

Raw base64 encoded file: https://android.googlesource.com/platform/sdk/+/master/emulator/mksdcard/src/source/mksdcard.c?format=TEXT

It's a very simple tool compileable without any requirements using a simple `gcc mksdcard.c -o mksdcard` command.

dreamingincode commented on 2017-06-24 07:14

@yan12125 Thanks, fixed.

yan12125 commented on 2017-06-24 07:00

Seems there's something wrong in .SRCINFO? pkgrel is still 1.

lonaowna commented on 2017-06-21 17:13

Sounds good! Thanks for the work!

dreamingincode commented on 2017-06-21 16:41

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

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.

All comments