如何在没有互联网连接的电脑上安装 Android Studio? [英] How to install Android Studio on a pc without internet connection?

查看:56
本文介绍了如何在没有互联网连接的电脑上安装 Android Studio?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在没有互联网连接的电脑上安装 Android Studio.

  • 我已经使用以下命令下载了 JDK-7 和 Android Studio另一台笔记本电脑.
  • 我已经复制了两个安装文件并成功安装了 JDK-7.
  • 现在当我运行 android-studio setup 时,它需要互联网连接.(附上步骤截图)

有没有办法通过下载任何其他安装(exe)文件来跳过这一步?

下载所有必需的文件(Development Studio、SDK 和 Platform)后,当您运行 Android Development Studio 安装时,它不会让我选择之前下载的组件,而是继续尝试从网上下载.

解决方案

Android 开发设置有 3 个主要组件:

  1. JDK(Java 开发工具包)Android
  2. SDK(Android 软件开发工具包)
  3. IDE(集成开发环境)

首先下载所有三个:从这里下载独立的JDK 安装程序,以及Android SDK 和 Android Studio 来自这里.

现在,将文件移动到您想要安装开发环境的任何机器,然后安装所有文件.

SDK 仅包含最新平台(在撰写本文时为 21),因此如果您需要使用其他平台,则需要单独下载它们:

平台
android-1.1_r1-macosx

android-1.1_r1-linux

android-1.5_r04-windows

android-1.5_r04-macosx

android-1.5_r04-linux

android-1.6_r03-linux

android-1.6_r03-macosx

android-1.6_r03-windows

android-2.0_r01-linux

android-2.0_r01-macosx

android-2.0_r01-windows

android-2.0.1_r01-linux

android-2.0.1_r01-macosx

android-2.0.1_r01-windows

android-2.1_r03-linux

android-2.2_r03-linux

android-2.3.1_r02-linux

android-2.3.3_r02-linux

android-3.0_r02-linux

android-3.1_r03-linux

android-3.2_r01-linux

示例
samples-2.1_r01-linux

samples-2.2_r01-linux

samples-2.3_r01-linux

samples-2.3.3_r01-linux

samples-3.0_r01-linux

samples-3.1_r01-linux

samples-3.2_r01-linux

samples-14_r02

samples-15_r02

samples-16_r01

samples-17_r01

samples-18_r01

构建工具
build-tools_r17-windows

build-tools_r17-linux>

build-tools_r17-macosx

build-tools_r18.0.1-windows

build-tools_r18.0.1-linux

build-tools_r18.0.1-macosx

build-tools_r18.1-windows

build-tools_r18.1-linux

build-tools_r18.1-macosx

build-tools_r18.1.1-windows

build-tools_r18.1.1-linux

build-tools_r18.1.1-macosx

build-tools_r19-windows>

build-tools_r19-linux>

build-tools_r19-macosx>

build-tools_r19.0.1-windows

build-tools_r19.0.1-linux

build-tools_r19.0.1-macosx

build-tools_r19.0.2-windows

build-tools_r19.0.2-linux

build-tools_r19.0.2-macosx

build-tools_r19.0.3-windows

build-tools_r19.0.3-linux

build-tools_r19.0.3-macosx

build-tools_r19.1-windows

build-tools_r19.1-linux

build-tools_r19.1-macosx

来源
sources-14_r01

sources-15_r02

sources-16_r02

sources-17_r01

sources-18_r01

sources-19_r02

希望有帮助.

I'd like to install Android Studio in pc which has no internet connection.

  • I have already downloaded the JDK-7 and the Android Studio using another laptop.
  • I have copied the both setup files and successfully installed JDK-7.
  • Now when i'm running android-studio setup , it requires internet connection.(step screenshot attached)

Is there any way to skip this step by downloading any other setup(exe) file ?

After downloading all the required files (Development Studio, SDK and Platform), then when you run the Android Development Studio installation, it does not give me an option to select the previously downloaded components, but instead just goes ahead and attempts to download from the internet.

解决方案

There are 3 main components to a working Android development setup:

  1. JDK (Java Development Kit) Android
  2. SDK (Android SoftwareDevelopment Kit)
  3. IDE (Integrated Development Environment)

First download all three: Download standalone JDK installer from here, and Android SDK and Android Studio from here.

Now, move the files to whichever machine you want to install your development environment on and install all of them.

The SDK comes packed with only the latest platform (21 at the time of writing) so if you need to use others, you will need to download them separately:

Platforms
android-1.1_r1-macosx

android-1.1_r1-linux

android-1.5_r04-windows

android-1.5_r04-macosx

android-1.5_r04-linux

android-1.6_r03-linux

android-1.6_r03-macosx

android-1.6_r03-windows

android-2.0_r01-linux

android-2.0_r01-macosx

android-2.0_r01-windows

android-2.0.1_r01-linux

android-2.0.1_r01-macosx

android-2.0.1_r01-windows

android-2.1_r03-linux

android-2.2_r03-linux

android-2.3.1_r02-linux

android-2.3.3_r02-linux

android-3.0_r02-linux

android-3.1_r03-linux

android-3.2_r01-linux

Samples
samples-2.1_r01-linux

samples-2.2_r01-linux

samples-2.3_r01-linux

samples-2.3.3_r01-linux

samples-3.0_r01-linux

samples-3.1_r01-linux

samples-3.2_r01-linux

samples-14_r02

samples-15_r02

samples-16_r01

samples-17_r01

samples-18_r01

Build Tools
build-tools_r17-windows

build-tools_r17-linux

build-tools_r17-macosx

build-tools_r18.0.1-windows

build-tools_r18.0.1-linux

build-tools_r18.0.1-macosx

build-tools_r18.1-windows

build-tools_r18.1-linux

build-tools_r18.1-macosx

build-tools_r18.1.1-windows

build-tools_r18.1.1-linux

build-tools_r18.1.1-macosx

build-tools_r19-windows

build-tools_r19-linux

build-tools_r19-macosx

build-tools_r19.0.1-windows

build-tools_r19.0.1-linux

build-tools_r19.0.1-macosx

build-tools_r19.0.2-windows

build-tools_r19.0.2-linux

build-tools_r19.0.2-macosx

build-tools_r19.0.3-windows

build-tools_r19.0.3-linux

build-tools_r19.0.3-macosx

build-tools_r19.1-windows

build-tools_r19.1-linux

build-tools_r19.1-macosx

Sources
sources-14_r01

sources-15_r02

sources-16_r02

sources-17_r01

sources-18_r01

sources-19_r02

Hope it helps.

这篇关于如何在没有互联网连接的电脑上安装 Android Studio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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