Android Studio installation Update Ultimate Solution
Previously wrote a blog that the Android SDK could not be updated, in fact, the same way for Android studio, you can download the network sharing the small software, if the search to the channel after the prompt need to be more fine, you can also choose to update. Reference:
http://blog.csdn.net/gao_chun/article/details/37971461
mention some of the problems encountered during the installation process after loading , the fetching Android SDK component informationis displayed, whichis in the Get SDK component information, after a moment in the Setup Wizard-downloading Components interface began to download the Andorid SDK, OK, the problem comes, no accident, here wait a long time, will eventually prompt failure.
Solution One: manually kill the Android studio process in Task Manager, then open the Idea.properties file under the bin directory of the Android Studio installation directory, and at the end add a configuration item that disables the start of running the wizard: disable.android.first.run=true
restarting the program will open the Project Wizard interface, which requires configuring the SDK or using a proxy server to download the SDK.
1. Configure the SDK direct point configure→project defaults→project structure to this interface:
2. Set up the proxy server Download SDK, Open configure→settings, enter HTTP in the lookup box ,retrieve the http Proxy, Set up a proxy server. Then quit the disable.android.first.run=true comment that you added above in the idea.properties profile or kill it and reopen Android The Get SDK component is automatically loaded when studio is downloaded, directly to download.
Setup agent in Android SDK Manager, Tools---Options ... And will force https://... sources to befetched using HTTP //, tick in Enable preview Tools is the Allow previewing tool to be enabled:
Workaround Two: Open the link before the article, download the small software open, when searching to the channel, ignore method one, do not add disable.android.first.run=true directly open Android Studio, no accident, as long as the normal search to the proxy channel, you can download the normal .
Note: Of course, you can also use the domestic mirror.
import projects from Eclipse to Android StudioAccording to the official introduction, Android Studio can be compatible with Eclipse's existing project, but requires some action:first upgrade ADT to the latest version, currently with version number 22 (note that the components associated with ADT should be upgraded to avoid possible late errors)Select the project you want to export from Eclipse, right-click Export and select Generate Gradle Build Files under Android (for example):
after the selection is not exported to other places, but in the local project generated a build.gradle file, in the Eclipse project can also be seen, this file is recognized by Android studio, such as:
then go to Android Studio and select Import Project, and you can see that the project icon just in Eclipse has become an Android robot icon, indicating that the conversion was successful, when you select Project Import:
Eclipse Imports an existing Android project to Android Studio and you are ready to start working on the project!
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Android Studio installation Update Ultimate Solution