I just added the google-play-services-lib library to my project and am stuck where I need to \"sync the project with gradle files\", but this button does not exist
I haven`t seen such option in pure IntelliJ. I guess you are developing some android app. You should then switch to Android Studio (based on IntelliJ) where this option is available for sure.