Issue

When you publish an AIR for Android application in Flash CS5 or CS5.5, you receive the following message:

Mac OS: "Could not find an Android device to connect to. Please ensure that you have a device connected, and the device has USB debugging enabled."

Windows: "Could not find an Android device to connect to. Please ensure that you have the phone connected, the correct drivers installed, and the phone has USB device debugging enabled."

You selected the option to install the application on the connected device.

Solutions

Solution 1: Try the following general troubleshooting techniques:

  • Unplug the device from the USB port and plug it back in.
  • When the USB connection on the device is set to PC Mode, the device is not recognized when plugged in to USB. Set the USB connection to Charge Only mode. On the device, pull down the status menu, select USB connection and set to Charge Only.
  • Turn USB Debugging off and on by following these steps.
    1. Select the Home button on the device.
    2. Press the Options button on the device and select the Settings option.
    3. Navigate to the Applications > Development option and find the USB Debugging preference.
    4. Turn USB debugging ON and then OFF.

Solution 2: Ensure that the correct driver is installed for your device.

Flash Professional CS5 and CS5.5 include a series of drivers for some of the most common devices. However, this list is not a complete list of drivers for all known devices.

Note: These drivers are for Windows only. If you are running a Mac, it's unnecessary to install any drivers, as the general troubleshooting techniques above should work. If your device is not found using the process below, visit your device manufacturer's website to obtain the correct drivers.

Follow the instructions below to find and install the driver for your device:

Windows 7

  1. Connect your Android device to your computer's USB port.
  2. Windows tries to install the driver software. If it fails with a "No Driver Found" error, proceed to the next step.
  3. Right-click Computer on the desktop or Windows Explorer, and select Manage.
  4. Select Device Manager in the left pane of the Computer Management window.
  5. Locate Other devices and right-click your device and select Update Driver Software.
  6. A prompt asks how you want to search for the driver software. Select Browse My Computer For Driver Software.
  7. Click Browse and browse to <Flash Installation Folder>\AIR2.6\install\android\usb_drivers\. Select Include Subfolders.
  8. Click Next.
  9. When Windows 7 asks if you'd like to install the device software, click Install to install the driver.

Windows Vista

  1. Connect your Android-powered device to your computer's USB port. Windows detects the device and launches the Found New Hardware wizard.
  2. Select Install From a List Or A Specific Location (Advanced) and click Next.
  3. Select Include This location In The Search and click Browse and navigate to <Flash Installation Folder>\AIR2.6\install\android\usb_drivers\.
  4. Click Next. If Vista prompts you to confirm the privilege elevation required for driver installation, confirm it to install the driver.

Windows XP

  1. Connect your Android-powered device to your computer's USB port. Windows detects the device and launches the Found New Hardware wizard.
  2. When Windows XP asks to use Windows update to search for the driver, select No, Not This Time and click Next.
  3. Select Install From a List Or Specific Location (Advanced) and click Next.
  4. Select Include This Location In The Search and click Browse. Navigate to <Flash Installation Folder>\AIR2.6\install\android\usb_drivers\.
  5. Click Next to install the driver.

Verify that the device is connected properly

  1. Plug the device to the computer via USB.
  2. Launch the command window on Windows (Start menu, type cmd in the Search for programs or files field), or Terminal on Mac OS (/Applications/Utilities/Terminal).
  3. Run the following command: adb devices

    Note: adb is installed in AIR2.6/lib/android/bin.
  4. Verify that the device is listed, and that it does not say Offline (It should be listed as something like "015DC3C60101702E device"). If it's not listed or shown as offline, try turning the USB debugging ON, or OFF and then ON (see steps above).
  5. On the device, click the Home button and then choose Options > Settings > Applications > Development > USB debugging.
  6. Run adb -devices again. If it still doesn't show or show as offline, check to see if you have the driver installed. Also check to make sure that the USB connection is set to Charge only (see steps above).

 

Keywords: flash, device, connected, drivers, USB, windows, disconnect, disconnected; cpsid_89586

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy