
If want to switch to the stable Gradle plugin because the experimental plugin is unable to meet your current needs, you can follow this guide to migrate your project to use the stable version of Gradle with CMake. If none of the above apply to you, and you want to continue building your native code using Gradle, you can choose to keep using the experimental plugin. You want to build your C/C++ code for multiple platforms You have a large project that is unable to assume the risk of using an experimental version of the plugin Your project already uses CMake or ndk-build While the experimental version of the Android Plugin for Gradle also includes NDK integration for building JNI applications, and is under ongoing development, there are a few reasons you may want to consider using CMake or ndk-build with the stable version of the Gradle plugin: For more information, learn how to Add C and C++ Code to Your Project using Android Studio. Using Android Studio, you can edit and debug your native code while still using either external build system to compile and link the C/C++ sources. Android Studio 2.2 and higher support building C/C++ components of your Android project with two new options: CMake and ndk-build.
