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]