Cannot access adb shell on emulated x86 phone
I had a similar issue with an x86 emulator sdk 24


Settings -> About emulated device -> click on "Build number" several times (as you do on a real device) 
go to Settings -> Developer options -> turn on "USB debugging"


you should be getting a dialog to enable debugging access from the pc 

and attempt running again via Android Studio