Android Studio Installation Instructions

Source: Internet
Author: User

Disclaimer: I put all the installation in the D:\Work\Android\, please change according to the actual situation. I am also a beginner, if you have installation problems, you can contact me by email: [Email protected]

One, install "Jdk-8u40-windows-i586.exe", and configure the Java environment
Computer-Properties-Advanced system Settings-advanced-environment variables
Java_home
D:\Work\Android\Java\jdk1.8.0_45\
CLASSPATH
.; %java_home%/lib/dt.jar;%java_home%/lib/tools.jar
Android_sdk_home
D:\Work\Android\android-sdk
Path
C:\programdata\oracle\java\javapath;%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;%systemroot %\system32\windowspowershell\v1.0\;%java_home%/bin;%java_home%/jre/bin; C:\DEV\gradle-2.3\bin

Second, install "Gradle-2.3-all.zip", and configure the Gradle environment, see step One

Third, install "Android-studio.exe", and configure the Android studio environment, see Step One
#修改启动文件
D:\Work\Android\Android studio\bin\idea.properties
Last Added
Disable.android.first.run=true

After running Android Studio, set the Setting-gradle in the
Offline work
Service Directory path:d:/work/android/gradle-2.3
Gradle VM options:-xmx512m

After you run Android studio, set up in project structure
SDK Location:d:\work\android\android-sdk
JDK location:d:\work\android\java\jdk1.8.0_45

Iv. Install "Installer_r24.1.2-windows.exe" and configure the Android SDK environment, see Step One
Launch SDK Manager to download relevant files
If the SDK Manager cannot be started, modify the D:\Work\Android\android-sdk\tools\android.bat
REM Check we have a valid Java.exe in the path.
Set java_exe=
Call Lib\find_java.bat
If not defined Java_exe goto:eof
----------------modified into----------------
REM Check we have a valid Java.exe in the path.
Set java_exe= "D:\Work\Android\Java\jdk1.8.0_40\bin\java.exe"

Android Studio Installation Instructions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.