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: 481
Popularity: 1.11
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 »

mynacol commented on 2020-06-22 08:58 (UTC)

@Kppqju77 You are right, Android Studio serves r30.0.0, so I updated the package accordingly

Kppqju77 commented on 2020-06-22 06:17 (UTC) (edited on 2020-06-22 06:29 (UTC) by Kppqju77)

The #Pkg.Revision with rc4 might refer to the fact that the 30.0.0 has the same content as rc4... But in android studio & sdkmanager it is listed without the "rc4", so I think it's out of RC...

mynacol commented on 2020-06-16 10:45 (UTC)

For me it is not clear, if version 30 is a release candidate or not. https://developer.android.com/studio/releases/build-tools lists version 30.0.0 as release candidate 4.

The zip at https://dl-ssl.google.com/android/repository/build-tools_r30-linux.zip lists in android-11/source.properties

Pkg.Revision=30.0.0
#Pkg.Revision=30.0.0 rc4

If nobody clarifies, I rather wait to be sure it is a stable version.

Kppqju77 commented on 2020-06-16 10:33 (UTC) (edited on 2020-06-16 10:36 (UTC) by Kppqju77)

For the profile.d addin in version 30 we need to be careful as DL address use "30", but profile.d addin needs "30.0.0". I had to declare a

_longver=30.0.0


echo 'export PATH=$PATH:/opt/android-sdk/build-tools/'"$_longver/" > etc/profile.d/${pkgname}.sh
echo 'setenv PATH ${PATH}:/opt/android-sdk/build-tools/'"$_longver/" > etc/profile.d/${pkgname}.csh

This will change with 30.0.1 release anyway (usually DL link use the same format then)

BubuIIC commented on 2020-05-25 00:18 (UTC)

Debian has bash completion and a man page for aapt, would it be possible to add this to this package? https://salsa.debian.org/android-tools-team/android-platform-frameworks-base/-/tree/master/debian

BubuIIC commented on 2020-05-19 15:36 (UTC)

Any particular reason why the profile.d addin is disabled by default?

kyak commented on 2020-03-05 18:55 (UTC)

My previous comment was actually wrong: fdroid needs aapt. I thought it doesn't because repo was already up to date.

So this needs to be packaged somehow. So far it works manually.

kyak commented on 2020-02-22 09:13 (UTC)

@mynacol, thanks for the hints!

I was able to manually download and extract debian's aapt package and all the dependencies. For testing, I've used combination of ANDROID_HOME and LD_LIBRARY_PATH to make sure that aapt tool works and fdroid can update repo without any problem.

Just when I started thinking about the best way to package all this mess (debian, did you really have to split each and every android library?), I realized that fdroid only uses aapt when ANDROID_HOME is set. After I've unset this env variable, fdroid switched to using python-pyaxmlparser, which is fine t me.

So it turned out that I don't need aapt after all.

If someone does actually need it, here is the list of needed debian packages:

aapt android-libaapt android-libandroidfw android-libbacktrace android-libbase android-libcutils android-liblog android-libunwind android-libutils android-libziparchive

mynacol commented on 2020-02-21 14:58 (UTC)

Hey @kyak, I haven't tried this. It seems Google doesn't provide downloadable executables for ARM, so this projcet cannot easily add support for ARM.

But a web search reveals that it is possible, e.g. by building it from source. [1] is years old, but may help you; Debian seems to build it too, maybe you can work with their packages [2].

In any case, if you have a working strategy to have the build-tools for ARM, you can post it here and we may be able to include it.

Good luck!

[1] https://www.timelesssky.com/blog/building-android-sdk-build-tools-aapt-for-debian-arm [2] https://packages.debian.org/buster/aapt

kyak commented on 2020-02-21 14:21 (UTC)

Hey guys! Have any of you had success using android-sdk-build-tools on ARM? It trying to make fdroid server work on ARM here...