ionic-team / ionic-team/native-run
AVD home resolving is inconsistent with Android AVDManager
- Dominant language
- TypeScript
- Stars
- 137
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
**Version:**
1.7.2
**Description:**
When running
```shell
npx native-run android --list
Connected Devices:
No connected devices found
Virtual Devices:
Name API Target ID
----------------------------------------
Pixel 4 API 33 API 33 Pixel_4_API_33
```
```shell
avdmanager list avd
Available Android Virtual Devices:
Name: Pixel_4_API_33
Device: pixel_4 (Google)
Path: D:\AppData\.android\avd\Pixel_4_API_33.avd
Target: Google APIs (Google Inc.)
Based on: Android 13.0 (Tiramisu) Tag/ABI: google_apis/x86_64
Skin: pixel_4
Sdcard: 512M
---------
Name: Pixel_6_API_33
Device: pixel_6 (Google)
Path: D:\AppData\.android\avd\Pixel_6_API_33.avd
Target: Google APIs (Google Inc.)
Based on: Android 13.0 (Tiramisu) Tag/ABI: google_apis/x86_64
Skin: pixel_6
Sdcard: 512M
```
```shell
emulator -list-avds
Pixel_4_API_33
Pixel_6_API_33
```
according to https://developer.android.com/studio/command-line/variables, the right order for emulator home folder should be
- $ANDROID_EMULATOR_HOME
- $ANDROID_USER_HOME
- $ANDROID_SDK_HOME/.android
- $HOME/.android
Contributor guide
Assessment
This issue has not been assessed yet.