删除被忽略的 Android Studio(或 Intellij)更新版本 [英] Removing Ignored Android Studio (or Intellij) Update Builds

查看:37
本文介绍了删除被忽略的 Android Studio(或 Intellij)更新版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当发布 Android Studio 更新时,您错误地点击了忽略此更新,如何应用更新而无需重新安装 Android Studio?

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?

推荐答案

更新

从最新版本的 Android Studio 开始,UI 中现在有一个首选项 Yogesh Umesh Vaity 在回答中指出

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

原答案

恢复错误选择的简单方法是关闭 Android Studio,然后编辑 other.xml 文件并删除 myIgnoredBuildNumbers 选项块:

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

<option name="myIgnoredBuildNumbers">
  <value>
    <list size="1">
      <item index="0" class="java.lang.String" itemvalue="130.729444" />
    </list>
  </value>
</option>

从技术上讲,您应该编辑 size 并删除有问题的 item 但经过一些测试,下次您忽略构建时,myIgnoredBuildNumbers 块将重建.

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.

other.xml 文件可以在以下位置找到:

The other.xml file can be found at:

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

同样可以在 Intellij 中在以下路径中完成:

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

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

从 Android Studio 1.2(可能更早版本)开始,忽略的构建块在与 other.xml 相同的目录中的 updates.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

这篇关于删除被忽略的 Android Studio(或 Intellij)更新版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆