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

I have such an add-on

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

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

+6
source share
1 answer
  • Open control panel
  • Then go to the System
  • Then go to the section Modifying User Environment Variables
  • Then click Create New Environment Variables.
  • Create a new variable named ANDROID_SDK_HOME
  • Set its value in your Android directory, for example C:/users/<username>/.android
+6
source

Source: https://habr.com/ru/post/1012163/


All Articles