when using the Mac computer to develop the Android program, sometimes found that the ADB connection is not on the phone, this time first you have to find your developer options inside the USB debugging function is not open, you can restart the development tools, if you open or cannot connect, You can do the following.
1. Open terminal, enter:system_profiler spusbdatatype, check all USB device information of Mac system, find the corresponding manufacturer vender ID .
Remember to look at the device ID of your Android phone, the front is Android 2. echo 0x2a45 >> ~/.android/Adb_usb . INI replace the middle ID with the ID of your phone
3. ADB kill-server4. ADB start-server
This is generally OK, hammer cell phones, millet phones are often the case, which is also a bit related to Mac computers. if it's not successful, I don't know.
Android phone on Mac can't connect solution