Software Archive
Read-only legacy content
17061 Discussions

V3491 Debug Tab, no devices attached.

Nick_F_2
New Contributor III
421 Views

When attaching a mobile device to my MAC, XDK does not recognise its existence under the debug tab.

I have to restart XDK with the device attached for it to be recognised, thereafter unplugging and plugging back in the device and XDK continues to recognise it.

If XDK is started without a device attached, then I have to restart XDK with the device attached for debug to work.

0 Kudos
6 Replies
PaulF_IntelCorp
Employee
421 Views

There could be a conflict with differing versions of adb on your system, which we try to mitigate with some fancy footwork inside the XDK, but it still happens. Also, changing the USB connection type in your Android device can make a difference. There are two types of connections: MTP and PTP (media and camera). They go by different names on different devices and the way you switch between them varies with vendor and Android version, but switching to the other connection type may help. I generally have best luck if the device is configure to connect in PTP (or camera) mode, but it will vary from device to device.

0 Kudos
Nick_F_2
New Contributor III
421 Views

Interestingly on my Huawei Android phone (4.4.4) PTP is not an option only MTP.

0 Kudos
PaulF_IntelCorp
Employee
421 Views

I have seen a few devices where it is either impossible or very difficult to switch between the USB connection modes, especially in 4.x devices. Sometimes you have to find the setting in the settings section, usually there is a USB notification icon that you can pulldown and touch to make the change. Confirm that you can get the Debug connection working with another device, so you can figure out if it is the device or something on your Mac. See this page for more help > https://software.intel.com/en-us/xdk/docs/configuring-your-windows-usb-android-debug-connection-for-the-intel-xdk < (despite the URL name, it also applies to Macs).

0 Kudos
Nick_F_2
New Contributor III
421 Views

It may have been confusion on my part as there is no PTP option, but selecting USB flash drive a a USB connection method seems to help.

0 Kudos
PaulF_IntelCorp
Employee
421 Views

That should correspond to the MTP connection (a "Media device" is essentially a USB flash drive).

0 Kudos
Nick_F_2
New Contributor III
421 Views

Under USB connection methods MTP is described as Lets you transfer media files on Windows or using Android File Transfer on Mac. There is another option labeled USB flash drive, described as Use you computer to transfer SD card files, you phone cannot access the SD card in this mode.

Tha last option is Charge only.

0 Kudos
Reply