Debunking myths

There are a few myths about the NDK, here is an unofficial denial :-). Please suggest me those I have missed, and feel free to correct me by commenting.
  • The NDK does not support C++ exceptions.
    False. This used to be true, but no longer is since NDK 5. The library user must follow instructions given at Instructions for users of libraries.
  • The NDK does not support the STL.
    False. This used to be true, but no longer is since NDK 5. STLPort is bundled with the NDK. People who want to use exceptions and the STL must use the GNU STL, which is also provided with the NDK. The library user must follow instructions given at Instructions for users of libraries.
  • You cannot do a native-only release and need to have Java boilerplate.
    Arguable. It can be done, and an example of a such application is provided with the NDK. However the resulting applications will only run on Android 2.2 or later, which may or may not be acceptable for you.
Comments