Virtual machine installation will not say, the network is more, mainly in detail how to set the resolution, in case of the development of convenient use.
1. Add Custom Resolution
After shutting down the virtual machine, Note that the numbers are lowercase x, not multiplication sign .
Method one: The corresponding virtual machine's XML file "<ExtraData>" under the new line, plus the following content
<extradataitem name= "CustomVideoMode1" value= "480x800x16"/> <extradataitem name= "CustomVideoMode2" value= " 320x480x16 "/>
Method Two: Execute the command, where "VMname" is replaced with the name of your own virtual machine
Vboxmanage setextradata "VMname" "CustomVideoMode1" "480x800x16" Vboxmanage setextradata "VMname" "CustomVideoMode2" " 320x480x16 "
2. For ease of use, the virtual machine can be set up to simplify the use (Linux-related knowledge required)
If you want Android to go to the resolution selection screen by default at boot time or start the virtual machine by default at the resolution you specify, then refer to the following steps
1. Press ALT+F1 to enter the command line after entering the Android virtual machine
2. Enter MKDIR/DATA/FS
3. Mount the hard drive using the following command
MOUNT-T hard disk format/dev/block/hard drive name/data/fs
Hard disk format for your virtual machine hard disk format, I here is ext3 hard drive name is your virtual machine
Hard drive name I this default is sda1, means the first SATA hard disk, Linx under the specific hard disk naming rules, Google's own
Mount-t ext3/dev/block/sda1/data/fs
Hang the hard disk on the/data/fs folder
4. vi/data/fs/grub/menu.list Edit boot Menu list (vi This command line editor how to use Google's own)
5. Add Vga=ask to the end of the first kernel line, as you did when you started it, save
6. Restart the virtual machine, and you will find that the resolution is queried every time the android starts.
Mkdir/data/fsmount-t ext3/dev/block/sda1/data/fsvi/data/fs/grub/menu.list
VI Simple Use Introduction
Press I to edit
Press ESC and then press: Colon W to save