Monday, October 24, 2011

ADB Android Driver

  1. Plug the device into a USB port of your computer. Windows informs you that it cannot find the driver.

  2. Using the Windows Device Manager, open the Details tab of the device properties.

  3. Select the Hardware IDs property to view the hardware ID.

  4. Open android_winusb.inf in a text editor. Find android_winusb.inf at the following location:

    C:\IBM\android\android-sdk_r05-windows\android-sdk-windows\usb_driver\android_winusb.inf
  5. Note the listings in the file that apply to your architecture, either [Google.NTx86] or [Google.NTamd64]. The listings contain a descriptive comment and one or more lines with the hardware ID, as shown here:

    . . .  [Google.NTx86]  ; HTC Dream  %CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C02&MI_01  . . . 
  6. Copy and paste a comment and hardware listing. For the device driver you want to add, edit the listing as follows:

    1. For the comment, specify the name of the device.

    2. Replace the hardware ID with the hardware ID identified in Step 3 above.

    For example:

    . . .  [Google.NTx86]  ; NEW ANDROID DEVICE  %CompositeAdbInterface%     = USB_Install, NEW HARDWARE ID  . . .

example, Motorola Droid Bionic
; Motorola Droid Bionic
%SingleAdbInterface% = USB_Install, USB\VID_22B8&PID_42F7
%CompositeAdbInterface% = USB_Install, USB\VID_22B8&PID_42F7&MI_01
;
; Motorola Droid Bionic2
%SingleAdbInterface% = USB_Install, USB\VID_22B&PID_42F7&REV_0216
%CompositeAdbInterface% = USB_Install, USB\VID_22B&PID_42F7&REV_0216&MI_01

Tuesday, September 6, 2011

Dojo Build error [exec] release: ********** Not Copied: ../../dojo/

If you see this:

[exec] release: ********** Not Copied: ../../dojo/widgetname

make sure custom-dojo-build.xml has an entry to copy over the widget: