Android Studio: This file is not part of the project

Hi there,

I’m using SDL with Android Studio. I’ve copied the project directory to a new location and started working from there. It all seems to work file, however, recently Android Studio refuses to see my new CPP files as part of the project. This gives some issues with code completion etc. (it still builds fine). I just add new .cpp files to the Android.mk file under LOCAL_SRC_FILES. For the first few CPP files this seemed to work 100%, but now android studio it doesn’t see my new cpp files as part of the project, even though they are being built. Since the whole project setup is from SDL (and I don’t understand much about gradle yet)… I thought I should ask here. Any idea why it thinks the files are not part of the project? a way to fix it?

Thanks!!!