Google released Android Studio and AndroidStudio at the 2013 I/O conference
Before AndroidStudio, make sure that you have installed jdk and configured it. If you do not install jdk, Baidu.
1.2 download AndroidStudio
Download the http://developer.android.com/sdk/installing/studio.html on the AndroidStudio Download Page
2. Install 2.1
You can install nxet all the way. Note that after you install jdk, it will automatically find your jdk path. If it is not installed, an error will be prompted.
Installed successfully
3. Start AndroidStudio and create Android Project 3.1 initialization.
At the first startup, you will be prompted to import the previous configuration file. If you use AndroidStudio for the first time, you can choose not to use the setting file.
On the welcome page, you can create a new project and import the project. We choose to create a new project,
3.2 Create a project
Note the two text boxes in the red box. The default package name is com. example. Project name. Do not start with com. example.
Project location text box. The default path must be used for actual operations. Any change will report an error. Because it is a 0.1 preview version, it should be a Bug and will be fixed in later versions.
Next,
3.3no startup, gradle-1.6-bin.zip cannot be downloaded
If you encounter this mistake, you can scold the principal and his Great Wall firewall. I will not mention the network environment in China.
The following describes how to solve the problem. The first method is to flip the wall and use Baidu. Download the gradle-1.6-bin.zip offline package.
After the download, extract the package to any location and configure the path of the environment variable to the bin directory of gradle, as shown in figure
After environment variables are configured, run the gradle-v command in cmd to verify whether the environment variables are successful.
Supplement: According to http://www.cnblogs.com/longware/discovery, go directly to the android Studio installation directory and run bin \ studio. bat. An error is found.
Unrecognized VM option '+ UseCodeCacheFlushing'
Cocould not create the Java virtual machine.
Find the *. vmoptions file in the bin directory and delete-XX: + UseCodeCacheFlushing.
3.4 create an Android Project
After configuring the gradle environment variables, close AndroidStudio, re-open AndroidStudio, repeat Step 3.2, create a project, one way next, you will find that you can successfully create a project, however, building a project is slow. Please wait.