0

Ich bin Android auf meinem Andockfenster laufen und ich brauche AVD zu laufen. Und immer, wenn ich versuche, eine AVD zu erstellen und auszuführen habe ich den Fehlererstellen und aktivieren avd für Android in der Befehlszeile in Docker

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

Und ich versuchte ABIs zu installieren und es nicht scheint nicht wie die Arbeit. Die Sache ist, ich sollte die ganzen Schritte mit der Kommandozeile machen. Und die Android-SDK-Version ist android-sdk_r24.4.1. Ich habe versucht this und hat nicht für mich gearbeitet. Es wäre schön, wenn jemand helfen würde. Es würde sehr geschätzt werden.

Antwort

1

Run nächster Befehl Emulator Architektur Bilder sehen zum Download zur Verfügung:

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 

herunterladen gewünschtes Bild mit dem nächsten Befehl:

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

Nach dem Download Lauf nächsten Befehls siehe verfügbare Ziele:

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 

Put gewünschten Tag/abi bei der Erstellung von Emulator Bild:

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

Google Standard-Tag/api von Version zu Version ändert und verschiebt Dienste Bild unter verschiedenen Namen spielen, Sie müssen also laufen und sorgfältig die Ausgabe der oben genannten Befehle überprüfen, um das tatsächliche Bild zu sehen. Ich hoffe es hilft.