The connection to ADB is down, ADB server didn 'Tack Problem and Solution in Android

Source: Internet
Author: User

I have summarized the problems and methods that are often difficult to solve in Android. Through exploration, it is generally a newly installedProgramThe ADB port is used for the moment. Services will be started when the new version of peas are clipped to the background, leading to the failure of ADB to start normally.

1. Error:
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

Solution:
A simulator has been enabled and cannot be re-compiled. You must disable one. For ant

2. Error:
The connection to ADB is down, and a severe error has occured.
Who can solve this problem?
Solution:
CMD jump to the SDK tools file path
ADB kill-Server
Then ADB start-Server

3. Error:
The connection to ADB is down, and a severe error has occured.
[09:36:56-helloopone] You must restart ADB and eclipse.
[09:36:56-helloopone] Please ensure that ADB is correctly located at 'd: \ ophonesdk_1.5

\ Platform-tools \ adb.exe 'and can be executed.
Solution:
Method 1. ADB kill-server in cmd, and then ADB-startserver
2.18.1then, kill adb.exe in the task manager, and then restart eclipse.
Method 3. If methods 1 and 2 do not work, check that adb.exe exists in the last error message in platform-tools( my error is that there is no platform-Tools Folder under the relevant path ).

So I chose to create a new folder and copy all the files in tools to platform-tools)

Method 4: Delete the latest Installer
5. If the previous method still fails, we recommend that you reinstall a new system. You 'd better change the system. Some Daniel also said: MS has some minor problems [size = large] [/size]

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.