WAI
Status Update
Comments
uc...@google.com <uc...@google.com> #2
Can you share idea.log file if this same issue reproduces again.
mt...@gmail.com <mt...@gmail.com>
uc...@google.com <uc...@google.com> #3
No obvious issues found in attached log, team may reach out for more feedback in reproducing or triaging this issue.
rp...@google.com <rp...@google.com>
ja...@google.com <ja...@google.com> #4
Thanks for your report. I think I know what's happening. On Mac, when an app is launched from the Dock, ~/.profile is not invoked, so the environment variables set there are not available to the app.
There are ways to make your environment variables available to apps launched from the Dock. Here's a discussion on that topic:
https://stackoverflow.com/questions/603785/environment-variables-in-mac-os-x
Perhaps easier is to give Android Studio this assignment directly. You can do this inside Android Studio by clicking Help : Edit Custom Properties...
On that page, add the line
ANDROID_AVD_HOME=/Volumes/Transcend/Android/avd
Then exit Android Studio and re-launch it. Now your AVDs should appear in the directory you prefer.
There are ways to make your environment variables available to apps launched from the Dock. Here's a discussion on that topic:
Perhaps easier is to give Android Studio this assignment directly. You can do this inside Android Studio by clicking Help : Edit Custom Properties...
On that page, add the line
ANDROID_AVD_HOME=/Volumes/Transcend/Android/avd
Then exit Android Studio and re-launch it. Now your AVDs should appear in the directory you prefer.
Description
Version of Java: 1.8.0_144
OS: Mac
Steps to Reproduce:
1. Set ANDROID_AVD_HOME in your profile
export ANDROID_AVD_HOME=/Volumes/Transcend/Android/avd
2. Start Android Studio and open AVD Manager
3. Create a new virtual device
Expected:
New device is created in /Volumes/Transcend/Android/avd
Actual
New device is created in ~/.android/avd/