android / android/android-test
Expose emulator images for APIs 29+ in Bazel
- Lingua principale
- Java
- Stelle
- 1.2k
- Fork
- 342
- Merge medio
- 11h 29m
- PR unite (30g)
- 2
Descrizione
### Description
https://github.com/android/android-test/blob/master/tools/android/emulated_devices/macro/image_info.bzl currently exposes only images up to API 28. API 28 is Android 9 and was released three years ago. It would be nice to have this updated for more recent API levels.
Device templates also stopped with the Pixel 3 family in https://github.com/android/android-test/tree/master/tools/android/emulated_devices. Having more recent ones is less useful, but would still be a nice touch.
### Steps to Reproduce
Try to use e.g. `@android_test_support//tools/android/emulated_devices/generic_phone:android_29_x86_qemu2`
### Expected Results
It should work.
### Actual Results
```
no such target '@android_test_support//tools/android/emulated_devices/generic_phone:android_29_x86_qemu2': target 'android_29_x86_qemu2' not declared in package 'tools/android/emulated_devices/generic_phone' (did you mean 'android_19_x86_qemu2'?)
```
### AndroidX Test and Android OS Versions
1.4.0
### Link to a public git repo demonstrating the problem:
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with tools/android/emulated_devices/macro/image_info.bzl and the tools/android/emulated_devices/generic_phone package. Check how existing API 28 image targets are defined, then add the requested API 29+ targets and verify that @android_test_support//tools/android/emulated_devices/generic_phone:android_29_x86_qemu2 resolves in Bazel.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android
- Ambito
- build-system, mobile
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100