Hi all,
I'm new to Android and am trying to compile a pre-existing library written a C++ as a native part of an Android application. The library uses CMake and is divided into small modules, so I decided as a first try to add one of these modules to the CMakeLists.txt generated by Android Studio (under "External Build Files" list) with add_subdirectory cmake command.
Unfortunately the error message I've got from Gradle was not really helpful. When I try to "Sync" the project, I get a single error in top-level task and the error is just "Extenal native build issues: Error configuring". Build gives and error in "Run build" -> "Calculate task graph" -> "Configure project: app" with "Cause: executing external native build for cmake". Both of these unfortunately give me no insight into what has failed. Is there a way to get the actual error log from Android Studio? Maybe the whole idea to use the Studio was wrong and there is a command line build system for Android (if yes, is the workflow documented somewhere)?
Thanks in advance.