Ron D Ron D - 8 months ago 127
Android Question

How can I change the path to android\avd in my Android Studio

I have such exaption

InvalidPathException: Illegal char at index 9: C:\Users\??????\.android\avd\1.avd (show balloon)

when trying to create emulator. Can I change the location of directory .android?

  1. Open control panel
  2. Then go to System
  3. Then go to Change Environment Variables of the User
  4. Then click create a new environment variables
  5. Create a new variable named ANDROID_SDK_HOME
  6. Set its value to your Android directory, like C:/users/<username>/.android