In the use of Androidstudio process, it is unavoidable to encounter the situation of ADB conflict, the following describes the situation of ADB conflict in 2:
- situation 1:androidstudio and genymotion are not connected.
Workaround: First of all, to exclude the various mobile phone assistants have uninstall, and then drive the Life and Drive Wizard will also cause the ADB connection is not.
- Situation 2:androidstudio and genymotion can connect, but with cmd operation ADB command when the following error prompt: Error:could not install smartsocket Listener:cannot bind to 127.0.0.1:5037: typically each socket address (Protocol/network address/port) is allowed to be used only once. (10048)
- Workaround: To Genymotion's installation directory, such as C:\Program Files\genymobile\genymotion\tools,genymotion will bring an ADB tool, which will conflict with the SDK's ADB tool, So we're going to delete the adb that comes with genymotion.
- After deletion, start genymotion again, will be prompted to use the ANDROIDSDK adb tool to replace, select the path of ANDROIDSDK.
Another problem is that the Genymotion installation was successful, but the new Android emulator has been reported with an error (roughly speaking, it is recommended to start from VirtualBox) and cannot be opened successfully. This time you can open the VirtualBox, point settings-sound-Select the void audio driver, and then go to restart the simulator, OK.
Genymotion simulator ADB Conflict resolution method