Android Studio for all of CPP files: This File is not part of the project


Something weird is happening to my android studio project. I open my project and i compile it, then i open the src let’s say i open app ofapp.cpp and a the project star getting a lot of error, ofMain.h is missing or unlinked, some one had experience something similar.

Project Generator Import gets Undefined reference to 'ofAndroidApplicationInit()' in ofAppAndroidWindow.cpp?

I’m not certain, but I think it might be related to an issue I’ve been seeing, linked above, and/or the other question I linked in that thread.