[英]How to update Android Studio automatically?
I need to Update Android Studio, to the 0.9.9 version, but when I press "Download" (On the update info dialog box) it sends me here:我需要将 Android Studio 更新到 0.9.9 版本,但是当我按下“下载”(在更新信息对话框中)时,它会发送给我:
http://developer.android.com/sdk/index.html
http://developer.android.com/sdk/index.html
Isn't there a way to make the update happen automatically, because I don't even know how to update it manually.有没有办法让更新自动发生,因为我什至不知道如何手动更新它。
Also, in the dialog, there is this recommendation:此外,在对话框中,有以下建议:
To configure automatic update settings, see the Updates dialog of your IDE Settings.
要配置自动更新设置,请参阅 IDE 设置的更新对话框。
The word "Updates" is a link, but it doesn't work. “更新”一词是一个链接,但它不起作用。
For this task, I recommend using Android Studio IDE and choose the automatic installation program, and not the compressed file.对于此任务,我建议使用 Android Studio IDE 并选择自动安装程序,而不是压缩文件。
don't recommend Beta or Canary
不推荐 Beta 或 Canary
channel which is the unstable version and they are not automatic installation , instead a zip file is provided in that case. channel 是不稳定的版本,它们不是自动安装的,而是在这种情况下提供了一个 zip 文件。
Warning: Among different version of Android Studio, the steps may be different.警告:在不同版本的 Android Studio 中,步骤可能会有所不同。 But hopefully you get the idea, as I try to be clear on my intentions.
但希望你能明白我的意思,因为我试图弄清楚我的意图。
Extra info: If you want, check for Android Studio updates @ Android Tools Project Site - Recent Builds .额外信息:如果需要,请检查 Android Studio 更新@Android 工具项目站点 - 最近的构建。 This web page seems to be more accurate than other Android pages about tool updates.
这个网页似乎比其他 Android 网页关于工具更新更准确。
The simplest way to update is as follows:最简单的更新方式如下:
Go to the start screen for Android Studio.转到 Android Studio 的开始屏幕。 If it automatically opens a project when you open it, close that project (not exit).
如果它在您打开项目时自动打开它,请关闭该项目(而不是退出)。
At the bottom there will be a check for updates link which you can use to update to the latest version.在底部将有一个检查更新链接,您可以使用它来更新到最新版本。
There's not always an updater between versions, depending on the version you're starting from and what you're updating to.版本之间并不总是有更新程序,这取决于您从哪个版本开始以及您要更新到什么版本。 If that happens, download the full installer and reinstall Android Studio.
如果发生这种情况,请下载完整的安装程序并重新安装 Android Studio。
Through Android Studio:通过 Android Studio:
If you go to help>>check for updates it will tell you if there's an update.如果你去帮助>>检查更新,它会告诉你是否有更新。
You don't have to change from the stable channel.您不必从稳定频道更改。 If you aren't offered an update and restart button, kindly close the window and try again.
如果没有为您提供更新和重启按钮,请关闭窗口并重试。 After about 4 or 5 checks like this, it will eventually show you update and restart button.
经过大约 4 或 5 次这样的检查后,它最终会显示更新和重启按钮。
Why?为什么? because google.
因为谷歌。
对于 Windows 用户,请转到“帮助” >“检查更新” >“更新” (单击链接更新)
If you are already using Android Studio, you can update via the built in Update mechanism (Check For Updates);如果您已经在使用 Android Studio,您可以通过内置的更新机制(检查更新)进行更新; make sure you switch to the canary or beta channels if you're not being offered an update.
如果您没有收到更新,请确保切换到 Canary 或 Beta 频道。
To configure automatic update settings, see the Updates dialog of your IDE Preferences or settings.要配置自动更新设置,请参阅 IDE 首选项或设置的更新对话框。 You can then switch to either the canary or beta channels.
然后,您可以切换到 Canary 或 Beta 频道。 (The default is "stable" but probably that one fails to automatically inform of updates).
(默认为“稳定”,但可能无法自动通知更新)。
Hope it helps.希望能帮助到你。 Thanks.
谢谢。
These steps are for the people who already have Android Studio installed on their Windows machine >>>这些步骤适用于已经在 Windows 机器上安装了 Android Studio 的人 >>>
Steps to download the update:下载更新的步骤:
Steps to install Android Studio from a .zip folder:从 .zip 文件夹安装 Android Studio 的步骤:
By then, the Andriod Studio should open and configure your uppdates届时,Andriod Studio 应该会打开并配置您的更新
I am having a similar problem while updating from 2.3.2 to 2.3.3.我在从 2.3.2 更新到 2.3.3 时遇到了类似的问题。
Go to the bin
folder of your Android Studio installation folder: eg转到您的 Android Studio 安装文件夹的
bin
文件夹:例如
cd opt/android-studio/bin
Provide run permission for studio.sh file: chmod +x studio.sh
为 studio.sh 文件提供运行权限:
chmod +x studio.sh
Run Android Studio from here: ./studio.sh
从这里运行 Android Studio:
./studio.sh
and try "update and restart"
from android studio.并尝试从android studio
"update and restart"
。
as of AS 1.2+ there is an auto-check for updates which will let you choose between the stable, dev, canary, and beta channels.从 AS 1.2+ 开始,会自动检查更新,让您可以在稳定版、开发版、金丝雀版和测试版频道之间进行选择。 However it is just a check instead of a full update script.
然而,它只是一个检查而不是完整的更新脚本。 It does require that you click to install and restart your install ( A problem for a remote server situation)
它确实需要您单击以安装并重新启动安装(远程服务器情况的问题)
Yes you are right.你是对的。 There is no built in mechanism for automatically updation of Android Studio.
没有自动更新 Android Studio 的内置机制。 You have to manually download it and configure it.
您必须手动下载并配置它。
I think in the new versions of android studio there is no update and restart when you press check for updates from the android studio, so you have to download the newer version from their official website and install it manually.我认为在 android studio 的新版本中,当您从 android studio 按检查更新时,没有更新并重新启动,因此您必须从其官方网站下载较新版本并手动安装。 First, you have to change the name of the previous setup version folder for Example Android Studio to Android Studio1, and you can now install the newer version and everything will be the same as before.
首先,您必须将 Example Android Studio 的先前安装版本文件夹的名称更改为 Android Studio1,然后您现在可以安装更新版本,一切都将与之前相同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.