Package Details: android-ndk r22.b-1

Git Clone URL: (read-only, click to copy)
Package Base: android-ndk
Description: Android C/C++ developer kit
Upstream URL:
Licenses: GPL, custom, LGPL
Replaces: android-ndk64
Submitter: sergej
Maintainer: yan12125 (lilac)
Last Packager: lilac
Votes: 274
Popularity: 0.22
First Submitted: 2009-06-26 09:29
Last Updated: 2021-03-25 07:26

Dependencies (4)

Required by (118)

Sources (2)

Latest Comments

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

yan12125 commented on 2021-05-27 14:07

Well, I have been considering a package like "android-ndk-lts", but haven't had time to write an automatic update script for that. Anyway, everyone can upload packages to AUR.

vityafx commented on 2021-05-26 13:35

Why there is no NDK 21 on AUR?

yan12125 commented on 2021-02-23 06:42

Kernald flagged android-ndk out-of-date on 2021-02-23 for the following reason:

r23 is out

Nope. r23 is still in beta. Please use android-ndk-beta instead if you want to test it.

yan12125 commented on 2020-12-24 07:11

btd1337: Thanks for the suggestion. Before today I use for that symlink, while I think it is better to just include that symlink in this package.

btd1337 commented on 2020-12-24 04:27

Please, consider to add this command to pkgbuild:

ln -s /opt/android-ndk /opt/android-sdk/ndk-bundle

Without ndk-bundle folder in /opt/android-sdk, the Flutter tell that ndk isn't installed even ANDROID_NDK_HOME is already setted.

cTas0099 commented on 2019-11-15 16:26

thank you very much @yan12125!

yan12125 commented on 2019-11-15 15:58

Hi @cTas0099, NDK has removed GCC in favor of Clang since r18 [1]. You'll need to ask p4a developers to migrate to Clang or use one of older NDK from


cTas0099 commented on 2019-11-15 14:34

hi, I get this error when starting the p4a compiler:

Build failed: Couldn't find executable for CC. This indicates a problem locating the arm-linux-androideabi-gcc executable in the Android NDK, not that you don't have a normal compiler installed. Exiting.

tell me which way I need to go in order to understand this error?

yan12125 commented on 2018-03-31 17:10

@n4nn31355: AFAIK gradle/Android Studio references ANDROID_NDK_HOME. What software or build systems use ANDROID_NDK_HOME? It's fine to have 2 or 3 variables, but more will be a problem, so I want to add the most common ones only.

n4nn31355 commented on 2018-03-31 16:39

yan12125: On current moment variable ANDROID_NDK_ROOT used as well as ANDROID_NDK_HOME. Could you add this envvar to