If your gradle build scripts are red highlighted but work fine than try to change Gradle JDK in the ...
k
If your gradle build scripts are red highlighted but work fine than try to change Gradle JDK in the dialog and reimport project: