-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Respect ANDROID_AVD_HOME environment variable #1778
Conversation
Could you check this? #1573 (comment) |
Looked at #1573 and I investigated a bit. I ran
This corresponds with the emulator source code. I will update the branch to reflect this. Reading #1573 I am not sure why |
These are: - `ANDROID_SDK_HOME` - `ADNROID_EMULATOR_HOME` - `ANDROID_AVD_HOME` See [the Android SDK docs](https://developer.android.com/studio/command-line/variables#android-sdk-home) for details.
Hmm, I have a hard time deciphering the Jenkins logs to figure out what went wrong during the checks of the second commit. I also fail to understand why it would break while the first commit succeeded. Any pointers are welcome. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use path.join to be consistent for Windows?
Because the original code also contained |
If nobody looks earlier, I can look on Monday. |
That would be nice. As an experiment I force-pushed my initial commit (which completed fine earlier) and the checks also failed, so something seems to have changed in the test setup after my initial commit? For now I re-pushed my other commits for completeness. |
@lvanengelen, thank you for your contribution! |
Thanks for helping out! Just out of curiosity, could you explain why CI kept failing after my earlier pushes? |
I am not sure about everything, but, in particular, the Jenkins OSS CI had undergone some configuration changes and only the recent commits to master have fixed android-rn-59 problems and maybe something else. I have noticed that your branch has been not in sync with master for enough time to start getting some of those issues. |
Description:
Android SDK tools respect the
ANDROID_AVD_HOME
environment variable to locate installed emulator instances. This change adds support for that setting when fixing up theconfig.ini
file.