From 59a3dd7b0e3a2ecab08d7dac39a44e2188cb8bc1 Mon Sep 17 00:00:00 2001
From: "smain@google.com" To start adding packages, launch the Android SDK Manager in one of the following ways: When you open the SDK Manager for the first time, several packages will be selected by
+ When you open the SDK Manager for the first time, several packages are selected by
default. Leave these selected, but be sure you have everything you need
to get started by following these steps:
-
-
in the toolbar.
SDK Manager.exe file at the root of the Android
SDK directory.
studio.exe file..exe file you just downloaded.On some Windows systems, the launcher script does not find where Java is installed. @@ -87,8 +86,9 @@ where they are installed. For example:
To set up Android Studio on Mac OSX:
Depending on your security settings, when you attempt to open Android Studio, you might see a warning that says the package is damaged and should be moved to the trash. If this @@ -96,13 +96,11 @@ where they are installed. For example:
Allow applications downloaded from, select Anywhere. Then open Android Studio again.The individual tools and other SDK packages are saved outside the Android Studio application -directory. If you need access the tools directly, use a terminal to navigate into the location -where they are installed. For example:
-/Applications/sdk/
If you need use the Android SDK tools from a command line, +you can access them at:
+/Users/<user>/Library/Android/sdk/
To set up Android Studio on Linux:
You may want to add {@code android-studio/bin/} to your PATH environmental variable so that you can start Android Studio from any directory.
An Android project contains all the files that comprise the source code for your Android -app. The Android SDK tools make it easy to start a new Android project with a set of -default project directories and files.
+app.This lesson shows how to create a new project either using Android Studio or using the diff --git a/docs/html/training/basics/firstapp/index.jd b/docs/html/training/basics/firstapp/index.jd index 4dca3522ef0fd..bb4deed4f174a 100644 --- a/docs/html/training/basics/firstapp/index.jd +++ b/docs/html/training/basics/firstapp/index.jd @@ -12,7 +12,7 @@ helpoutsWidget=true
Note: Make sure you install the most recent versions of Android -Studio and the Android SDK before you start this class. The procedures described in this class may -not apply to earlier versions.
+Note: Although most of this training class +expects that you're using Android Studio, some procedures include alternative +instructions for using +the SDK tools from the command line instead.
-If you haven't already done these tasks, start by downloading the - Android SDK and following the install steps. - Once you've finished the setup, you're ready to begin this class.
- -This class uses a tutorial format that incrementally builds a small Android app that teaches +
This class uses a tutorial format to create a small Android app that teaches you some fundamental concepts about Android development, so it's important that you follow each step.
diff --git a/docs/html/training/basics/firstapp/running-app.jd b/docs/html/training/basics/firstapp/running-app.jd index c09669fc5840d..912efb72aacba 100644 --- a/docs/html/training/basics/firstapp/running-app.jd +++ b/docs/html/training/basics/firstapp/running-app.jd @@ -25,7 +25,7 @@ helpoutsWidget=true
- Figure 1. The AVD Manager showing a virtual device.
-
.<sdk>/tools/ and execute:
- android avd
in the toolbar.<sdk>/tools/ and execute:
+ android avd+
Note: The AVD Manager that appears + when launched from the command line is different from the version in + Android Studio, so the following instructions may not apply.
+
+ Figure 1. The AVD Manager main screen shows your current virtual devices.
+ +When you select a device type, most of the fields auto-populate.
-It really doesn't matter what you enter here since you're not using any storage. But if you - reuse this AVD, you might have to adjust this setting.
For more information about using AVDs, see +Managing AVDs with AVD Manager.
+