25

I've updated Android Studio and the dialog for Gradle Plugin update appeared. I've accidentally clicked Don't show again for this project. How can I display the dialog again?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Pitel
  • 5,334
  • 7
  • 45
  • 72

4 Answers4

33

According to this answer you should look for a file .idea/workspace.xml in the project directory and remove property line below.

<component name="PropertiesComponent">
  ...  
  <property name="show.do.not.ask.upgrade.gradle.plugin.version" value="2.2.0" />
  ...
</component>

Also, it's related to a specific gradle version, so if you update it once, you'll see the dialog again the next time.

Jakub Turcovsky
  • 2,096
  • 4
  • 30
  • 41
  • 20
    Similarly if you clicked the remind me tomorrow and want to see it again immediately, the property is : delete them, re-open the project, and the dialog should appear. – AChez9 May 31 '18 at 18:45
16

inside the project directory open the file .idea/workspace.xml find the line (search for upgrade word)

<property name="sync.plugin.last.upgrade.timestamp" value="154032093109" />

if you change this to a smaller integer like 15403293109 (removing one number from middle) will make the last check date to a previous time and the upgrading dialog will be visible again.

Alp Altunel
  • 3,324
  • 1
  • 26
  • 27
1

In Android Studio Project, Go to

-> File -> Settings -> Version Control -> Confirmation

Here you will see "Display Options dialog when these commands are invoked".
Now enable the check box "Update". That's all.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
raj
  • 148
  • 13
1

With the build.gradle file open in Android Studio, hover your mouse over the yellow text and choose "More actions..." -> "Invoke Upgrade Assistant"

Torre Lasley
  • 7,243
  • 3
  • 24
  • 12