Issues that ADB cannot start

Source: Internet
Author: User

Adb_usb.ini when the ADB cannot find the device

Turn: no connectivity issues with ADB for Freescale IMX 53 series

may not be connected to the ADB, the following method to solve, the step description is not willing to see, the direct use of the following batch command in this article, the method copy paste into the new bat file to run, or paste directly into the DOS window to run.

1. Use the ANDROIDSDK directory in the ANDROIDSDK directory \tools android script under the command line to perform Android update adb

Description, the goal of this step is to produce the path and file for the second step below, which can also be generated with the command line, so skip this step.

2. After successful operation, will be generated under the user directory, C:\Users\ user name \.android\adb_usb.ini, my win7,xp path will be different;

3. Edit the above file and add a line 0X15A2

4. ADB Kill-server then reseat the USB cable so that it can connect to ADB;

or the command line implementation

Batch processing command:

# for Freescale Imx53
# The Vid/pid of the ADB device is 0X15A2, you can check this value in device Manager
# author, CCL, 2012-05-22

Set ADBDEVICEID=0X15A2 #这个值可以改变成自己adb设备的ID, Query method, Device Manager inside the details of ADB device can be found.

@if exist%homedrive%%homepath%\.android Goto direxist
MD%homedrive%%homepath%\.android
:d irexist
@echo off
@echo # >>%homedrive%%homepath%\.android\adb_usb.ini
@echo%adbdeviceid% >>%homedrive%%homepath%\.android\adb_usb.in

If you still can't find it:

1. Modify the android_winusb.inf file in adb driver. Add to the other items.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.