GameAnalytics - 'Environment' does not contain a definition for 'OSVersion'

Hello! Faced the problem that I haven’t seen before.
While integrating the GameAnalytics SDK after adding the package to the project, the error appeared in console:

Assets/GameAnalytics/Editor/GA_EditorUtilities.cs(28,41): error CS0117: ‘Environment’ does not contain a definition for ‘OSVersion’

I have no idea how to solve this problem. The project is set to Android. I cleared a Unity cache, but it didn’t change anything.

Thank you in advance!

OMG, the problem was that I there is a script “Environment”… The question was really stupid

It gives this error because there is a class with the same name named Environment. I also had the same problem. resolved.