Package Details: android-ndk r20-3

Git Clone URL: (read-only)
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: 273
Popularity: 0.503273
First Submitted: 2009-06-26 09:29
Last Updated: 2019-07-08 01:29

Dependencies (4)

Required by (113)

Sources (2)

Latest Comments

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

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

yan12125 commented on 2017-08-08 03:39

I suggest disabling compression as it's not necessary for locally built packages. In /etc/makepkg.conf, change the following line:




lilydjwg commented on 2017-08-08 02:50

marmistrz: You disk speed doesn't matter much because xz compressing is consuming a lot of CPU. You can set something like COMPRESSXZ=(xz -c -z - -T12) in /etc/makepkg.conf to utilize multi cores. Or you can disable compression if you don't need it.

marmistrz commented on 2017-08-07 18:53

On my computer compressing the package takes about 20-25 minutes. Is this expected (I have an SSD drive)

yan12125 commented on 2017-07-13 14:24

@niqingliang2003: can make it

niqingliang2003 commented on 2017-07-13 06:27

the sdk manager of android studio will lookup ndk from /opt/android-sdk/ndk-bundle.

so maybe installing android-ndk into /opt/android-sdk/ndk-bundle will be better?

yan12125 commented on 2017-06-30 17:47

Adopted and updated to r15b. Please tell me if there are any more problems.

jayeffkay commented on 2017-04-04 13:03

@xyproto, thanks for feedback. Installation was successful when retrying. On the failed attempt I overrode the "Compressing package" part (, which might have caused it. Partition was not full.

jayeffkay commented on 2017-04-04 12:59

It seems the root cause of my problem was not what android-ndk I used but rather I needed to install and then to get android-ndk to find