(go) Connect VMware andriod-x86 Debug

Source: Internet
Author: User

Enter the android virtual machine, press ALT+F1 to enter the command, enter the netcfg command to view the network status, the reference interface is as follows

Where eth0 is the current network card, the IP address is the IP address obtained through DHCP

(PS: If there is no eth0, check that the virtual machine's eth0 configuration is correct, and make sure that DHCP is enabled on the LAN server)

After you figure it out, press ALT+F7 to return to the graphical interface

At this point we open eclipse, go to the Android Development Plugin settings interface, select Ddms, tick the use ADO host, and in the ADT Host Value column to fill in the virtual machine IP address, the specific interface please see

After selecting OK to save, select restart ADB service on the device menu of the Ddms interface and reboot to see DDMS connected to the virtual machine.

Then you can run and test your Android app on the virtual as usual, enjoy~

Finally, summarize the advantages and disadvantages of this environment:

Advantages:
1. High-speed, compared to the Android SDK virtual machine, whether it is launched or run, this virtual machines much faster, so that you can run smoothly test your Android app, of course, also can be comfortable on the computer Experience Android system:)
2. Can simulate the environment of Tablet PC

Disadvantages:

1. Hardware support or tragedy, like phone calls, text messages, gravity sensors, GPS cameras or something, you still have to get a real machine debug (but these things are not what the simulator can do)

Plus, add the keyboard keys for the home page, back, shutdown, and menu in the virtual machine
Home key, Win key
Return key, ESC
Hang up key--ALT+F4
Menu key, keyboard menu key, usually on the right side of the win key and CTRL key

1. Click on the icon of a program with the mouse:
(In the menu) is equivalent to creating a desktop shortcut
(on the desktop) can be moved to another desktop or dragged into a trash bin

2. menu, Web page, the left mouse button is equivalent to forward, right-click Back
Keyboard enter forward, ESC back

3. Power off (available on my laptop, others don't know): F4, F6, End

4. Long press the input box to switch input method

5.Android devices will generally have home,menu and back three standard buttons, if not, it is necessary to simulate:

(1) When you press and hold the right side of the status bar, you will be prompted to open the status bar to simulate the function of the button: when open, click the status bar to indicate home, press the mouse button on the status bar and swipe from left to right to indicate menu, press the mouse button on the status bar and swipe right to left to indicate back. The same method also turns off the status bar emulation feature.

(2) Right mouse button also means back; pressing the ESC key on the keyboard or the Windows key also means home; Pressing the context key on the keyboard (typically in the middle of Alt and Ctrl) also means menu.

(3) in Android, as long as the program does not show that the program is closed, for the background function of the program, you need to from the "Dev tools-running process" closed (generally not used).

6 If you want to scroll up or down, you can drag an empty space, or use the mouse wheel.

7. If you want to turn off the computer, press F6, and you will be prompted.

8.ALT-F1 is switching to the Linux command line, ALT-F7 is switching back to graphics mode. Do not use "reboot-p" shutdown (not run as a Java program's process).

(GO) connect VMware andriod-x86 debugging

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.