Always when I add a new C++-File, Android Studio informs me that the file is not part of my project and I should include the new file in the appropriate build file (build.gradle, CMakeLists.txt, Android.mk, etc.).
I have always to click manually on "Refresh Linked C++-Projects" to get Android Studio to include my new C++-File in the project.
I am using Cmake and I glob my C++-Files by the line file(GLOB CPP_FILES "src/main/cpp/*.cpp")
in the CMakeLists.txt.
How can I make Android Studio to refresh liked C++-Project automatically if a new Cpp-File was added?
Thanks in advance!