Skip to content

Update android to support the emulator command#538

Open
JollyFrolics wants to merge 1 commit intob3nj5m1n:mainfrom
JollyFrolics:main
Open

Update android to support the emulator command#538
JollyFrolics wants to merge 1 commit intob3nj5m1n:mainfrom
JollyFrolics:main

Conversation

@JollyFrolics
Copy link

The emulator launches the android emulators based on saved AVDs(Android Virtual Device). It looks at ANDROID_AVD_HOME to determine the location according to this error log from emulator

ERROR | (Note: Directories are searched in the order $ANDROID_AVD_HOME, $ANDROID_SDK_HOME/avd and $HOME/.android/avd)

So, ANDROID_AVD_HOME has been suggested to be set to $XDG_DATA_HOME/android/avd.

Alternatively, it could have been saved to $ANDROID_USER_HOME/avd. But in accordance to the style in adb's alias suggestion this was not done.

The emulator launches the android emulators based on saved AVDs(Android
Virtual Device). It looks at `ANDROID_AVD_HOME` to determine the
location according to this error log from `emulator`
```
ERROR | (Note: Directories are searched in the order $ANDROID_AVD_HOME, $ANDROID_SDK_HOME/avd and $HOME/.android/avd)
```
So, `ANDROID_AVD_HOME` has been suggested to set to `$XDG_DATA_HOME/android/avd`.

Alternatively, it could have been saved to `$ANDROID_USER_HOME/avd`.
But in accordance to the style in `adb`'s alias suggestion this was not done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant