NDK #3447
-
hi, I was noticed the termux is installing ndk like c and c++ compiler, but it is not contains c header, my question is would it posible to add theese headers into termux system, or it is pactical imposible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
What headers are missing? Termux has a complete set of headers used for C and C++. |
Beta Was this translation helpful? Give feedback.
-
yes, but termux do not know build .apk for android and if I understand it is about missing headers for apk, it is not? |
Beta Was this translation helpful? Give feedback.
NDK doesn't build APK file. It only processes
Android.mk
file and produces shared library or executables from C/C++ code. The headers available in Termux is a copy from official NDK nundle.The APK file is built by Android SDK. Specifically by the
aapt
utility which normally invoked by build system.APK does not require any headers. It is just a zip archive.