去除忽略Android的工作室(或的IntelliJ)更新构建 [英] Removing Ignored Android Studio (or Intellij) Update Builds

查看:310
本文介绍了去除忽略Android的工作室(或的IntelliJ)更新构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当一个Android工作室更新发布,你误点击忽略此更新你如何应用此更新,而无需重新安装Android的工作室?

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?

推荐答案

最简单的方法来还原一个misteken选择,就是关闭机器人工作室,然后修改 other.xml 文件删除 myIgnoredBuildNumbers 选项块:

The simple way to revert a misteken 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>

从技术上讲,你应该编辑尺寸和有关删除项目但一段,下一次测试你忽略一个建 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:〜/库/ preferences / AndroidStudio /选项/ other.xml
  • WIN:%HOMEPATH%\ AndroidStudio \设置\选项\ other.xml
  • NIX:〜/ .AndroidStudio /配置/选项/ other.xml
  • OSX: ~/Library/Preferences/AndroidStudio/options/other.xml
  • WIN: %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:〜/库/ preferences / IdeaIC12 /选项/ other.xml
  • WIN:%HOMEPATH%\ IdeaIC12 \选项\ other.xml
  • OSX: ~/Library/Preferences/IdeaIC12/options/other.xml
  • WIN: %HOMEPATH%\.IdeaIC12\options\other.xml

由于Android的工作室1.2(甚至更早)的,被忽略的构建块在updates.xml定义相同的目录内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

这篇关于去除忽略Android的工作室(或的IntelliJ)更新构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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