Package Details: android-ndk r20.b-1

Git Clone URL: https://aur.archlinux.org/android-ndk.git (read-only)
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: 273
Popularity: 0.160723
First Submitted: 2009-06-26 09:29
Last Updated: 2019-11-07 01:33

Dependencies (4)

Required by (114)

Sources (2)

Latest Comments

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

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 https://aur.archlinux.org/packages/?O=0&K=android-ndk.

[1] https://developer.android.com/ndk/downloads/revision_history

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 android-ndk.sh?

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:

PKGEXT='.pkg.tar.xz'

into:

PKGEXT='.pkg.tar'

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: https://aur.archlinux.org/packages/android-sdk-ndk-symlink/ 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?