0

私はドッカーでアンドロイドを実行していますので、実行するにはAVDを使用する必要があります。私はAVDを作成し、実行しようとするたびに、私はエラーdocker内のコマンドラインでアンドロイド用avdを作成して有効にします

Valid ABIs: no ABIs. 
Error: Invalid --abi armeabi-v7a for the selected target. 

を持って、私はのABIをインストールしようとしましたが、それは作業のように思えるしません。事は、私はコマンドラインを使用してすべての手順を行う必要があります。 android sdkのバージョンはandroid-sdk_r24.4.1です。私はthisを試してみて、私のために働かなかった。もし誰かが救いの手を手にしたら、それは素晴らしいことだろう。大変感謝しています。可能なエミュレータアーキテクチャの画像を参照するには

答えて

1

を実行し、次のコマンドをダウンロードする:

android list sdk --all --extended

---------- 
id: 45 or "sys-img-armeabi-v7a-android-tv-23" 
    Type: SystemImage 
    Desc: Android TV ARM EABI v7a System Image 
      Revision 3 
      Requires SDK Platform Android API 23 
---------- 
id: 46 or "sys-img-x86-android-tv-23" 
    Type: SystemImage 
    Desc: Android TV Intel x86 Atom System Image 
      Revision 3 
      Requires SDK Platform Android API 23 
---------- 
id: 47 or "sys-img-armeabi-v7a-android-wear-23" 
    Type: SystemImage 
    Desc: Android Wear ARM EABI v7a System Image 
      Revision 3 
      Requires SDK Platform Android API 23 
---------- 
id: 48 or "sys-img-x86-android-wear-23" 
    Type: SystemImage 
    Desc: Android Wear Intel x86 Atom System Image 
      Revision 3 
      Requires SDK Platform Android API 23 
---------- 
id: 49 or "sys-img-armeabi-v7a-android-23" 
    Type: SystemImage 
    Desc: ARM EABI v7a System Image 
      Revision 3 
      Requires SDK Platform Android API 23 
---------- 
id: 50 or "sys-img-x86_64-android-23" 
    Type: SystemImage 
    Desc: Intel x86 Atom_64 System Image 
      Revision 9 
      Requires SDK Platform Android API 23 
---------- 
id: 51 or "sys-img-x86-android-23" 
    Type: SystemImage 
    Desc: Intel x86 Atom System Image 
      Revision 9 
      Requires SDK Platform Android API 23 
---------- 
id: 52 or "sys-img-armeabi-v7a-google_apis-23" 
    Type: SystemImage 
    Desc: Google APIs ARM EABI v7a System Image 
      Revision 14 
      Requires SDK Platform Android API 23 
---------- 
id: 53 or "sys-img-x86_64-google_apis-23" 
    Type: SystemImage 
    Desc: Google APIs Intel x86 Atom_64 System Image 
      Revision 14 
      Requires SDK Platform Android API 23 
---------- 
id: 54 or "sys-img-x86-google_apis-23" 
    Type: SystemImage 
    Desc: Google APIs Intel x86 Atom System Image 
      Revision 14 
      Requires SDK Platform Android API 23 

ダウンロード所望の画像を次のコマンドで:

echo y | android update sdk --all --no-ui --filter "sys-img-armeabi-v7a-google_apis-23"

に実行、次のコマンドをダウンロードした後利用可能なターゲット:

android list targets

id: 5 or "Google Inc.:Google APIs:23" 
    Name: Google APIs 
    Type: Add-On 
    Vendor: Google Inc. 
    Revision: 1 
    Description: Android + Google APIs 
    Based on Android 6.0 (API level 23) 
    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 : google_apis/x86 

エミュレータイメージの作成中に、タグ/ ABI希望のPut:

echo "no" | android -v create avd --force -n arm -t "android-23" --abi "google_apis/armeabi-v7a"

Googleはバージョンごとにデフォルトのタグ/ APIを変更し、シフトは別の名前の下にサービス画像を再生し、上記のコマンドの出力を慎重に調べて実際の画像を確認する必要があります。それが役に立てば幸い。

関連する問題