Android NDK

Android NDK là bộ công cụ hỗ trợ bạn triển khai các cấu phần của ứng dụng bằng mã gốc, dùng các ngôn ngữ như C và C++. Đối với một số loại ứng dụng, nhờ có bộ công cụ này, bạn có thể dùng lại các thư viện mã được viết bằng các ngôn ngữ đó.
class MyActivity : Activity() {
  /**
   * Native method implemented in C/C++
   */

  external fun computeFoo()
}

Tin tức mới nhất

Updated 20 tháng 2, 2020

One thing that NDK users struggle with is managing native dependencies: With version 4.0 of the Android Gradle Plugin, we’ve addressed these issues by adding support for distributing and exposing native libraries through the same mechanism that you

Updated 5 tháng 12, 2019

With over 2.5 billion monthly active devices, the Android Platform gives incredible reach for game developers. Taking advantage of that opportunity can be a challenge, particularly if your game really tries to push the limits of what mobile can do.

Updated 17 tháng 10, 2019

Android NDK r21 is now in beta! It’s been a longer than usual development cycle (four months since NDK r20), so there’s quite a lot to discuss for this release. We have the usual toolchain updates, improved defaults for better security and

Tối ưu hoá mã gốc