Developing with Android-studio
The latest Android-studio program when writing an article download: https://dl.google.com/dl/android/studio/ide-zips/3.0.0.5/ Android-studio-ide-171.4163606-windows.zip
For more versions, refer to: http://www.androiddevtools.cn/
You can use the genymotion virtual machine to download and register your account on a foreign website.
You can also use Android-studio's own virtual machine, or you can take an Android phone to debug.
After downloading the compressed package, extract to the D:\Program Files\android-studio directory, the Studio64.exe program to create desktop shortcuts, in the future to start the Android-studio can be directly desktop double-click Run.
JDK download and installation is not explained, remember to add the environment variable java_home.
In the environment variable of the operating system, add the Path variable; X:\...\sdk\platform-tools which x:\ ... The SDK is the Android SDK directory. Then test adb version in the command line to see that the version is set up.
Next go to the Android-studio program, the initial interface is as follows:
Click Start a new Android Studio project to start the first Android program.
After creating a new project, click on the icon in the top right corner to download the SDK platforms
Because of the use of real machine debugging, the phone connected to the computer, and turn on the debug mode (specific reference to each mobile phone, I use the Huawei mobile phone into the debug mode method: Set-up about mobile phone-click Version number seven or eight times, you are prompted to say enter the developer mode. )
Click on the Edit Configurations menu to set the debug device Target-USB device.
Now it's time to run our first Android app on your Android phone, but if it doesn't work, you can click on the Android Profiler and see if your phone is prompting you for an authorized device.
Original Android Development First Step