Difference between CMake and NDK-build in android studio project

前端 未结 4 1832
误落风尘
误落风尘 2020-12-04 09:07

What is the actual difference between CMake and NDK build in android studio project. I already went through google documentation but the concept is

4条回答
  •  眼角桃花
    2020-12-04 09:50

    Clear answer is here https://android-developers.blogspot.ru/2016/11/make-and-ndk-build-support-in-android.html. Sum up - choose in order:

    • use gradle experimental plugin for projects with limited C++

    • cmake for more stability is new projects

    • ndk-build is for legacy projects, try to migrate to cmake or new plugin

提交回复
热议问题