Error “The connection to adb is down, and a severe

2019-01-01 04:21发布

I've spent days trying to launch any Android program. Even "Hello World" gives me the same error:

"The connection to adb is down, and a severe error has occurred".

I'm running Eclipse v3.5 (Galileo), Google APIs 2.2.8, on a Windows XP machine.

I've used all the tricks I can find on the web: the command line "adb kill-server", the DDMS "reset ADB", I started the emulator both before and after Eclipse, and searched for ports being used by other programs.

What is going on here? Is there a magic combination of versions of Eclipse, Java, ADB, emulator, and whatever else that works?

30条回答
姐姐魅力值爆表
2楼-- · 2019-01-01 05:00

I've tried the above methods, end the adb process through task manager and all, it didn't work. But when I ran the adb.exe file as admin it worked fine.

查看更多
永恒的永恒
3楼-- · 2019-01-01 05:01
  1. Go to the folder platform-tools in cmd folder platform tools available in the Android folder where you have Android backup files.

  2. Type the following

    adb kill-server
    

    and

    adb start-server
    

    then type

    adb devices
    
    adb kill-server
    

You can now see your device.

查看更多
长期被迫恋爱
4楼-- · 2019-01-01 05:02

Eclipse → preferencesAndroidNDK

Check the "NDK Location" path is set correctly, and use the browse button to set it.

查看更多
宁负流年不负卿
5楼-- · 2019-01-01 05:03

Close Eclipse

Use this in the terminal:

sudo killall -9 adb

Run Eclipse.

查看更多
零度萤火
6楼-- · 2019-01-01 05:04

AndroidSDK → Platform ToolsKill did not work.

But after restarting my computer, it worked.

查看更多
路过你的时光
7楼-- · 2019-01-01 05:05

Open up the Windows task manager, kill the process named adb.exe, and re-launch your program.

查看更多
登录 后发表回答