问题
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.
回答1:
There are 3 main components to a working Android development setup:
- JDK (Java Development Kit) Android
- SDK (Android SoftwareDevelopment Kit)
- 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.
来源:https://stackoverflow.com/questions/28609115/how-to-install-android-studio-on-a-pc-without-internet-connection