Package Details: android-sdk-build-tools r34.0.0-2

Git Clone URL: https://aur.archlinux.org/android-sdk-build-tools.git (read-only, click to copy)
Package Base: android-sdk-build-tools
Description: Build-Tools for Google Android SDK (aapt, aidl, dexdump, dx, llvm-rs-cc)
Upstream URL: https://developer.android.com/studio/releases/build-tools
Keywords: android
Licenses: custom
Submitter: xgdgsc
Maintainer: mynacol
Last Packager: mynacol
Votes: 482
Popularity: 1.66
First Submitted: 2013-05-16 03:44 (UTC)
Last Updated: 2023-06-14 18:28 (UTC)

Dependencies (6)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

mattsturgeon commented on 2018-05-13 14:10 (UTC) (edited on 2018-05-13 14:15 (UTC) by mattsturgeon)

As hinted at earlier by @einbisschen, this package should create /etc/profile.d/android-sdk-build-tools.sh with the content export PATH=$PATH:/opt/android-sdk/build-tools/27.0.3

Perhaps adding mkdir -p etc/profile.d and echo -e "export PATH=\"\$PATH:/opt/$_sdk/build-tools/$ver\"\n" > $pkgdir/etc/profile.d/$pkgname.sh to PKGBUILD would do the trick?

EDIT: it may also make sense to have a latest symlink... Something like ln -sf /opt/$_sdk/build-tools/$ver opt/$_sdk/build-tools/latest, if so perhaps this should be what is added to the PATH instead. Although it is probably a good idea to check no higher version already exists, which may make a simple feature a bit more complex.

somekool commented on 2017-08-19 16:32 (UTC)

@xgdgsc If I get this thing to work locally, you can give me write access if you are still looking for a co-maintainer

somekool commented on 2017-08-19 16:30 (UTC)

please remove lib32-* from the dependencies

farwayer commented on 2017-08-01 00:53 (UTC)

Look like lib32-gcc-libs can be removed and ncurses5-compat-libs, java-environment, bash should be added for x86_64.

xgdgsc commented on 2017-06-22 02:44 (UTC)

android-sdk-build-tools E: Dependency lib32-zlib detected and not included (libraries ['usr/lib32/libz.so.1'] needed in files ['opt/android-sdk/build-tools/26.0.0/mipsel-linux-android-ld', 'opt/android-sdk/build-tools/26.0.0/i686-linux-android-ld', 'opt/android-sdk/build-tools/26.0.0/aarch64-linux-android-ld', 'opt/android-sdk/build-tools/26.0.0/arm-linux-androideabi-ld']) android-sdk-build-tools E: Dependency clang detected and not included (libraries ['usr/lib/libclang.so'] needed in files ['opt/android-sdk/build-tools/26.0.0/llvm-rs-cc']) android-sdk-build-tools W: Dependency included and not needed ('ncurses5-compat-libs') This is namcap output.

lonaowna commented on 2017-06-21 14:50 (UTC) (edited on 2017-06-21 16:05 (UTC) by lonaowna)

@dreamingincode, I tested all the binaries in /opt/android-sdk/build-tools/26.0.0, and all of them seem to work fine. All that link to libz link to the 64-bit one. (check with ldd *) While testing I also found that /opt/android-sdk/build-tools/26.0.0/bcc_compat doesn't work without the ncurses5-compat-libs package. So that should probably be added as a dependency.

dreamingincode commented on 2017-06-21 14:39 (UTC) (edited on 2017-06-21 15:20 (UTC) by dreamingincode)

[Removed for being incorrect]

lonaowna commented on 2017-06-21 14:35 (UTC)

The lib32* dependencies are no longer needed. You can just replace depends_i686 and depends_x86_64 with: depends=('gcc-libs' 'zlib') ('gcc-libs' isn't strictly needed either, since it is part of the base group)

dreamingincode commented on 2017-04-27 02:05 (UTC)

25.0.3 is out: https://dl.google.com/android/repository/build-tools_r25.0.3-linux.zip db95f3a0ae376534d4d69f4cdb6fad20649f3509