Skip to content

Conversation

@tmpsantos
Copy link

The path might point to a different path than what android-emulator-runner expects, like when XDG_CONFIG_HOME is set.

The path might point to a different path than what
android-emulator-runner expects, like when XDG_CONFIG_HOME
is set.
@tmpsantos
Copy link
Author

What I'm seeing here is because XDG_CONFIG_HOME is set, it is being used as base path for where the emulator is being created and it breaks when the script tries to append the hardware configuration because it is hardcoded to the home directory.

@mikehardy
Copy link
Contributor

@ychescale9 this (XDG_CONFIG_HOME) is probably the root cause of what I saw with the weird pathing issues for AVD home - since XDG_CONFIG_HOME is $HOME/.config and that was the root path the avdmanager was installing in to on Ubuntu 24

In #410 I specify even more variables, which ... works, but this solution might be more respectful of the system, and setting the other AVD related env vars (ANDROID_EMULATOR_HOME, ANDROID_USER_HOME) based on the existing ANDROID_AVD_HOME might be a better idea

@tmpsantos
Copy link
Author

@mikehardy @ychescale9 a bit late here, but thank you for working on this!

@tmpsantos tmpsantos closed this Mar 5, 2025
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.

2 participants