Androidstudio Installation
Download Androidstudio
Http://www.android-studio.org/index.php/component/content/category/88-download
Installation is all the way next
However, I recommend that you choose the SDK installation path, do not select the path to the C-drive user, you will find all the downloaded SDK and Google's USB driver in this folder, C-drive cannot hold
Write a HelloWorld
First, create a new project
Here is the application name is the project name, after installing your apk on the phone, the app name is here application name
Select Android version
Where the minimum SDK is the lowest compatible version of the program. Choose 4.4 can, of course, you can also now lower version, so compatible with more mobile phones, but it is better to choose more than 4
Select a blank activity
Give the activity a name.
This concludes with a simple HelloWorld Android app
Let's talk about how to run our programs with virtual machines and real machines.
- Using an Android virtual machine
Click on the icon in the box to enter the Android virtual machine settings
Click Add Virtual Machine
Select a phone model
Set the Android model for your phone model
I am following the default settings for this item
OK below we click to run our Android program
The leftmost first icon is the one that compiles our Android program
The right-most triangle icon is responsible for directly running our program, click on the icon to run the program
If normal, it will appear.
But if the port does not open the situation, the computer on the mobile Phone Assistant program is uninstalled, or not let it run, try again.
Android Learning (1)--androidstudio installation and HelloWorld