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

Git Clone URL: (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:
Keywords: android
Licenses: custom
Submitter: xgdgsc
Maintainer: mynacol
Last Packager: mynacol
Votes: 481
Popularity: 1.74
First Submitted: 2013-05-16 03:44 (UTC)
Last Updated: 2023-06-14 18:28 (UTC)

Dependencies (6)

Sources (2)

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

mynacol commented on 2022-12-04 20:13 (UTC)

Thanks @NextAlone for the comment. I opted to create explicit variables for major, minor and micro version numbers instead of your suggestion 👍

NextAlone commented on 2022-12-03 16:38 (UTC) (edited on 2022-12-03 16:42 (UTC) by NextAlone)

Something wrong with dest dir, r33.0.1 installed into /opt/android-sdk/build-tools/, and version is detected as 0.0.0, so changes are below, may this be reviewed and fixed.

diff --git a/PKGBUILD b/PKGBUILD
index 5a32dda..7576c65 100644
@@ -26,12 +26,12 @@ package() {
   cd "$pkgdir"

   install -d usr/share/licenses/$pkgname/
-  ln -s /opt/$_sdk/build-tools/$_ver.0.0/NOTICE.txt usr/share/licenses/$pkgname/NOTICE.txt
-  sed -i "s/@major@/$_ver/g;s/@minor@/0/g;s/@micro@/0/g" "$srcdir/package.xml"
-  install -Dm644 "${srcdir}/package.xml" opt/$_sdk/build-tools/$_ver.0.0/package.xml
-  ln -s /opt/$_sdk/build-tools/$_ver.0.0/package.xml usr/share/licenses/$pkgname/package.xml
+  ln -s /opt/$_sdk/build-tools/$_ver/NOTICE.txt usr/share/licenses/$pkgname/NOTICE.txt
+  sed -i "s/@major@/${_ver:0:0-4}/g;s/@minor@/${_ver:0-3:1}/g;s/@micro@/${_ver:0-1:1}/g" "$srcdir/package.xml"
+  install -Dm644 "${srcdir}/package.xml" opt/$_sdk/build-tools/$_ver/package.xml
+  ln -s /opt/$_sdk/build-tools/$_ver/package.xml usr/share/licenses/$pkgname/package.xml

-  target="opt/$_sdk/build-tools/$_ver.0.0"
+  target="opt/$_sdk/build-tools/$_ver"
   mkdir -p "$target"
   cp -r "$srcdir/$_android/"* "$target"
   chmod +Xr -R "$target"

Floriantoine commented on 2022-08-09 12:01 (UTC)

I use Quasar with cordova which allows to put an application on mobile, cordova uses android-sdk-build-tools, when I launch the build it gives me a message that I had not signed the packages! but i finally found the problem. the command line signs in the wrong place! you had to move the signatures for cordova to detect them!

Sorry for not updating my post! I hope this can help someone else!

mynacol commented on 2022-08-09 11:17 (UTC)

@Floriantoine: Can you provide more information/error messages?

I don't sign AUR packages, but I can't imagine a reason why this particular package would have problems being signed. Maybe check with the documentation how to sign packages again?

Floriantoine commented on 2022-08-03 13:53 (UTC)

Is still impossible for me to sign the package, I place the order the return tells me that everything is well signed, yet nothing concerning this package... a solution ?

mynacol commented on 2022-07-15 16:57 (UTC)

Hi @gnaggnoyil, android-sdk-build-tools does contain d8 and some other executables. They are stored in a directory with non-executables, so adding it to the PATH is problematic. Thus I created the symlinks.

I made an exception for lld, which is a package in the official repos. I do not intend to add another exception for an AUR package. The question is: what happens when you manually remove the symlink or install v8-r with pacman -U --overwrite /usr/bin/d8 [pkg]?

gnaggnoyil commented on 2022-07-08 17:26 (UTC)

This package has conflicting file usr/bin/d8 with the aur/v8-r package. Is there any way to resolve this file conflict error? FYI, usr/bin/d8 in v8-r package is an actual executable instead of a symlink.

oneup commented on 2022-04-25 17:18 (UTC)

Package doesn't provide dx - description should be updated and broken /usr/bin/dx link should be removed

mynacol commented on 2022-04-23 13:43 (UTC)

@acer189 That's expected. I included the package.xml in the package, so you don't have to accept the license in Android Studio.

acer189 commented on 2022-04-17 10:16 (UTC) (edited on 2022-04-17 10:17 (UTC) by acer189)

Unfortunately an update to the current version did not work for me. The error message:

Error: The operation could not be performed (Conflicting files) android-sdk-build-tools: /opt/android-sdk/build-tools/32.0.0/package.xml exists in the >file system Errors occurred, no packages were updated.