0

Ben docker üzerinde android çalıştırıyorum ve çalıştırmak için AVD kullanmanız gerekir. Ben bir AVD oluşturmak ve çalıştırmak istediğiniz her seferinde Ve hatayıdoatch içinde komut satırı içinde android için avd oluşturmak ve etkinleştirmek

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

var Ve ben Abis yüklemeye çalıştı ve çalışma gibi görünüyor değil. Şey, komut satırını kullanarak tüm adımları yapmalıyım. Ve android sdk sürümü android-sdk_r24.4.1'dur. Ben this denedim ve benim için işe yaramadı. Birisi gelirse yardım eli verirse harika olur. Bu çok takdir edilecektir. Mevcut emülatör mimarisi resimleri görmek için

cevap

1

çalıştırın sonraki komutu indirmek için:

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 

İndir istenen görüntüyü sonraki komutuyla:

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

öncesinde sonraki komutu indirdikten sonra mevcut hedeflere bakın:

emülatör görüntünün oluşturulması sırasında

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 

koyun istenen etiket/abi:

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

hakkında sürüm sürüm Varsayılan etiket/API değiştirir ve kaymalar farklı isimler altında Hizmetleri görüntüsü oynamak, böylece gerçek resmi görmek için yukarıdaki komutların çıkışını kontrol etmeli ve dikkatlice kontrol etmelisiniz. Umarım yardımcı olur.

İlgili konular