Solution to the connection to ADB is down problem in Android programming

This paper analyzes the solution to the connection to ADB is down problem in Android programming. Share with you for your reference, as follows:

1. Error report: @ h_ 301_ 6@

BUILD Failed D:\workspace\ganji\build.xml:144: The following error occurred while executing this line: D:\workspace\ganji\build.xml:271: Unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jar @H_ 301_ 6@

Solution: @ h_ 301_ 6@

A simulator has been opened and cannot be recompiled. You must close one. For ant

2. Error report: @ h_ 301_ 6@

The connection to adb is down,and a severe error has occured. @H_ 301_ 6@

Solution: @ h_ 301_ 6@

CMD jump to the SDK tools file path, ADB kill server, and then ADB start server

3. Error report: @ h_ 301_ 6@

The connection to adb is down,and a severe error has occured. [2010-03-11 09:36:56 - HelloOPone] You must restart adb and Eclipse. [2010-03-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located at 'D:\OPhoneSDK_ 1.5 \platform-tools\adb.exe' and can be executed. @H_ 301_ 6@

Solution: @ h_ 301_ 6@

Method 1. ADB kill server in CMD, and then ADB - startserver method 2. If method 1 does not work, kill adb.exe in task manager, and then restart eclipse. Method 3. If neither method 1 nor 2 works, check the error in the last sentence: is there adb.exe in platform tools (my error is that there is no platform tools folder under the relevant path, so I choose to create a new folder and copy all the files in tools to platform tools)

4. If the previous method fails after trying, it is recommended to reinstall a system, and it is best to change the system@ H_ 301_ 6@

I hope this article will help you in Android programming.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>