Android Studio installation and issues

Source: Internet
Author: User

One, the installation of Android Studio

"Hint" A, the following Android studio2.2.2 version. (new version also available)

B. The following is the SDK that comes with Android studio

① Double-click the installation file to install

② If the SDK is not available, check the Android SDK. (if there is a choice not to tick)

③ Set the installation path of Android studio and the location of Android SDK Storage

④ Launch Android Studio

"Personal Settings"

"Size of post-installation SDK"

Second, installation encountered problems ①unable to access Android SDK Add-on List

Reason

A, after the first installation as, after starting, detected that the computer does not have the SDK. This can happen even if you check the Android SDK.

B, you can install the SDK later, or set the first open as, not download the SDK.

"Workaround"

Select Cancel to download and configure the path to the SDK later. If checked, you can access Android studio via file--->setting---> Search SDK

"Configuration of the SDK path"

Iii. creating the first project for testing and the first simulator ① creating the first project

② Creating the First emulator

Tips for low PC configuration create a smaller size

Four, the operation of the problem ①error:connection timed out:connect. If you is hahind an Http proxy. Configure the proxy settings ether in IDE or Gradle.

Reason

Because the project configuration (gradle,build) is different from the local, it must be updated. But at the same time we have no way to visit Google's related sites, so there is no way to update.

"Solution"

A, modify gradle for the local downloaded Gradle, set to your installation version such as 2.2.2. (build.gradle2gradle->wrapper->gradle-wrapper.properties)

B. Modify the Classpath in Build.gradle to specify the Gradle version to support the Gradle version number specified in Gradle above, such as: gradle-2.2.2

C, after the change to synchronize

(The new version may be on the left) ②error running app:instant Run requires ' Tools | Android | Enale ADB integration ' to is enabled. Prompt To resolve the prompt, see how to fix

Reason

When the DDMS is turned on, the program cannot be installed. Or in other cases, this can happen. Look at the solution in detail.

"Solution"

The tools---->android--->enable ADB integration.

Android Studio installation and issues

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.