how to create a new AVD in eclipse?

2020-01-27 04:47发布

问题:

I have a problem in creating a new android virtual device in eclipse I have a window with this information needed : AVD name , Device , Target , CPU/ABI , Keyboard , Skin , Front Camera , Back Camera , Memory Options , Internal Storge , SD Card , Emulation Options , and an OK button .

Instead of the window which I see in the tutorials that needs just this info : Name , Target , CPU/ABI , SD Card , Snapshot , Skin , Hardware , and Create AVD button .

And in my window I don't know what is the device option should I select + what ever I selected the OK button never be available ! what should I do ? please help me , thank you .

回答1:

May be the following will help :

Then start the emulator



回答2:

Try to create an AVD with the monitor.bat in the tools-folder, that worked out for me!



回答3:

They most probably have changed some AVD settings. As for your second question regarding what options you should select: Don't make a very tiny SD card. Anything above 100mb should work fine. As for target choose the android version you've downloaded a system image for using the SDK.

I don't understand what you mean by "not be available", but if its the OK button its because you have no target platform.

If you mean, that the emulator won't start up, give it some time. You can even put the emulator in snapshot mode so it will open right where it last left off, saving you time.



回答4:

Try Window -> Android SDK Manager. update your Android SDK Tools and Android SDK Platform-tools to the latest version



回答5:

if u cant click the ok button,try running avd manager outside eclipse.it worked for me as i encountered very same problem...later choose that device from avd manager using eclipse.it will run the stimulator



回答6:

If you want to create an AVD in Eclipse you need to do this:

  1. Go to Window -> Android Virtual Device Manager
  2. Then you need to give a name and select the platform that you want (Target option)
  3. Then the button "Create AVD" activates.

The other options you can let them unmodified.



回答7:

another alternative is install ARM EABI system image from sdk of your respective android version,then restart eclipse.it will now allow you to click OK button.hope this helps you...



回答8:

add ADT to your Eclipse Project and click on avd icon in IDE to open avd manager then create a new device and also new virtual devices



回答9:

For me, the "OK" button was disabled because I had spaces in the AVD name. After removing the spaces from the name, the "OK" button was enabled.