Cannot resolve symbol in build.gradle

Cannot resolve symbol in build.gradle


Has anyone got the “cannot resolve symbol” error in build.gradle(module: mygame) ? in the line import org.gradle.internal.os.OperatingSystem, “gradle” is in red, everything builds fine and runs but im trying to figure out how to get rid of this red warning or if I should just ignore it since everything is building fine ?


Ignore warnings in Android Studio (red text) in build.gradle if everything works fine. It seems that AS sometimes can’t find the dependencies. I also have this issue in some projects, but I didn’t find a solution to that.