Removing Ignored Android Studio (or Intellij) Update Builds

前端 未结 4 1133
梦如初夏
梦如初夏 2020-12-08 06:25

When an Android Studio update is posted and you mistakenly click on Ignore This Update how do you apply the update without having to reinstall Android Studio?

4条回答
  •  眼角桃花
    2020-12-08 07:04

    Update

    As of the latest version of Android Studio, there is now a Preference in the UI noted in an answer by Yogesh Umesh Vaity

    Original Answer

    The simple way to revert a mistaken choice is to close Android Studio then edit other.xml file and remove the myIgnoredBuildNumbers option block:

    
    

    Technically you should edit the size and remove the item in question but after some testing the next time you ignore a build the myIgnoredBuildNumbers block will be rebuilt.

    The other.xml file can be found at:

    • OSX: ~/Library/Preferences/AndroidStudio/options/other.xml
    • WIN: %HOMEPATH%\.AndroidStudio\config\options\other.xml
    • NIX: ~/.AndroidStudio/config/options/other.xml

    The same can be done in Intellij in the following paths:

    • OSX: ~/Library/Preferences/IdeaIC12/options/other.xml
    • WIN: %HOMEPATH%\.IdeaIC12\options\other.xml

    As of Android Studio 1.2(possibly earlier), the ignored builds block is defined in updates.xml within the same directory as other.xml

提交回复
热议问题