2016-10-13 11 views
3

필자는 Appium과 테스트 용으로 Android 에뮬레이터로 도커 이미지를 만들려고 노력하고 있으며 avd 이미지를 제외하고는 모두 필요합니다. 지금은 android list avd을 실행할 때 빈 목록이 있습니다.Android 에뮬레이터 이미지 (AVD Manager)를 다운로드하는 명령 줄 도구가 있습니까?

다음 도구를 설치했지만 이미지를 검색하는 데 사용하는 방법에 대한 설명서가 누락되었습니다 (android update sdk -t tool,platform-tool,android-24,addon-google_apis-google-24,extra-google-webdriver).

편집 : 저는 android-sdk_r24.4.1-linux.tgz과 협력하고 있습니다.

나는 Error: This platform has more than one ABI. Please specify one using --abi., 하지만android-24 더 ABI

Available Android targets: 
---------- 
id: 1 or "android-24" 
    Name: Android 7.0 
    Type: Platform 
    API level: 24 
    Revision: 2 
    Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in 
Tag/ABIs : no ABIs. 
---------- 
id: 2 or "Google Inc.:Google APIs:24" 
    Name: Google APIs 
    Type: Add-On 
    Vendor: Google Inc. 
    Revision: 1 
    Description: Android + Google APIs 
    Based on Android 7.0 (API level 24) 
    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 : no ABIs. 

답변

0

당신은 android update sdk에 대한 --components 옵션을 사용하여이 작업을 수행 할 수 있습니다 말했다 android create avd -t android-24 -n android-24-avd을 시도했습니다. 예를 들어,

$ android update sdk --components=sys-img-x86-android-18 
+0

작동하지 않습니다. '오류 : 플래그'- 구성 요소 '가'update sdk '에 유효하지 않습니다. 자세한 정보는 sdk 24.4.1 linux에서 작업하고 있습니다. – FXG