Android Studio First Experience startup AVD Simulator exception: Cannot set up guest memory ' Pc.ram '

Source: Internet
Author: User
Tags delete key

Start AVD Simulator Exception: Cannot set up guest memory ' Pc.ram '
    • Error message:
Hax is working and emulator runs in fast Virt Modecannot set up guest memory ' Pc.ram ': Invalid Argumenterror accepting con Nect
    • Analysis

A variety of search data, did not find the same problem on the Internet, in a related article found similar solutions.

From a semantic perspective, it should be Hax installed and not started. (I don't know what hax is)

    • Workaround:

Restart the computer, OK. (It seems that restarting is still useful!) )

Emulator:device Fd:800hax is working and emulator runs in fast virt modecreating window 77 81 298 496

That's what it looks like when the simulator starts (yes, it's that big, I'm not going to set its size):

The virtual keys don't seem to be doing so well. 虚拟按键对应的快捷键
    • Home键(小房子键)

It's good to remember that the home key is mapped on the keyboard.

    • Menu键

The keys for opening the menu, the F2 key is mapped on the keyboard, and the PgUp key is also available. In addition, look at the meaning of the original English, it seems that the key on some models will be designed to be left software (softkey)

    • Start键

I didn't find the key in the emulator or the G1 on the real machine. The mapping is SHIFT+F2 or PGDN, and some models are designed to be right soft keys (R softkey).

    • Back键

Returns a key that the user returns to the previous UI or exits the current program. The ESC key is mapped on the keyboard.

    • Call/Dial键(电话键)

Answer the call or start the Dial panel, which is the most basic function key of a phone. The PC keyboard is mapped to the F3 key.

    • Hangup/Light Off键(挂机键)

Hang up the phone or turn off the backlight. Keyboard mapping F4 key.

    • Search键

Quickly open the Search dialog box in the app that provides the search feature, such as in browser, where you can quickly open the address lookup bar. Keyboard mapping F5.

    • Power Down键(关闭电源)

The power button that corresponds to the upper-left edge of the simulator, but it seems useless to press this key on the simulator. Keyboard mapping F7.

    • Volume Up (增大音量)

Keyboard mapping ctrl+5, you can also use the "+" key of the small numeric keypad.

    • Volume Down(减小音量)

Keyboard mapping Ctrl+6, you can also use the "-" key of the small numeric keypad.

    • Camera 键

Keyboard mapping ctrl+f3. But maybe I have a problem with it, and it doesn't seem to be responding to this shortcut on the simulation.

    • Switch Screen Orientation (旋屏)

Rotate the emulator screen orientation, keyboard mapping ctrl+f11. This is a very useful and commonly used shortcut key, almost all applications will be affected by the screen orientation of the layout changes, in the development process, it is important to test screen orientation compatibility.

    • Cell Networking On/Off (手机网络开关)

The mobile network referred to here refers to the GPRS/3G data network, which does not affect the GSM network. This shortcut is useful for writing web-based applications, and can be used to test for abnormal network outages. Keyboard mapping F8

    • Code Profiling

I do not know why this thing-.-, shortcut key F9. English Original: F9 (only with-trace startup option)

    • Fullscreen Mode (全屏模式)

A useless chicken function. Maybe it's a bit of a help to a game with a more granular test screen. Shortcut keys are loved by everyone alt+enter.

    • Trackball mode (轨迹球模式)

This is a very useful feature, after pressing F6, you can open the trackball mode, and the upper left corner of the simulator will show a small trackball. By moving the mouse, you can simulate the rotation of the trackball. It is very convenient for testing applications that utilize trackball operations.

    • Trackball mode Temporaily (临时轨迹球模式)

This function is interesting, if you have a relatively short use of trackball operation, then you can press and hold the DELETE key to slide the mouse. Releasing the delete key automatically ends the trackball mode.

    • 四方向键和中心键

Corresponding keyboard four direction keys and enter key, of course, can also use the numeric keypad, keypad_5 (KEYPAD key for the keypad to turn NUM LOCK off, should be the KEYPAD key, closed after the number 5 is keypad_5) corresponding to the center key.

To tell you the truth, I don't think studio is as good as eclipse, it's a lot of memory, all kinds of problems, AVD is not good to see, those who are advocating studio how useful people really feel good?

This memory is occupied by:

See people say the general trend, had to catch up with the first. Hopefully future problems will be solved, after all, Google will gradually migrate from Eclipse to studio.

Maybe I set up a problem, who has any good advice must tell me!

Progress together!

Android Studio First Experience startup AVD Simulator exception: Cannot set up guest memory ' Pc.ram '

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.