Android Question How to create an AVD from the device definitions.

Roger Daley

Well-Known Member
Licensed User
Longtime User
Today's beginner question!

How do I create a new AVD from the device definitions in the AVDM?
I select a definition [I.E. 10.1" WXGA (Tablet)], click the "Create AVD..." button and I get a screen with many options. No matter what I do the "OK" button still remains greyed out. Bang head, dead end...

Thanks in advance

Roger
 

bluejay

Active Member
Licensed User
Longtime User
Today's beginner question!

How do I create a new AVD from the device definitions in the AVDM?
I select a definition [I.E. 10.1" WXGA (Tablet)], click the "Create AVD..." button and I get a screen with many options. No matter what I do the "OK" button still remains greyed out. Bang head, dead end...

Thanks in advance

Roger

Here is an example of creating a new AVD that I posted earlier..
http://www.b4x.com/android/forum/threads/galaxy-s4-avd-emulator-settings.43404/

Make sure you select a skin eg dynamic hardware controls. Skins are also stored in a separate skin folder for each version of the OS (platform) under the android-sdk folders eg C:\Android\android-sdk\platforms\android-17\skins. The platforms are installed by the sdk manager.

Bluejay
 
Upvote 0

bluejay

Active Member
Licensed User
Longtime User
Thanks Bluejay

I was hoping for a simpler path using the existing definitions but your method gives me a path to follow.

Roger

You don't have to use custom skins or download x86 images or the accelerator to get a working emulator. To get an accurate emulation of a real device may require downloading an emulator from the manufacturer especially Samsung tablets and this gets tricky.

Since the app should adapt to different devices anyway most of my AVD's are using the generic skins and super accurate is not really required unless you are testing sensors or cameras in which case a real device is better anyway.

For testing I usually have both a real device and an AVD running at the same time.

Bluejay
 
Upvote 0

Roger Daley

Well-Known Member
Licensed User
Longtime User
Thanks Bluejay,
All good, I do have a couple of devices and a couple of emulators. The question was more targeted towards how to make use of the the device definitions already sitting in the AVDM. I hate to see a resource go unused.

Roger
 
Upvote 0
Top