首页 > 解决方案 > Devices disconnecting during application installation through Android studio using new MACBOOK

问题描述

Have recently received a new Macbook upgrade at work and had to go through the whole installation process of all the IDE's etc that I use. Have not had this issue in the past, but since the install of Android studio, every time I try to run the project on to a physical device, the device disconnects during the installation process via ADB.

'Installation failed because the device "device name" disconnected'.

I am using the ADB supplied by the SDK tool, which is set in my home path.

USB debugging is set and file transfer is selected.

Before the test is run, I check the device list with 'adb devices' to ensure that it is in the list, which it is but after the error message, it is removed from this list.

My colleague who also upgraded, does not currently have this issue, so am assuming that there is not an issue due to the power required from the USB port, as the mac's are the same spec.

With this machine and the adapter that came with it, only usb 3.0 ports are available, but as I said, colleague has the same spec and no current issues.

'Installation failed because the device "device name" disconnected'.

标签: androidandroid-studioapkadbdisconnected

解决方案


推荐阅读