I spent an hour to find out how to fix that problem, when I finally realized that I plugged my phone to get charged into the same computer I work on while using the emulator.