Question: adb is not working in android studio?
Answer: Android Studio does not contain ADB, you need Android SDK for it (it is installed on first run of Android Studio 0.9. x and newer). ADB is located in sdk\platform-tools . 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.