当发布了 Android Studio 更新并且您错误地点击了忽略此更新
如何应用更新而无需重新安装 Android Studio?
最佳答案
更新
从 Android Studio 的最新版本开始,UI 中现在有一个 Preference noted in an answer by Yogesh Umesh Vaity
原答案
恢复错误选择的简单方法是关闭 Android Studio,然后编辑 other.xml
文件并删除 myIgnoredBuildNumbers
选项 block :
<option name="myIgnoredBuildNumbers">
<value>
<list size="1">
<item index="0" class="java.lang.String" itemvalue="130.729444" />
</list>
</value>
</option>
从技术上讲,您应该编辑 size
并删除有问题的 item
但经过一些测试后,您下次忽略构建时会出现 myIgnoredBuildNumbers
block 将被重建。
other.xml
文件位于:
- OSX:
~/Library/Preferences/AndroidStudio/options/other.xml
- WIN:
%HOMEPATH%\.AndroidStudio\config\options\other.xml
- NIX:
~/.AndroidStudio/config/options/other.xml
同样可以在 Intellij
中的以下路径中完成:
- OSX:
~/Library/Preferences/IdeaIC12/options/other.xml
- 获胜:
%HOMEPATH%\.IdeaIC12\options\other.xml
从 Android Studio 1.2(可能更早)开始,忽略的构建 block 在与 other.xml 相同的目录中的 updates.xml 中定义
关于android - 删除忽略的 Android Studio(或 Intellij)更新构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17474412/