Now you can use adb shell to open device shell window.
C:\android\sdk\platform-tools Once avd is created and is running Open terminal anywhere > in android studio or from start menu. Locate the SDK platform tools folder (e.g. It's possible to add to PATH in Windows and use Terminal inside Android Studio only by command: adb shell and after use su get root shell.