onnxruntime
8de77e56 - Set ANDROID_AVD_HOME env variable (#23672)

Commit
1 year ago
Set ANDROID_AVD_HOME env variable (#23672) ### Description Set ANDROID_AVD_HOME env variable To run Android tests on Linux we need two command line tools: 1. Android avdmanager for creating AVDs 2. Android "emulator" for running AVDs By default "avdmanager" put images in ~/.android/avd/ Android emulator by default search AVD files in the following places: - $ANDROID_AVD_HOME - $ANDROID_SDK_HOME/avd - $HOME/.android/avd However, somehow sometimes "avdmanager" put images in "$HOME/.config/.android/avd" folder instead of "$HOME/.android/avd/ ". Cannot explain. A lot of people have hit this issue. For example: https://github.com/orgs/NativeScript/discussions/10546 and https://stackoverflow.com/questions/78919031/has-android-studio-recently-changed-its-default-avd-storage-location . So I set the "ANDROID_AVD_HOME" environment variable to avoid such confusions.
Author
Changming Sun
Parents
Loading