如何安装Android的工作室完全脱机工作?工作室、工作、Android

2023-09-12 04:07:17 作者:后来,我没挽留你没回头

我有很慢的带宽,所以我试图保持对本地机器的所有必需的文件到完全脱机设置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.