如何安装Android的工作室完全脱机工作? [英] How to setup Android Studio to work completely offline?

查看:723
本文介绍了如何安装Android的工作室完全脱机工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很慢的带宽,所以我试图保持对本地机器的所有必需的文件到完全脱机设置Android的工作室。当我点击创建新建项目它总是试图下载一个名为 gradle-1.6-bin.zip 我下载并尝试安装在本地通过插件管理器,但它给了我一个错误:

I have very slow bandwidth, so I'm trying to keep all the required files on local machine to set the Android studio completely offline. When I click on create New Project it always tries to download a file named gradle-1.6-bin.zip which I downloaded and tried to install locally via plugin manager but it gives me an error:

无法从文件加载gradle-1.6-bin.zip插件描述

fail to load plugin descriptor from file gradle-1.6-bin.zip

那么,什么其他的文件,我需要下载以及如何安装它们正确地与Android工作室脱机工作。

So what other files do I need to download and how do I install them properly to work offline with Android Studio.

推荐答案

玉家伙我终于克服了这个问题在这里是解决方案。

Ok guys finally I overcome to this problem here is the solution.

1:下载 gradle-1.6-bin.zip 供离线使用

2:现在它粘贴在 C:\用户\用户名\ .gradle 目录

2: Now paste it in the C:\Users\username\.gradle directory.

3:打开AndroidStudio并点击新建项目选项,你不会得到这个错误更多,而离线。但你可以得到另一个错误像我或其他一些埃罗这样的...

3: Open the AndroidStudio and click on the Create New Project option and you will not get this error any more while offline. But you can get another error like me or some other erro like this...

不要担心,只是忽略它。已创建您与您的指定名称的新项目。所以,现在点击导入项目键,进入路径

Don't worry just ignore it. Your new project with your Specified name has been created. So now click on the Import Project and go to the path

C:/用户/用户名/ AndroidStudioProject

C:/users/username/AndroidStudioProject

和打开你的项目,你就完成了。

and open your project and you are done.

这篇关于如何安装Android的工作室完全脱机工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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