android 开发环境搭建的创建AVD

本文详细介绍了如何在Android Studio中创建AVD(Android Virtual Device),特别是遇到多ABI选择问题时如何通过指定--abi参数进行解决。通过案例演示了创建不同配置的AVD,包括使用GoogleAPIs平台和指定ABI为armeabi-v7a的过程。
C:\Users\Administrator>android list target
Available Android targets:
----------
id: 1 or "android-19"
     Name: Android 4.4.2
     Type: Platform
     API level: 19
     Revision: 2
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, W
XGA720, WXGA800, WXGA800-7in
     ABIs : armeabi-v7a, x86
----------
id: 2 or "Google Inc.:Google APIs:19"
     Name: Google APIs
     Type: Add-On
     Vendor: Google Inc.
     Revision: 3
     Description: Android + Google APIs
     Based on Android 4.4.2 (API level 19)
     Libraries:
      * com.google.android.media.effects (effects.jar)
          Collection of video effects
      * com.android.future.usb.accessory (usb.jar)
          API for USB Accessories
      * com.google.android.maps (maps.jar)
          API for Google Maps
     Skins: WVGA854, WQVGA400, WSVGA, WXGA800-7in, WXGA720, HVGA, WQVGA432, WVGA
800 (default), QVGA, WXGA800
     ABIs : armeabi-v7a


C:\Users\Administrator>android create avd --name avd_xingzheng --target 1
Valid ABIs: armeabi-v7a, x86
Error: This platform has more than one ABI. Please specify one using --abi.


当创建的时候出现了上面的问题,This platform has more than one ABI. Please specify one using --abi.

试着从选择第二个来实现这个:

C:\Users\Administrator>android create avd --name avd_xingzheng --target 2
Auto-selecting single ABI armeabi-v7a
Created AVD 'avd_xingzheng' based on Google APIs (Google Inc.), ARM (armeabi-v7a
) processor,
with the following hardware config:
hw.lcd.density=240
vm.heapSize=48
hw.ramSize=512


C:\Users\Administrator>
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值