[Solved] ADB shell error: no devices/emulators found

The solution is simple
1. ADB kill serve kill ADB’s service
2. ADB start server and restart the service

Then you can execute shell commands ADB shell