From d69b7276acbd2ed54eccf3d108838b67e5786760 Mon Sep 17 00:00:00 2001 From: "smain@google.com" Date: Wed, 6 Apr 2016 18:55:50 -0700 Subject: [PATCH] add notice about compatiblity with N Preview (bug:27830549) improve linux 32-bit library information (bug:27962189), add a note about JDK 8 compatibility on Mac, and a few other edits to installation guide and system reqs. Change-Id: Ief5c3420a0f17a4d8cf97cc1211d1fd77c4b825b --- docs/html/sdk/index.jd | 15 +++++--- docs/html/sdk/installing/index.jd | 63 ++++++++++++++++++++----------- 2 files changed, 50 insertions(+), 28 deletions(-) diff --git a/docs/html/sdk/index.jd b/docs/html/sdk/index.jd index 923a6d72c9f08..e95d6c89cac4c 100644 --- a/docs/html/sdk/index.jd +++ b/docs/html/sdk/index.jd @@ -486,8 +486,9 @@ Android Auto.

@@ -515,8 +517,9 @@ Android SDK and emulator system image). 4 GB Recommended. capable of running 32-bit applications)
  • GNU C Library (glibc) 2.11 or later
  • 2 GB RAM minimum, 8 GB RAM recommended
  • -
  • 2 GB of available disk space minimum (500 MB for IDE + 1.5 GB for -Android SDK and emulator system image). 4 GB Recommended.
  • +
  • 2 GB of available disk space minimum,
    4 GB Recommended +(500 MB for IDE + 1.5 GB for +Android SDK and emulator system image)
  • 1280 x 800 minimum screen resolution
  • Java Development Kit (JDK) 8
  • diff --git a/docs/html/sdk/installing/index.jd b/docs/html/sdk/installing/index.jd index f776c9a2e27ec..e4d860b085c1d 100644 --- a/docs/html/sdk/installing/index.jd +++ b/docs/html/sdk/installing/index.jd @@ -5,21 +5,29 @@ page.tags=sdk tools @jd:body + -
    +

    Instructions for

    +

    Setting up Android Studio takes just a few clicks.

    While the Android Studio download -completes, make sure you have JDK 8 or higher installed. To check which version -you have, open a command line and type javac -version. If the JDK +completes, verify which version of the JDK you have: +open a command line and type javac -version. If the JDK is not available or the version is lower than 1.8, download the Java SE Development Kit 8.

    @@ -38,7 +46,7 @@ class="external-link">Java SE Development Kit 8.

    Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to - your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21.

    + your JDK folder, for example C:\Program Files\Java\jdk1.8.0_77.

    @@ -50,8 +58,8 @@ The following video shows each step of the recommended setup procedure.

    -

    As new tools and other APIs become available, Android Studio will tell you -with a pop-up, or you can check yourself by clicking Help > +

    As new tools and other APIs become available, Android Studio tells you +with a pop-up, or you can check for updates by clicking Help > Check for Update.

    @@ -64,6 +72,10 @@ Check for Update.

    @@ -116,13 +127,21 @@ Check for Updates.

  • Select whether you want to import previous Android Studio settings or not, then click OK.
  • -
  • The Android Studio Setup Wizard will guide you though the rest of the - setup procedures in just a few clicks, - which includes downloading various Android SDK components +
  • The Android Studio Setup Wizard guides you though the rest of the + setup, which includes downloading Android SDK components that are required for development.
  • +
    +

    Note: +If you are running a 64-bit version of Ubuntu, you need to install some 32-bit +libraries with the following command:

    +
    sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
    +

    If you are running 64-bit Fedora, the command is:

    +
    sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686
    +
    +

    That's it! The following video shows each step of the recommended setup procedure.

    @@ -130,16 +149,16 @@ The following video shows each step of the recommended setup procedure.

    -

    As new tools and other APIs become available, Android Studio will tell you -with a pop-up, or you can check yourself by clicking Help > +

    As new tools and other APIs become available, Android Studio tells you +with a pop-up, or you can check for updates by clicking Help > Check for Update.

    -

    Note: To support 32-bit apps - on a 64-bit machine, you will need to install the ia32-libs, - lib32ncurses5-dev, and lib32stdc++6 packages.

    -
    +

    Note: +If you want to develop apps with the N Preview SDK, you must use +the preview version of Android Studio 2.1. For more information, see the +N Preview setup guide.