Creating AVD for M8

GSUS969

Senior Member
Jul 6, 2011
173
55
0
Detroit
I'm looking to create an AVD for the HTC One M8.

Code:
./android create avd -n HTC -t [Which ID do I use?] --abi [Which ABI do I use?]
From:
Code:
id: 1 or "android-19"
     Name: Android 4.4.2
     Type: Platform
     API level: 19
     Revision: 4
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
 Tag/ABIs : default/armeabi-v7a, default/x86
----------
id: 3 or "android-21"
     Name: Android 5.0
     Type: Platform
     API level: 21
     Revision: 1
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
 Tag/ABIs : android-tv/armeabi-v7a, android-tv/x86, default/armeabi-v7a, default/x86, default/x86_64
----------
id: 4 or "Google Inc.:Google APIs:19"
     Name: Google APIs
     Type: Add-On
     Vendor: Google Inc.
     Revision: 9
     Description: Android + Google APIs
     Based on Android 4.4.2 (API level 19)
     Libraries:
      * com.android.future.usb.accessory (usb.jar)
          API for USB Accessories
      * com.google.android.media.effects (effects.jar)
          Collection of video effects
      * com.google.android.maps (maps.jar)
          API for Google Maps
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
 Tag/ABIs : default/armeabi-v7a, google_apis/armeabi-v7a, google_apis/x86, google_apis/x86_64
Thank you in advance!!!

Also, how do I create a custom hardware profile?

When trying to do so, I get prompted with:
Code:
Name of the AVD being run: 
avd.name [<build>]:
I input my build name and it just keeps asking.
Thoughts?
 

Keithn

Senior Member
Feb 24, 2011
859
242
63
I don't have a ton of experience with them but wouldn't using one for the N5 work just as well? I've always seen suggestions to use your own hardware over emulation since it usually works much better, is there are reason you couldn't or don't want to do that?

Sent from my One M8
 

GSUS969

Senior Member
Jul 6, 2011
173
55
0
Detroit
I don't have a ton of experience with them but wouldn't using one for the N5 work just as well? I've always seen suggestions to use your own hardware over emulation since it usually works much better, is there are reason you couldn't or don't want to do that?

Sent from my One M8
My main reason is to test builds and cherry picks before putting it on my own M8. I only have this one phone and I'd rather it be working most of the time.
I'm fairly new to development...but I'm trying! :good: