as Download:
Https://developer.android.com/studio/index.html
installation of AS:
Android Studio, SDK, virtual device are installed, the installation path should not be selected in the C drive
To create a new project:
The creation process is no longer a part of the web.
Real-machine operation:
After the project is written, use the USB cable to connect the Android phone to the computer ( Note: The mobile phone must open the developer option and then turn on the USB debugging function ), click on the device detected after the run to choose their own phone (usually only one, point that good), after the successful operation, This software is automatically installed on your phone.
problems encountered:1. When the default path is modified at the time of installation, the first open as will cause an error in SDK location not found.
Solution: do not leave it to cancel directly into as, through configure, project defaults, projuct structure set the SDK path to the installation path of the SDK you chose when you installed it.
2. If you create only Hello World, select empty activity when creating a project, but if you create a basic activity and select the real machine to run it will indicate that my phone version is too low.
solution: Download API 19 via Android SDK Manager (currently the majority of Android device versions are already greater than or equal to API 19 so it is compatible with most devices) and API 23 (this is my mobile version, can be selected according to the actual situation to download).
The final recommendation: If you can best use the real machine for debugging, the virtual machine takes up memory and runs very slowly.
Android First lesson: the Environment of Android studio and the operation of the real machine and the problems encountered