Search code examples
androidandroid-studiocmakeandroid-ndkandroid-build

(Three time printing) External native build android studio (Android NDK)


When I want to try compile my Android NDK project, the project will be compile three times in one time, why?

BUILD.GRADLE :

[https://pastebin.com/vTwDbRpb]

The CmakeLists which will be call -->

[https://pastebin.com/HX7RBB4k]

But these files will be run three times as well, I don't know what is going on?

You can see the output on the pic bellow :

output android studio

If someone have an idea, I will be very grateful.

Thanks advance.


Solution

  • You probably build 3 different flavours (build types): debug, release, and customDebugType. All are explicitly declared in your build.gradle.