Package Details: android-ndk r16-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
Provides: android-ndk
Replaces: android-ndk64
Submitter: sergej
Maintainer: yan12125
Last Packager: yan12125
Votes: 256
Popularity: 0.238271
First Submitted: 2009-06-26 09:29
Last Updated: 2017-11-15 17:08

Latest Comments

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?

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 (https://bbs.archlinux.org/viewtopic.php?id=127894), 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 https://aur.tuna.tsinghua.edu.cn/packages/ncurses5-compat-libs and then https://aur.archlinux.org/packages/libtinfo to get android-ndk to find libtinfo.so.5.

xyproto commented on 2017-04-04 12:38

@jayeffkay If an archive fails to extract, it's usually caused by a full partition. Could it be that the partition is full?

jayeffkay commented on 2017-04-04 11:58

I was using the android-ndk download via Android studio plugin, but got "ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory", so I ended up here with the presumption that this is the android-ndk to use with arch linux.

But I get

Packages (1) android-ndk-r14.b-1

Total Installed Size: 2708.83 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) installing android-ndk [######################] 100%
error: could not extract /opt/android-ndk/platforms/android-24/arch-mips/usr/libr6/libm.a (Lzma library error: No progress is possible)
error: problem occurred while installing android-ndk
Source /etc/profile.d/android-ndk.sh or login again to add the
Android NDK tools to your path.
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.

when trying to install package. Any idea why this is? I must add that I am not overly confident in arch linux.

All comments