Download install Android Studio
Android Studio Chinese Community
1.Install Android Studio
Download Android Studio and Launch the downloaded EXE file.
Needs JDK 6 or greater.
>javac-version
2.Adding SDK Packages
android SDK manger: tools > android > sdk Manager (from Android Studio)
3.Recommended Packages:
1) SDK Tools (Required): Keep this up to date.
2) SDK Platform-tools (Required): Must install the "this" when first install the SDK.
3) SDK Platform (Required): Recommend use the latest version as your build target. To run your app on older version, you must build against the latest version in order.
Get to know Minsdkversion vs. Build Target, refer to Uses-sdk-element <uses-sdk>
What API level should I target?
4) System Image (Recommended): Using the Emulator
It's recommended to download system images of all versions of Andorid your apps supports and test your app running on them With the emulator.
5) Android Support (Recommended): includes a static library, that supports older versions.
6) SDK Samples (Recommended): The source code you can use for learn about Android or reuse in your own app. One sample package for one Android platform version.
Tip: For easy access to the SDK tools from a command line, add the location of the SDK ' s Tools/and platform-tool s to your PATH environment variable.
Report:
A problems connecting to the SDK repository
Using SDK Manager Download packages encountered connection problem, you can use HTTP instead of HTTPS.
-
With the Android SDK Manager windows open, select "Settings" in the left pane.
-
On the ' Misc ' section, check the checkbox labeled "Force https://... sources to be fetched using http://..."
-
Click Save & Apply.
B Adding New Sites
The third party device manufacturer's Android device uses the provided third-party API library to install their Android SDK add-on. If the SDK add-on repository on their website, add their site to the SDK Manager:
-
Select Available Packages in the left panel.
-
Click Add Add-on Site and enter the URL of the repository.xml file. Click OK.
Any SDK packages available from the site would now is listed under a new item named User add-ons.
This article is from "Whispering Autumn Wind" blog, please be sure to keep this source http://xjhznick.blog.51cto.com/3608584/1551515
Android Studio--Installation and useage