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 on IntelliJ 13.0.1. Is there an alternative to this function?
As alternative you can use Refresh all Gradle projects
button in Gradle tool window.
I also have not found this button so I made my own :)
View -> Tool Windows -> Gradle
Edit -> Macros -> Start Recording Macro
Refresh all Gradle projects
buttonEdit -> Macros -> Stop Recording Macro
Gradle sync
Customize Menus and Toolbars...
Main menu -> Edit -> Macros -> Macro Actions
find your Gradle sync
Macro, select it and press Edit Action Icon...
Menus and Toolbars
select last item in Main Toolbar
group, press Add After...
and select All actions -> Macros -> Gradle sync
Sync Project with Gradle Files
button!There is a useful shortcut Ctrl + Shift + A, after which a window appears and you can type some command that you would like IntelliJ to run. Just type "sync" in there and it will find that command Sync Project with Gradle Files, even if it's not visible in the menu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With