Android Studio installation encountered some problems in the solution, share

Source: Internet
Author: User
Tags android sdk manager

The move from Eclipse to Android Studio is also very resistant, and there are always a lot of challenges to start with, but don't give up. The following are the problems I have encountered, and through the search engine to find solutions, the use of tools, the use of the mind, not to reach out to the people. Android Studio requires JDK 1.7+ to install, but this time it will be upgraded to 1.7. The first boot after the installation is completed will first show the fetching Android SDK component information, wait a while at setup wizard-downloading The components interface starts downloading the Andorid SDK because of the wall, so it waits a long time and the last hint fails. The workaround is to manually turn off the Android studio process in Task Manager and then open Android In the idea.properties file below the bin directory of the studio installation directory, add a configuration item that disables the Start Run wizard at the end: Disable.android.first.run=true the startup program opens the Project Wizard interface, This time if you click Start a new Android Studio project is unresponsive, and the SDK manager under configure is grayed out because the Android SDK is not installed or configured. At this point you need to configure the SDK or use a proxy server to download the SDK. Configure the SDK, and click Configure→project defaults→project structure to configure the path to the Android SDK and JDK if the path to the SDK and JDK is configured is still useless, Then you need to set up a proxy server let studio automatically download the SDK, the proxy server will not have to say, presumably as a qualified Chinese developers have the necessary knowledge points, do not have to spit slot. This time need to open configure→settings, in the Search box, enter proxy, find the following HTTP proxy, set up a proxy server, Then quit commenting out the configuration item that you added in the Idea.properties profile, reopen Android studio, and just start the wizard to download and install the Android SDK. If you have not previously installed the Android SDK, you will also need to set up the agent in Android SDK manager and force https://... sources to befetched using HTTP://selected, set as follows: Import project from Eclipse to Android studio[size=13.6000003814697px] According to the official introduction, Android Studio can be compatible with Eclipse's existing project, but there are some things to do: [ SIZE=13.6000003814697PX] First upgrade ADT to the latest version, currently the version number is 22 (note that the ADT-related components are best upgraded to avoid possible late errors) [SIZE=13.6000003814697PX] Select the project you want to export from Eclipse, right-click Export and select Generate Gradle Build Files under Android (e.g.): [size=13.6000003814697px] After selection is not exported to another place, Instead, a build.gradle file is generated in the local project, which is also visible in the Eclipse project, which is recognized by Android studio, such as: [Size=13.6000003814697px]3. Then go to Android Studio and select Import Project, you can see that the project icon just in Eclipse has become an Android robot icon, indicating the success of the conversion, this time select project import: [size=13.6000003814697px] So far, Now that you've finished importing existing Android projects from Eclipse to Android Studio, you're ready to start working on the project!

There are some problems in the installation of Android Studio, share the solution

Related Article

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.