I have a android studio project and some of the files have turned red.
I have tried the anwsers from this question 'Error with importing android project *Android Studio*'
but none works.
So i thought about about adding some dependencies.
So i added this compile fileTree9dir: 'activity', include ['*java'])
Then the files will turn blue, like they should. But only for 5 seconds and then they turn back to red.