Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show Android Gradle Plugin update dialog again

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?

like image 615
Pitel Avatar asked Jun 01 '17 08:06

Pitel


People also ask

How do I set the gradle Plugin version?

You can specify the Gradle version in either the File > Project Structure > Project menu in Android Studio, or update your Gradle version using the command line.


3 Answers

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.

like image 187
Jakub Turcovsky Avatar answered Sep 23 '22 19:09

Jakub Turcovsky


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.

like image 45
Alp Altunel Avatar answered Sep 25 '22 19:09

Alp Altunel


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.

like image 43
raj Avatar answered Sep 24 '22 19:09

raj