-
Notifications
You must be signed in to change notification settings - Fork 260
Changelog r15
Report issues to GitHub.
For Android Studio issues, follow the docs on the Android Studio site.
-
Unified Headers are now enabled by default.
Note: The deprecated headers will be removed in a future release, most likely r16. If they do not work for you, file bugs now.
For migration tips, see Unified Headers Migration Notes.
-
GCC is no longer supported. It will not be removed from the NDK just yet, but is no longer receiving backports. It cannot be removed until after libc++ has become stable enough to be the default, as some parts of gnustl are still incompatible with Clang. It will likely be removed after that point.
-
Gingerbread (android-9) is no longer supported. The minimum API level target in the NDK is now Ice Cream Sandwich (android-14). If your
APP_PLATFORM
is set lower than android-14, android-14 will be used instead. -
The CMake toolchain file now supports building assembly code written in YASM to run on x86 and x86-64 architectures. To learn more, see YASM in CMake.
- Fixes for
_FILE_OFFSET_BITS=64
APIs. See https://github.com/android-ndk/ndk/issues/459 and https://github.com/android-ndk/ndk/issues/442. - Fix termios.h APIs for old target APIs. See https://github.com/android-ndk/ndk/issues/441.
- Added an inline for
ffs
to maintain compatibility with the deprecated headers. See https://github.com/android-ndk/ndk/issues/439. - Added legacy pthread API declarations for compatibility with old releases. See https://github.com/android-ndk/ndk/issues/420 and https://github.com/android-ndk/ndk/issues/423.
- Fix libsync header/library mismatch: https://issuetracker.google.com/62229958.
- Several libc header updates to improve compatibility with code written for other systems.
- Added native APIs for Android O. To learn more about these APIs, see the Native APIs overview.
-
awk
is no longer in the NDK. We've replaced all uses of awk with Python.
- Clang has been updated to build 4053586. This is built from Clang 5.0 SVN at r300080.
- Clang now supports OpenMP (except on MIPS/MIPS64): https://github.com/android-ndk/ndk/issues/9.
- We've begun slimming down and improving
libandroid_support
to fix libc++ reliability issues. https://github.com/android-ndk/ndk/issues/300.
- This is not intended to be a comprehensive list of all outstanding bugs.
- gabi++ (and therefore stlport) binaries can segfault when built for armeabi: https://github.com/android-ndk/ndk/issues/374.
-
ndk-gdb
doesn't work on the Samsung Galaxy S8. https://android-review.googlesource.com/408522/ fixes this and will be in a future release. There is no workaround (but debugging in Android Studio should work). - MIPS64 must use the integrated assembler. Clang defaults to using binutils
rather than the integrated assmebler for this target. ndk-build and cmake
handle this for you, but make sure to use
-fintegrated-as
for MIPS64 for custom build systems. See https://github.com/android-ndk/ndk/issues/399.