First, install the Android SDK.
Second, run the AVD Manager and click Create to build the Android virtual machine
Note the point:
1. "OK" button has been in the gray state
AVD Name: The name of the virtual machine cannot have spaces!
After all the parameters have been completed, the "OK" button has been in the gray state. Compared with other people's tutorials, only to find that the problem is the name.
2.CPU No Items selected
Reduced Android version, from Android 6.0 to 4.0 version, this is also based on the computer to decide, back to study.
3. Virtual operation is not up, always hanging on the boot interface
RAM: The size of the memory must be based on the actual situation of their own computer to determine!
The tutorial filled in is 768M, then Baidu looked for a lot of solutions, most of the suggestions to change to 512M, changed after or not, finally I will empty the parameters, found that the creation of the virtual machine automatically generated is 343M, this parameter is OK (My computer performance is relatively low).
If you are unsure, we recommend that you customize the size of the memory by default based on the virtual machine.
About the virtual machine running black screen or always hang on the start-up interface problems, too many reasons, the first record some down for a rainy future:
1. Port conflicts
2.Android SDK environment variable is not configured.
3. Memory setting problem
Appium Environment Build--AVD summary of failure points for creating an Android virtual machine