Android Studio Configuration Android development environment

Source: Internet
Author: User
Tags android sdk manager

1. Download and install Android-studio-bundle

Address: https://developer.android.com/sdk/index.html
Note: Specify the installation path for Android SDK and Android studio.

After completion of the first boot will show the fetching Android SDK component information, wait a moment will start to download Andorid SDK, because of the wall, so this will wait very long time, the last hint download failed. The workaround is to close Android Studio first. Then open the Idea.properties file below the Bin folder of the Android Studio installation folder, and add a configuration entry that disables the Start wizard:disable.android.first.run=true

2. Configure Android Studio

Open the Android Studio Configuration Wizard, go to "Configure->project defaults->project Structure" and enter the interface to set the Android SDK (when installed) and the path to the JDK.



3. Configure the Android SDK to download the update (assuming that the SDK is not updated temporarily)

Open the Android Studio Configuration Wizard and go to "configure->settings->http Proxy" in turn. To set up a proxy:

And assuming that the Android SDK has not been installed before, you also need to set up the agent "Tools->options" in Android SDK manager. And force https://... sources to be fetched using/HTTP, settings such as the following (proxy ibid.)

Finally, the configuration item added in the Idea.properties configuration file is peered out, and the Android SDK is downloaded and installed on its own when you open Android studio again.

4. Create an Android project

First step: The wizard in Start a new Android studio project


Next: Select the API version number

Next step: Set activity


Overall structure of the project

Android Studio Configuration Android development environment

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.