Building a c++ library using CMake in Android Studio

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Building a c++ library using CMake in Android Studio

I built this C++ library using CMake 3.10.2 in Ubuntu 18.04 and it was built
successfully. I'm trying to build it using the same CMakeLists.txt and
folder structure in Android Studio which is also using Cmake 3.10.2.

On running inspection results inside Android Studio, inside C++, declaration
order, it gave me several cannot resolve errors, from my understanding when
I built on Ubuntu, my build folder got populated with certain folders and
files which contained the header files, but after building in Android Studio
and looking inside the default build folder I couldn't find anything
remotely similar.
Is the way CMake works in Android Studio different than how CMake works in
say, Ubuntu?

Sent from:

Powered by

Please keep messages on-topic and check the CMake FAQ at:

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe: