# Revision history [back]

I figured out the problem earlier but posting now so that it may help people facing similar issues.

By default the android-studio projects are configured to use CMake, however, for openCV4Android we need to use the Make (ndk based).

To solve my problem I had to change the gradle settings to use the ndk instead of the Cmake system. The second answer mentioned here very nicely explains how to do it.

Thats all.

I figured out the problem earlier but posting now so that it may help people facing similar issues.

By default the android-studio projects are configured to use CMake, however, for openCV4Android we need to use the Make (ndk based). based) build system.

To solve my problem I had to change the gradle settings to use the ndk instead of the Cmake system. The second answer mentioned here very nicely explains how to do it.

Thats all. all.