Package Details: android-ndk r26-1

Git Clone URL: https://aur.archlinux.org/android-ndk.git (read-only, click to copy)
Package Base: android-ndk
Description: Android C/C++ developer kit
Upstream URL: https://developer.android.com/ndk/
Licenses: GPL, custom, LGPL
Replaces: android-ndk64
Submitter: sergej
Maintainer: yan12125 (lilac)
Last Packager: lilac
Votes: 278
Popularity: 1.17
First Submitted: 2009-06-26 09:29 (UTC)
Last Updated: 2023-09-19 04:22 (UTC)

Dependencies (15)

Sources (2)

Latest Comments

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

xiota commented on 2023-09-20 06:52 (UTC)

Please remove replaces directive. Thank you.

yan12125 commented on 2023-09-07 16:03 (UTC)

Thanks, added.

Fell commented on 2023-09-06 07:46 (UTC)

Godot Engine still wouldn't find the NDK after installing. I fixed it by adding export ANDROID_NDK_ROOT=/opt/android-ndk to /etc/profile.d/android-ndk.sh.

Maybe ANDROID_NDK_ROOT should also be set by the package just for good measure.

Martchus commented on 2023-06-10 14:10 (UTC)

Thanks!

yan12125 commented on 2023-06-10 14:09 (UTC)

Okay, I added it along with some other deps detected by namcap. Thanks for the catch!

Martchus commented on 2023-06-10 13:35 (UTC)

I suppose optdepends is good enough; it should just be tracked at all. I personally haven't run into an error due to it and likely the bundled Python is rather optional.

yan12125 commented on 2023-06-10 13:02 (UTC)

Martchus: do you need libxcrypt-compat in depends or optdepends is enough? Per namcap, libcrypt.so.1 is used only in bundled Python

android-ndk E: Dependency libxcrypt-compat detected and not included (libraries ['usr/lib/libcrypt.so.1'] needed in files ['opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/python3/lib/python3.9/lib-dynload/_crypt.cpython-39-x86_64-linux-gnu.so'])

Martchus commented on 2023-06-10 11:03 (UTC)

It looks like this references libcrypt.so.1 so likely libxcrypt-compat should be a dependency.

yan12125 commented on 2021-10-02 02:35 (UTC)

Most of GNU binutils (ar, strip, ...) are removed in NDK r23 https://developer.android.com/ndk/downloads/revision_history. Qt should to be adjusted accordingly or using an older NDK.

lostis commented on 2021-10-01 12:29 (UTC)

I have get error messages on missing toolchain binary locations, this solved the issues:

cd /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin
sudo ln -s llvm-ar arm-linux-androideabi-ar
sudo ln -s llvm-objcopy arm-linux-androideabi-strip

I wanted to build qt5/qt6 AUR packages.