From 8371632b1681c0df83b53fc414f6f746441cf279 Mon Sep 17 00:00:00 2001 From: Rich Slogar Date: Fri, 26 Jun 2015 11:56:54 -0700 Subject: [PATCH] docs: Studio 1.3 new install and feature sections Change-Id: I1bf6d1fa60b01b404a01cc3b5f45753a764d6f31 --- docs/html/images/tools/studio-globe-icon.png | Bin 0 -> 710 bytes .../html/images/tools/studio-setup-wizard.png | Bin 37815 -> 0 bytes docs/html/sdk/installing/studio-tips.jd | 29 +- .../html/tools/building/configuring-gradle.jd | 69 ++++ docs/html/tools/studio/index.jd | 323 +----------------- docs/html/tools/studio/studio-config.jd | 174 ++++++++++ docs/html/tools/studio/studio-features.jd | 123 +++++++ docs/html/tools/tools_toc.cs | 66 ++++ 8 files changed, 455 insertions(+), 329 deletions(-) create mode 100644 docs/html/images/tools/studio-globe-icon.png delete mode 100644 docs/html/images/tools/studio-setup-wizard.png create mode 100644 docs/html/tools/studio/studio-config.jd create mode 100644 docs/html/tools/studio/studio-features.jd diff --git a/docs/html/images/tools/studio-globe-icon.png b/docs/html/images/tools/studio-globe-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..0701dd27c9e8ad24d52f8e3ff52124087b438374 GIT binary patch literal 710 zcmV;%0y+JOP)M$OUsXnV&BwGjq-m+qU6s8a*TT+|sP&sO!~dziwvj zl2h>jpd-pJUyR=z>J}mWx9wJmqxx7{GHNz9579uWelwPg=B7^_{ zA~2@?*)j3(aU(GG^vO{SjT5HOl~R;a#uy>QYSRIL5HgyKJsL~)nTC{7DHY?arPbIE z(*0dgUn;3kAs~>s?9O({1pubexG-#|>`UcK)z=wmjx^u~=^OnC3Q8d=L?EQD;N?>O zaO%yM%}vKuh!oV=Krm~X-5?$1`gq#%eR&u-)tDI#BjQ|UYx2W7Wx7&0p0-Z%sG&I< z)4lCL$kbAyt^g6bO);~WpI*p|NR%7;y{lHbCw>waTGkK%aBKc-c6Y_z%kS&~s$?QI soNON(=nzKha&`*(zqIrD6`Udc8(Py8U*)rQlmGw#07*qoM6N<$f{R^3KmY&$ literal 0 HcmV?d00001 diff --git a/docs/html/images/tools/studio-setup-wizard.png b/docs/html/images/tools/studio-setup-wizard.png deleted file mode 100644 index ccd92d361739b7700682d29fca44af8856584b96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 37815 zcmeFZbzD`?_BVbG2SJdO#zRO*cQ;D6bazR2*HH;kQd&wuTIuc*kdkhtOS&6=`}n!R zz2AGkKF{y<{ONve&Y3fN)|#33tXXT#n%RUtRg^+UB}N5-K*r5D23k{s)d@z<2-x@zPtVX}M}C$n%>z*fATMIhdF;d)heyr9mJ; z5l=^BQyX(vauah)D|;b|ow_Cpaw{_-3QaBrRs}~f^JiAl-p=N#-im6b-ZrLuW)vdA zsDhsS00TR7S7UNdJ6n4feorBaUwrw2G(4Myg8WwzR~sRU$M6ctwG^I`i#a%(lXEe1 zF`2Tmvyt=gF|%=T@$j%SlC!h2ak8+ov9NJ4vGMV9a`LmXlK<_Z5Jm-3g3e|Z{3_y- zf2$7oB}DPe)zy)og~h|egV}?F*}>V8g^iDokA;<;g`J%VD8c07W$$Y2$z<enU&=~ z5t*6(gT~R#+4fh{%uHF#ZO!e>?Oj~}I=25v=lIOQ)xqVN!+)vrACLcQ#lV;-DEy=D z|JYtTyZ>0Vi>rh?0KwlN{g0F`YF>`!EGp(M4sOn-<`V8eS1A8e?_I4d{y8}R!U_K5 zzqZ}n)9SyF!Jqs^_DdB08X-ZTul!=p=EklL&T0-0w!(i&+0(y6NG>M!ORC6e6^u=- z?BTf539|e<(LYE0pZv_lja|)!;S$Nj#?HjbtH#R5&&A2l#s#DSxxB^Xuaf`9L&3q! z%EIeE@!;ZT^o4V|L2Gb!WA1oAPqpvjDL*+n;^^o$opr_f0fsQkE*TPukw7{tiZ*> z2LJpU>Fvk=POAOCliq&(@1*~vRJXTs6=wfiZU2^iiwdrN|56O9fTLh8%+1Bc!6nG@ z@7e!O@zl!G+*V863YftzaJl4S160Z{qJMw#A1Sr}Ny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WCMi{WQ zNI!IHyF$0?eTvbYc86I0mNxG1J?DmXWzg7|V4>tOo6$A@i6VbB4I_O8{ambT-HhZhNLP{;o z?lD5l!XycO@Fq!e(?_Uu$dst6QwZ(qtc_~b=(?745P`LchlwsjoKd?Rl^~JuuuEY4bb0|uYXf@hdi~mC0Bhia(9_fV zI$~P7D&E)j%Gq8#g%NyfD{oA4&%%&g_U!jS$wqeRy6sPQ#j!vvmA=m|qh&pQm zj5@yh&`ZONlys?Lf^-jnp?@)+ZU+*l`ovcaMV(37-;VLA_EO;0Is*||In3DnSD8Ty z2mnFGo;ajG3blX}{~sRz2S)$f)A-Xe;eWHyyd82J2r_0k9jW;*z*$h?Q`P|#GYI2 zcsa#oIQ9{Gzxs*54hs!c)AIEWYvK7~#(=>k-iA8!!ZXhsMJFuhyCc3V@pexhw}4C5 zD1qzA5f0-l3y9vM-YN%KlPZ5s%_A?&yC1tZCM1AB5rXpi_%6Tg< zRp?euYO6En)4qa)U^NiG$HeVCj!_3zycZ}JE}9)MI&;EC^vm+;#UdW75fcp~i^Apb zCF>pqcdTe9GY>b5EBL$}KxXUmG21?vA=!yhzSgJGH%CQL_^@oN7{} zqEU4ndx2+NOXr>ZcD&I(XaZX+NT?@xvgh-~HbE=%DuUg|C`gNjISQ$?BhYbDv(I6P zzbNu{`UK7R@8|x;I1ms5Kiv2INp2}K_2oIn this document
    -
  1. Productivity Features
  2. +
  3. Productivity Shortcuts
  4. Working with IntelliJ
  5. Key Commands
@@ -26,7 +26,7 @@ provides some tips to help you get started with some of the most common tasks an enhancements.

-

Productivity Features

+

Productivity Shortcuts

Android Studio includes a number of features to help you be more productive in your coding. This section notes a few of the key features to help you work quickly and efficiently. @@ -48,6 +48,18 @@ the bitmap in the debugger.

Figure 1. Bitmap Rendering

+

Creating new files

+

You can quickly add new code and resource files by clicking the appropriate directory in the +Project pane and pressing ALT + INSERT on Windows and Linux or +COMMAND + N on Mac. Based on the type of directory selected, Android Studio +offers to create the appropriate file type.

+ +

For example, if you select a layout directory, press ALT + INSERT on Windows, +and select Layout resource file, a dialog opens so you can name the file +(you can exclude the {@code .xml} suffix) and choose a root view element. The editor then +switches to the layout design editor so you can begin designing your layout.

+ +

Output window message filtering

When checking build results, you can filter messages by message type to quickly locate messages of interest.

@@ -111,8 +123,8 @@ a class, method, or field from a library for which you do not have source file a

Debugging and performance enhancements

Android Studio offers debugging and performance enhancements such as:

    -
  • Auto detect an expanded set of code styles. To modify the current code style, choose - File > Settings > Code Styles.
  • +
  • Custom keymaps. To modify the current keymap, choose + File > Settings > Keymap.
  • Support for high density (Retina) displays on Windows and Linux.
  • Scratch files for quick prototyping without creating any project files.

    Choose Tools > New Scratch File to open a scratch file to quickly @@ -174,7 +186,7 @@ updates.

    Image and color preview

    When referencing images and icons in your code, a preview of the image or icon appears (in actual size at different densities) in the code margin to help you verify the image or icon -reference. Pressing {@code F1} with the preview image or icon selected displays resource asset +reference. Pressing {@code F1} with the preview image or icon selected displays resource asset details, such as the dp settings.

    @@ -188,13 +200,6 @@ attribute ?android:textAppearanceLarge, you will see the theme inherita resolved values for the various attributes that are pulled in.

    -

    New Allocation Tracker integration in the Android/DDMS window

    -

    You can now inspect theme attributes using View > Quick Documentation - F1, see the theme inheritance hierarchy, and resolved values for the -various attributes.

    - -

    Figure 4. Allocation Tracker

    -

    Keyboard Commands

    diff --git a/docs/html/tools/building/configuring-gradle.jd b/docs/html/tools/building/configuring-gradle.jd index 7cca5b4809b9e..73a048b9f075c 100644 --- a/docs/html/tools/building/configuring-gradle.jd +++ b/docs/html/tools/building/configuring-gradle.jd @@ -198,6 +198,75 @@ settings from the Android SDK installation. Android Studio adds the module-speci proguard-rules.pro at the root of the module, where you can add custom ProGuard rules.

    + + +

    Application ID for package identification

    +

    With the Android build system, the applicationId attribute is used to +uniquely identify application packages for publishing. The application ID is set in the +android section of the build.gradle file. +

    + +
    +    apply plugin: 'com.android.application'
    +
    +    android {
    +        compileSdkVersion 19
    +        buildToolsVersion "19.1"
    +
    +    defaultConfig {
    +        applicationId "com.example.my.app"
    +        minSdkVersion 15
    +        targetSdkVersion 19
    +        versionCode 1
    +        versionName "1.0"
    +    }
    +    ...
    +    
    + +

    Note: The applicationId is specified only in your +{@code build.gradle} file, and not in the AndroidManifest.xml file.

    + +

    When using build variants, the build system enables you to uniquely identify different +packages for each product flavors and build types. The application ID in the build type is added as +a suffix to those specified for the product flavors.

    + +
    +   productFlavors {
    +        pro {
    +            applicationId = "com.example.my.pkg.pro"
    +        }
    +        free {
    +            applicationId = "com.example.my.pkg.free"
    +        }
    +    }
    +
    +    buildTypes {
    +        debug {
    +            applicationIdSuffix ".debug"
    +        }
    +    }
    +    ....
    +   
    + +

    The package name must still be specified in the manifest file. It is used in your source code +to refer to your R class and to resolve any relative activity/service registrations.

    + +
    +   
    +   package="com.example.app">
    +   
    + +

    Note: If you have multiple manifests (for example, a product +flavor specific manifest and a build type manifest), the package name is optional in those manifests. +If it is specified in those manifests, the package name must be identical to the package name +specified in the manifest in the src/main/ folder.

    + +

    For more information about the build files and process, see +Build System Overview.

    + + +

    Configure signing settings

    The debug and the release versions of the app differ on whether the application can be diff --git a/docs/html/tools/studio/index.jd b/docs/html/tools/studio/index.jd index 09a10f614f0d1..5041b8380761b 100644 --- a/docs/html/tools/studio/index.jd +++ b/docs/html/tools/studio/index.jd @@ -12,9 +12,6 @@ page.tags=studio,sdk,tools,firstapp

  • Project and File Structure
  • Android Build System
  • Debug and Performance
  • -
  • Installation, Setup, and Update Management
  • -
  • HTTP Proxy Settings
  • -
  • Other Highlights
  • @@ -46,7 +43,6 @@ Android Studio offers:

  • And much more
-

Download Android Studio now.

If you're new to Android Studio or the IntelliJ IDEA interface, this page provides an introduction to some key Android @@ -141,22 +137,7 @@ and Managing Projects.

-

Creating new files

-

You can quickly add new code and resource files by clicking the appropriate directory in the -Project pane and pressing ALT + INSERT on Windows and Linux or -COMMAND + N on Mac. Based on the type of directory selected, Android Studio -offers to create the appropriate file type.

- -

For example, if you select a layout directory, press ALT + INSERT on Windows, -and select Layout resource file, a dialog opens so you can name the file -(you can exclude the {@code .xml} suffix) and choose a root view element. The editor then -switches to the layout design editor so you can begin designing your layout.

- - -

Android Build System

- -

Android Build System

The Android build system is the toolkit you use to build, test, run and package your apps. This build system replaces the Ant system used with Eclipse ADT. It can run as an integrated tool from the Android Studio menu and independently from the command line. You can use @@ -176,76 +157,11 @@ To configure custom build settings in an Android Studio project, see Configuring Gradle Builds.

-

Application ID for package identification

-

With the Android build system, the applicationId attribute is used to -uniquely identify application packages for publishing. The application ID is set in the -android section of the build.gradle file. -

- -
-    apply plugin: 'com.android.application'
-
-    android {
-        compileSdkVersion 19
-        buildToolsVersion "19.1"
-
-    defaultConfig {
-        applicationId "com.example.my.app"
-        minSdkVersion 15
-        targetSdkVersion 19
-        versionCode 1
-        versionName "1.0"
-    }
-    ...
-    
- -

Note: The applicationId is specified only in your -{@code build.gradle} file, and not in the AndroidManifest.xml file.

- -

When using build variants, the build system enables you to uniquely identify different -packages for each product flavors and build types. The application ID in the build type is added as -a suffix to those specified for the product flavors.

- -
-   productFlavors {
-        pro {
-            applicationId = "com.example.my.pkg.pro"
-        }
-        free {
-            applicationId = "com.example.my.pkg.free"
-        }
-    }
-
-    buildTypes {
-        debug {
-            applicationIdSuffix ".debug"
-        }
-    }
-    ....
-   
- -

The package name must still be specified in the manifest file. It is used in your source code -to refer to your R class and to resolve any relative activity/service registrations.

- -
-   
-   package="com.example.app">
-   
- -

Note: If you have multiple manifests (for example, a product -flavor specific manifest and a build type manifest), the package name is optional in those manifests. -If it is specified in those manifests, the package name must be identical to the package name -specified in the manifest in the src/main/ folder.

- -

For more information about the build files and process, see -Build System Overview.

- - -

Debug and Performance

- +

Android Studio provides a number of improvements to assist you in debugging and improving the +performance of your code, including an improved virtual device management, inline debugging, and +performance analysis tools.

Android Virtual Device (AVD) Manager

AVD Manager has updated screens with links to help you select the most popular device @@ -350,7 +266,8 @@ android {

You can also manage inspection profiles and configure inspections within Android Studio. -Choose File > Settings > Project Settings and expand Editor. +Choose File > Settings >, expand the Editor options, +and select Inspections. The Inspection Configuration page appears with the supported inspections.

Figure 5. Configure inspections.

@@ -506,7 +423,7 @@ the device display.

Log messages

When you build and run your app with Android Studio, you can view adb and device log messages -(logcat) in the DDMS pane by clicking Android at the bottom of the window.

+(logcat) by clicking Android at the bottom of the window.

If you want to debug your app with the Android Debug Monitor, you can launch it by @@ -520,232 +437,4 @@ controlling device behaviors, and more. It also includes the Hierarchy Viewer to -

Installation, Setup, and Update Management

- -

Android Studio installation and setup wizards

-

When you begin the installation process, an installation and setup wizard walks you through -a step-by-step installation and setup process as the wizard checks for system requirements, -such as the Java Development Kit (JDK) and available RAM, and then prompts for optional -installation options, such as the Intel® HAXM emulator accelerator.

- -

During the installation process, a setup wizard walks you through the setup processes as -the wizard updates your system image and emulation requirements, such GPU, and then creates -an optimized default Android Virtual Device (AVD) based on Android 5 (Lollipop) for speedy and -reliable emulation.

-

-

Figure 9. Installation and setup wizard.

- - -

Expanded template and form factor support

-

Android Studio supports templates for Google Services and expands the available device -types.

- -

Android Wear and TV support

-

For easy cross-platform development, the Project Wizard provides templates for - creating your apps for Android Wear and TV.

-

- -

Figure 10. Supported form factors.

-

During app creation, the Project Wizard also displays an API Level dialog to help you choose - the best minSdkVersion for your project.

- - -

Google App Engine integration (Google Cloud Platform/Messaging)

-

Quick cloud integration. Using Google App Engine to connect to the Google cloud - and create a cloud end-point is as easy as selecting File > New Module > App Engine Java - Servlet Module and specifying the module, package, and client names.

-

-

Figure 11. Google App Engine integration.

- - -

Easy access to project and file settings

-

Android Studio provides setting dialogs so you can manage the most important project and file -settings from the File menus as well as the build and configuration files. For -example, you can use the File > Project Structure menu or -the build.gradle file to update your productFlavor settings. -Additional settings from the File menus include: -

    -
  • SDK and JDK location
  • -
  • SDK version
  • -
  • Gradle and Android Plugin for Gradle versions
  • -
  • Build tools version
  • -
  • Multidex setting
  • -
  • Product flavors
  • -
  • Build types
  • -
  • Dependencies
  • -
-

- - - -

Update channels

-

Android Studio provides four update channels to keep Android Studio up-to-date based on your -code-level preference: -

    -
  • Canary channel: Canary builds provide bleeding edge releases, updated - about weekly. While these builds do get tested, they are still subject to bugs, as we want - people to see what's new as soon as possible. This is not recommended for production.
  • -
  • Dev channel: Dev builds are hand-picked older canary builds that survived - the test of time. They are updated roughly bi-weekly or monthly.
  • -
  • Beta channel: Beta builds are used for beta-quality releases before a - production release.
  • -
  • Stable channel: Used for stable, production-ready versions.
  • -
-

- -

By default, Android Studio uses the Stable channel. Use -File > Settings > Updates to change your channel setting.

- - - -

Proxy Settings

-

Proxies serve as intermediary connection points between HTTP clients and web servers that add -security and privacy to internet connections.

- -

To support running Android Studio behind a firewall, set the proxy settings for the -Android Studio IDE and the SDK Manager. Use the Android Studio IDE HTTP Proxy settings page to set -the HTTP proxy settings for Android Studio. The SDK Manager has a separate HTTP Proxy settings -page.

- -

When running the Android Plugin for Gradle from the command line or on machines where -Android Studio is not installed, such as continuous integration servers, set the proxy settings -in the Gradle build file.

- -

Note: After the initial installation of the Android Studio bundle, -Android Studio can run with internet access or off-line. However, Android Studio requires an -internet connection for Setup Wizard synchronization, 3rd-party library access, access to remote -repositories, Gradle initialization and synchronization, and Android Studio version updates.

- - -

Setting up the Android Studio Proxy

-

Android Studio supports HTTP proxy settings so you can run Android Studio behind a firewall or -secure network. To set the HTTP proxy settings in Android Studio:

-
    -
  1. From the main menu choose File > Settings > Appearance & Behavior -- System - Settings -- HTTP Proxy. - -
  2. In Android Studio, open the IDE Settings dialog. -
      -
    • On Windows and Linux, choose - File > Settings > IDE Setting -- HTTP Proxy.
    • -
    • On Mac, choose - Android Studio > Preferences > IDE Setting -- HTTP Proxy.
    • -
    - The HTTP Proxy page appears.
  3. -
  4. Select auto-detection to use an auto-configuration URL to configure the - proxy settings or manual to enter each of the settings. For a detailed explanation - of these settings, see - HTTP Proxy.
  5. -
  6. Click Apply to enable the proxy settings.
  7. -
- -

Android Plugin for Gradle HTTP proxy settings

-When running the Android Plugin from the command line or on machines where Android Studio is not -installed, set the Android Plugin for Gradle proxy settings in the Gradle build file.

- -

For application-specific HTTP proxy settings, set the proxy settings in the -{@code build.gradle} file as required for each application module.

-
-apply plugin: 'com.android.application'
-
-android {
-    ...
-
-    defaultConfig {
-        ...
-        systemProp.http.proxyHost=proxy.company.com
-        systemProp.http.proxyPort=443
-        systemProp.http.proxyUser=userid
-        systemProp.http.proxyPassword=password
-        systemProp.http.auth.ntlm.domain=domain
-    }
-    ...
-}
-
- - - -

For project-wide HTTP proxy settings, set the proxy settings in the -gradle/gradle.properties file.

- -
-# Project-wide Gradle settings.
-...
-
-systemProp.http.proxyHost=proxy.company.com
-systemProp.http.proxyPort=443
-systemProp.http.proxyUser=username
-systemProp.http.proxyPassword=password
-systemProp.http.auth.ntlm.domain=domain
-
-systemProp.https.proxyHost=proxy.company.com
-systemProp.https.proxyPort=443
-systemProp.https.proxyUser=username
-systemProp.https.proxyPassword=password
-systemProp.https.auth.ntlm.domain=domain
-
-...
-
- - -

For information about using Gradle properties for proxy settings, see the - Gradle User Guide.

- -

Note: When using Android Studio, the settings in the Android -Studio IDE HTTP proxy settings page override the HTTP proxy settings in the -gradle.properties file.

- - - -

SDK Manager HTTP Proxy Settings

-

SDK Manager proxy settings enable proxy internet access for Android package and library -updates from SDK Manager packages.

- -

To set the SDK Manager settings for proxy internet access, start the SDK Manager and open the -SDK Manager page.

- -
    -
  • On Windows, select Tools > Options from the menu bar.
  • -
  • On Mac and Linux, choose Tools > Options from the system menu bar.
  • -
- -

The Android SDK Manager page appears. Enter the settings and click Apply.

- - - -

Other Highlights

- -

Translations Editor

-

Multi-language support is enhanced with the Translations Editor plugin so you can easily add -a variety of locales to the app's translation file. With -BCP 47 support, the editor combines language and -region codes into a single selection for targeted localizations. Color codes indicate whether a -locale is complete or still missing string translations.

- -

To access the Translations Editor, open a strings.xml file and click the -Open Editor link.

- - -

Figure 12. Add locales and strings in the - Translations Editor.

- - -

Editor support for the latest Android APIs

-

Android Studio supports the -Material Design themes, widgets, and -graphics, such as shadow layers and API version rendering (showing the layout across different -UI versions). Also, the drawable XML tags and attributes, such as <ripple> -and <animated-selector>, are supported.

- - -

Easy access to Android code samples on GitHub

-

Clicking Import Samples from the File menu or Welcome -page provides seamless access to Google code samples on GitHub.

-

-

Figure 13. Get code samples from GitHub.

- - -

-

Figure 14. Imported code sample.

- diff --git a/docs/html/tools/studio/studio-config.jd b/docs/html/tools/studio/studio-config.jd new file mode 100644 index 0000000000000..f9646b8533d1c --- /dev/null +++ b/docs/html/tools/studio/studio-config.jd @@ -0,0 +1,174 @@ +page.title=Configuration +page.metaDescription=Learn about the Android Studio configuration. +page.tags=studio, configuration +@jd:body + +
+
+ +

In this document

+
    +
  1. Update Channels
  2. +
  3. Proxy Settings
  4. +
+ +

See also

+
    +
  1. Installing Android Studio
  2. +
  3. Workflow
  4. +
  5. Build System
  6. +
+ +
+
+ + +

During installation, Android Studio provides wizards and templates that verify your system +requirements, such as the Java Development Kit (JDK) and available RAM, and configure default +settings, such as an optimized default Android Virtual Device (AVD) emulation and updated system +images. This document describes additional configuration settings you may want to use to +customize your use of Android Studio.

+ +

For specific documentation about emulator and device setup and use, see +Managing Virtual Devices, +Using Hardware Devices, and +OEM USB Drivers.

+ + + +

Update channels

+

Android Studio provides four update channels to keep Android Studio up-to-date based on your +code-level preference: +

    +
  • Canary channel: Canary builds provide bleeding edge releases, updated + about weekly. While these builds do get tested, they are still subject to bugs, as we want + people to see what's new as soon as possible. This is not recommended for production.
  • +
  • Dev channel: Dev builds are hand-picked older canary builds that survived + the test of time. They are updated roughly bi-weekly or monthly.
  • +
  • Beta channel: Beta builds are used for beta-quality releases before a + production release.
  • +
  • Stable channel: Used for stable, production-ready versions.
  • +
+

+ +

By default, Android Studio uses the Stable channel. Use +File > Settings > Appearance & Behavior System Settings > Updates to change your +channel setting.

+ + + +

Proxy Settings

+

Proxies serve as intermediary connection points between HTTP clients and web servers that add +security and privacy to internet connections.

+ +

To support running Android Studio behind a firewall, set the proxy settings for the +Android Studio IDE and the SDK Manager. Use the Android Studio IDE HTTP Proxy settings page to set +the HTTP proxy settings for Android Studio. The SDK Manager has a separate HTTP Proxy settings +page.

+ +

When running the Android Plugin for Gradle from the command line or on machines where +Android Studio is not installed, such as continuous integration servers, set the proxy settings +in the Gradle build file.

+ +

Note: After the initial installation of the Android Studio bundle, +Android Studio can run with internet access or off-line. However, Android Studio requires an +internet connection for Setup Wizard synchronization, 3rd-party library access, access to remote +repositories, Gradle initialization and synchronization, and Android Studio version updates.

+ + +

Setting up the Android Studio Proxy

+

Android Studio supports HTTP proxy settings so you can run Android Studio behind a firewall or +secure network. To set the HTTP proxy settings in Android Studio:

+
    +
  1. From the main menu choose File > Settings > Appearance & Behavior -- System + Settings -- HTTP Proxy. + +
  2. In Android Studio, open the IDE Settings dialog. +
      +
    • On Windows and Linux, choose + File > Settings > IDE Setting -- HTTP Proxy.
    • +
    • On Mac, choose + Android Studio > Preferences > IDE Setting -- HTTP Proxy.
    • +
    + The HTTP Proxy page appears.
  3. +
  4. Select auto-detection to use an auto-configuration URL to configure the + proxy settings or manual to enter each of the settings. For a detailed explanation + of these settings, see + HTTP Proxy.
  5. +
  6. Click Apply to enable the proxy settings.
  7. +
+ +

Android Plugin for Gradle HTTP proxy settings

+When running the Android Plugin from the command line or on machines where Android Studio is not +installed, set the Android Plugin for Gradle proxy settings in the Gradle build file.

+ +

For application-specific HTTP proxy settings, set the proxy settings in the +{@code build.gradle} file as required for each application module.

+
+apply plugin: 'com.android.application'
+
+android {
+    ...
+
+    defaultConfig {
+        ...
+        systemProp.http.proxyHost=proxy.company.com
+        systemProp.http.proxyPort=443
+        systemProp.http.proxyUser=userid
+        systemProp.http.proxyPassword=password
+        systemProp.http.auth.ntlm.domain=domain
+    }
+    ...
+}
+
+ + + +

For project-wide HTTP proxy settings, set the proxy settings in the +gradle/gradle.properties file.

+ +
+# Project-wide Gradle settings.
+...
+
+systemProp.http.proxyHost=proxy.company.com
+systemProp.http.proxyPort=443
+systemProp.http.proxyUser=username
+systemProp.http.proxyPassword=password
+systemProp.http.auth.ntlm.domain=domain
+
+systemProp.https.proxyHost=proxy.company.com
+systemProp.https.proxyPort=443
+systemProp.https.proxyUser=username
+systemProp.https.proxyPassword=password
+systemProp.https.auth.ntlm.domain=domain
+
+...
+
+ + +

For information about using Gradle properties for proxy settings, see the + Gradle User Guide.

+ +

Note: When using Android Studio, the settings in the Android +Studio IDE HTTP proxy settings page override the HTTP proxy settings in the +gradle.properties file.

+ + + +

SDK Manager HTTP Proxy Settings

+

SDK Manager proxy settings enable proxy internet access for Android package and library +updates from SDK Manager packages.

+ +

To set the SDK Manager settings for proxy internet access, start the SDK Manager and open the +SDK Manager page.

+ +
    +
  • On Windows, select Tools > Options from the menu bar.
  • +
  • On Mac and Linux, choose Tools > Options from the system menu bar.
  • +
+ +

The Android SDK Manager page appears. Enter the settings and click Apply.

+ + + diff --git a/docs/html/tools/studio/studio-features.jd b/docs/html/tools/studio/studio-features.jd new file mode 100644 index 0000000000000..76eba1001114a --- /dev/null +++ b/docs/html/tools/studio/studio-features.jd @@ -0,0 +1,123 @@ +page.title=Features +page.metaDescription=Learn about the Android Studio features. +page.tags=studio, features +@jd:body + + + + +

If you're new to Android Studio or exploring recent updates, this +page provides an introduction to some key Android Studio features.

+ +

For specific Android Studio how-to documentation, see the pages in the Workflow section, such as +Managing Projects from Android Studio +and +Building and Running from Android Studio.

+ + + +

Translations Editor

+

Multi-language support is enhanced with the Translations Editor plugin so you can easily add +a variety of locales to the app's translation file. With +BCP 47 support, the editor combines language and +region codes into a single selection for targeted localizations. Color codes indicate whether a +locale is complete or still missing string translations.

+ +

To access the Translations Editor, open a strings.xml file and click the +Open Editor link, or click the globe icon +() in the Design layout view.

+ + + +

Figure 1. Add locales and strings in the + Translations Editor.

+ + + +

Android Code Samples on GitHub

+

Clicking Import Samples from the File menu or Welcome +page provides seamless access to Google code samples on GitHub.

+

+

Figure 2. Get code samples from GitHub.

+ + +

+

Figure 3. Imported code sample.

+ + + +

Expanded Template and Form Factor Support

+

Android Studio supports templates for Google Services and expands the available device +types.

+ +

Android Wear and TV support

+

For easy cross-platform development, the Project Wizard provides templates for + creating your apps for Android Wear and TV.

+

+ +

Figure 4. Supported form factors.

+

During app creation, the Project Wizard also displays an API Level dialog to help you choose + the best minSdkVersion for your project.

+ + +

Google App Engine integration (Google Cloud Platform/Messaging)

+

Quick cloud integration. Using Google App Engine to connect to the Google cloud + and create a cloud end-point is as easy as selecting File > New Module > App Engine Java + Servlet Module and specifying the module, package, and client names.

+

+

Figure 5 Google App Engine integration.

+ + +

Android Studio and Project Settings

+

Android Studio provides setting dialogs so you can manage the most important Android Studio and +project settings from the File > Project Structure and +File > Settings menus. For example, you can use the +File > Project Structure menu or +the build.gradle file to update your productFlavor settings. +Additional settings from the File > Project Structure menus include: +

    +
  • SDK and JDK location
  • +
  • SDK version
  • +
  • Gradle and Android Plugin for Gradle versions
  • +
  • Build tools version
  • +
  • Multidex setting
  • +
  • buildTypes
  • +
  • Dependencies
  • +
+

+ +

Use the File > Settings menu to modify the Android Studio or project +behavior, such a UI themes, system settings, and version control.

+ + + +

Editor Support for the Latest Android APIs

+

Android Studio supports the +Material Design themes, widgets, and +graphics, such as shadow layers and API version rendering (showing the layout across different +UI versions). Also, the drawable XML tags and attributes, such as <ripple> +and <animated-selector>, are supported.

+ + + diff --git a/docs/html/tools/tools_toc.cs b/docs/html/tools/tools_toc.cs index abfa0304bb096..db19d4f5821eb 100644 --- a/docs/html/tools/tools_toc.cs +++ b/docs/html/tools/tools_toc.cs @@ -20,6 +20,10 @@ Android Studio @@ -196,6 +200,68 @@ class="en">Tools Help + + + + +