Android Studio 2.2 cmake error (c++)
<p>Has anybody tried to use CMake in the new Android Studio 2.2 preview 3?</p>

<p>I'm getting this error on a simple "Hello world" project with C++ support:</p>

<pre><code>Error:A problem occurred configuring project ':app'.
&gt; com.android.ide.common.process.ProcessException: Error while executing '/home/cobalt/Android/Sdk/cmake/bin/cmake' with arguments {-H/home/cobalt/AndroidStudioProjects/HelloOpenCV/app -B/home/cobalt/AndroidStudioProjects/HelloOpenCV/app/build/intermediates/cmake/debug/json/mips64 -GAndroid Gradle - Ninja -DANDROID_ABI=mips64 -DANDROID_NDK=/home/cobalt/Android/Sdk/ndk-bundle -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/cobalt/AndroidStudioProjects/HelloOpenCV/app/build/intermediates/cmake/debug/obj/mips64 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=/home/cobalt/Android/Sdk/cmake/bin/ninja -DCMAKE_TOOLCHAIN_FILE=/home/cobalt/Android/Sdk/cmake/android.toolchain.cmake -DANDROID_NATIVE_API_LEVEL=android-23 -DCMAKE_CXX_FLAGS=-frtti -fexceptions}
</code></pre>