Package Details: android-ndk r22.b-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: 275
Popularity: 1.06
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-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 https://aur.archlinux.org/packages/android-sdk-ndk-symlink/ 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 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.