Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AVD home resolving is inconsistent with Android AVDManager #324

Open
xlinxie opened this issue Jun 15, 2023 · 0 comments
Open

AVD home resolving is inconsistent with Android AVDManager #324

xlinxie opened this issue Jun 15, 2023 · 0 comments
Labels

Comments

@xlinxie
Copy link

xlinxie commented Jun 15, 2023

Version:

1.7.2

Description:

When running

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
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant