Android studio installation and problems

[tip] a. the following Android studio2.2.2 versions. (there are also new versions)

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

[personal settings]

[size of SDK after installation]

[reason]

A. after installing as for the first time and starting up, it is detected that there is no SDK on the computer. This may happen even if the Android SDK is checked.

B. you can install the SDK later, or set to open the as for the first time without downloading the SDK.

[solution]

Select Cancel to download and configure the SDK later. If it is checked, you can search SDK through file - > setting - > after entering Android studio

[SDK path configuration]

[prompt] if the computer configuration is low, it is recommended to create a smaller size

[reason]

Because the project configuration (gradle, build) is different from the local, it must be updated. But at the same time, we can't access Google's relevant websites, so we can't update them.

[solution]

A. modify the gradle to a locally downloaded gradle. (build.gradle2gradle->wrapper->gradle-wrapper.properties)

B. modify the classpath in build.gradle to the specified gradle version to support the gradle version number specified in gradle above, such as gradle-2.2.2

C. Synchronize after modification

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>