Any of my emulators won't work. Usually I use a physical device however right now I want to use advanced profiling feature and in order for it to work I need a device with API 27+ so I have set up an emulator for Google Pixel API 27. When I try to run the app the emulator crashes with following errors. The default Haxm API 25 emulator doesn't return any errors, Android Studio simply doesn't react when I try to choose it from the list. Nothing happens.
14:03 Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT
14:03 Emulator: Process finished with exit code 1