adb server version doesn't match this client










134














Whenever I try to run adb devices:



 $ adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT0ANRV05740 device


It says daemon is not running and restarts the daemon.



Then, if I run adb devices again, it does the same thing -



 $ adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT0ANRV05740 device


Then, if I run it again, it again does the exact same thing -



 $ adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT0ANRV05740 device


Please help!!



Also, my DDMS keeps giving me the following message -



[2011-02-23 16:17:05 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host


Here are the logs from just before adb restarts -



 1291 locapi_rpc_glue V loc_ioctl
1291 RPC D written RPC packet size: [480]
1291 RPC D read RPC packet
1291 RPC D read RPC packet size: [28]
1291 lib_locapi V qct_loc_eng_inject_xtra_data, inject part = 100, len = 167, len = 167
1291 lib_locapi V qct_loc_eng_inject_xtra_data, total part = 100, len = 167
1291 locapi_rpc_glue V loc_ioctl
1291 RPC D written RPC packet size: [248]
1291 RPC D read RPC packet
1291 RPC D read RPC packet size: [28]
1291 lib_locapi D qct_loc_eng_inject_xtra_data: injected 39767, SUCCESS
1291 lib_locapi V inject_xtra_waiting = flase
1291 GpsLocationProvider D Releasing wakelock
1291 WifiService D releaseWifiLockLocked: WifiLockNetworkLocationProvider type=2 binder=android.os.Binder@47aead50
1291 WifiService D enable and start wifi due to updateWifiState
1218 rmt_storage I rmt_storage open event
1218 rmt_storage I rmt_storage client thread started
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage register cb event
1218 rmt_storage I rmt_storage status id = 2
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage open event
1218 rmt_storage I rmt_storage client thread started
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage register cb event
1218 rmt_storage I rmt_storage status id = 2
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage write event
1218 rmt_storage I unblock rmt_storage client thread
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage write: bytes written = 3145216
1218 rmt_storage I rmt_storage write: bytes written = 512
1218 rmt_storage I rmt_storage status handle = 1
1291 BatteryStatsImpl I notePhoneSignalStrengthLocked: 4->3
1218 rmt_storage I rmt_storage write event
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I unblock rmt_storage client thread
1291 PowerManagerService D New lightsensor value:40, lcdValue:143
1291 PowerManagerService D lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
1218 rmt_storage I rmt_storage write: bytes written = 3145216
1218 rmt_storage I rmt_storage write: bytes written = 512
1218 rmt_storage I rmt_storage status handle = 2
1291 RPC D read RPC packet
1291 RPC D read RPC packet size: [80]
1291 locapi_rpc_glue V Callback received: 80 (cb_id=0x50B0000 handle=1)
1291 RPC D written RPC packet size: [28]
1470 usicWidgetController D unbindMusicPlaybackService()
1707 MediaPlaybackService E BadQueue mPlayListLen : 0 mAlbumListLen : 0 mShrinkAlbumListLen : 0
1291 NotificationService V Battery Full, Charging
1291 lights E write ok string=0,len=1
1291 lights E write ok string=0,len=1
1291 lights E write ok string=0 0,len=3
1291 lights E write ok string=1,len=1
1707 MediaPlayer.java D setOnCompletionListener being cleaned to null
1291 lights E write ok string=0,len=1
1291 lights E write ok string=0 0,len=3
1291 NotificationService V Turn off Jogball/OJ LED
1291 NotificationService D cancelNotification, ACTION_NOTIFICATION_REMOVE,pkg=com.htc.music,id=1
1291 AudioService I AudioFocus abandonAudioFocus() from android.media.AudioManager@476ddee0com.htc.music.MediaPlaybackService$5@476dd838









share|improve this question























  • For me, helped exitting Helium desktop app, which have own adb version. :)
    – Velda
    Oct 5 '16 at 10:58










  • In my case it was Genymotion, there's a configuration to use their own version or you can set your own.
    – Crysfel
    Feb 22 '17 at 4:59










  • stackoverflow.com/a/39421515/1778421
    – Alex P.
    Apr 29 '17 at 12:16










  • In aosp I renamed aosp/out/host/darwin-x86/bin/adb to adb-aosp because aliasing on top of that to my local (out of AOSP) version wasn't working.
    – Paschalis
    May 3 '17 at 15:48















134














Whenever I try to run adb devices:



 $ adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT0ANRV05740 device


It says daemon is not running and restarts the daemon.



Then, if I run adb devices again, it does the same thing -



 $ adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT0ANRV05740 device


Then, if I run it again, it again does the exact same thing -



 $ adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT0ANRV05740 device


Please help!!



Also, my DDMS keeps giving me the following message -



[2011-02-23 16:17:05 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host


Here are the logs from just before adb restarts -



 1291 locapi_rpc_glue V loc_ioctl
1291 RPC D written RPC packet size: [480]
1291 RPC D read RPC packet
1291 RPC D read RPC packet size: [28]
1291 lib_locapi V qct_loc_eng_inject_xtra_data, inject part = 100, len = 167, len = 167
1291 lib_locapi V qct_loc_eng_inject_xtra_data, total part = 100, len = 167
1291 locapi_rpc_glue V loc_ioctl
1291 RPC D written RPC packet size: [248]
1291 RPC D read RPC packet
1291 RPC D read RPC packet size: [28]
1291 lib_locapi D qct_loc_eng_inject_xtra_data: injected 39767, SUCCESS
1291 lib_locapi V inject_xtra_waiting = flase
1291 GpsLocationProvider D Releasing wakelock
1291 WifiService D releaseWifiLockLocked: WifiLockNetworkLocationProvider type=2 binder=android.os.Binder@47aead50
1291 WifiService D enable and start wifi due to updateWifiState
1218 rmt_storage I rmt_storage open event
1218 rmt_storage I rmt_storage client thread started
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage register cb event
1218 rmt_storage I rmt_storage status id = 2
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage open event
1218 rmt_storage I rmt_storage client thread started
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage register cb event
1218 rmt_storage I rmt_storage status id = 2
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage write event
1218 rmt_storage I unblock rmt_storage client thread
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage write: bytes written = 3145216
1218 rmt_storage I rmt_storage write: bytes written = 512
1218 rmt_storage I rmt_storage status handle = 1
1291 BatteryStatsImpl I notePhoneSignalStrengthLocked: 4->3
1218 rmt_storage I rmt_storage write event
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I unblock rmt_storage client thread
1291 PowerManagerService D New lightsensor value:40, lcdValue:143
1291 PowerManagerService D lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
1218 rmt_storage I rmt_storage write: bytes written = 3145216
1218 rmt_storage I rmt_storage write: bytes written = 512
1218 rmt_storage I rmt_storage status handle = 2
1291 RPC D read RPC packet
1291 RPC D read RPC packet size: [80]
1291 locapi_rpc_glue V Callback received: 80 (cb_id=0x50B0000 handle=1)
1291 RPC D written RPC packet size: [28]
1470 usicWidgetController D unbindMusicPlaybackService()
1707 MediaPlaybackService E BadQueue mPlayListLen : 0 mAlbumListLen : 0 mShrinkAlbumListLen : 0
1291 NotificationService V Battery Full, Charging
1291 lights E write ok string=0,len=1
1291 lights E write ok string=0,len=1
1291 lights E write ok string=0 0,len=3
1291 lights E write ok string=1,len=1
1707 MediaPlayer.java D setOnCompletionListener being cleaned to null
1291 lights E write ok string=0,len=1
1291 lights E write ok string=0 0,len=3
1291 NotificationService V Turn off Jogball/OJ LED
1291 NotificationService D cancelNotification, ACTION_NOTIFICATION_REMOVE,pkg=com.htc.music,id=1
1291 AudioService I AudioFocus abandonAudioFocus() from android.media.AudioManager@476ddee0com.htc.music.MediaPlaybackService$5@476dd838









share|improve this question























  • For me, helped exitting Helium desktop app, which have own adb version. :)
    – Velda
    Oct 5 '16 at 10:58










  • In my case it was Genymotion, there's a configuration to use their own version or you can set your own.
    – Crysfel
    Feb 22 '17 at 4:59










  • stackoverflow.com/a/39421515/1778421
    – Alex P.
    Apr 29 '17 at 12:16










  • In aosp I renamed aosp/out/host/darwin-x86/bin/adb to adb-aosp because aliasing on top of that to my local (out of AOSP) version wasn't working.
    – Paschalis
    May 3 '17 at 15:48













134












134








134


37





Whenever I try to run adb devices:



 $ adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT0ANRV05740 device


It says daemon is not running and restarts the daemon.



Then, if I run adb devices again, it does the same thing -



 $ adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT0ANRV05740 device


Then, if I run it again, it again does the exact same thing -



 $ adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT0ANRV05740 device


Please help!!



Also, my DDMS keeps giving me the following message -



[2011-02-23 16:17:05 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host


Here are the logs from just before adb restarts -



 1291 locapi_rpc_glue V loc_ioctl
1291 RPC D written RPC packet size: [480]
1291 RPC D read RPC packet
1291 RPC D read RPC packet size: [28]
1291 lib_locapi V qct_loc_eng_inject_xtra_data, inject part = 100, len = 167, len = 167
1291 lib_locapi V qct_loc_eng_inject_xtra_data, total part = 100, len = 167
1291 locapi_rpc_glue V loc_ioctl
1291 RPC D written RPC packet size: [248]
1291 RPC D read RPC packet
1291 RPC D read RPC packet size: [28]
1291 lib_locapi D qct_loc_eng_inject_xtra_data: injected 39767, SUCCESS
1291 lib_locapi V inject_xtra_waiting = flase
1291 GpsLocationProvider D Releasing wakelock
1291 WifiService D releaseWifiLockLocked: WifiLockNetworkLocationProvider type=2 binder=android.os.Binder@47aead50
1291 WifiService D enable and start wifi due to updateWifiState
1218 rmt_storage I rmt_storage open event
1218 rmt_storage I rmt_storage client thread started
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage register cb event
1218 rmt_storage I rmt_storage status id = 2
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage open event
1218 rmt_storage I rmt_storage client thread started
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage register cb event
1218 rmt_storage I rmt_storage status id = 2
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage write event
1218 rmt_storage I unblock rmt_storage client thread
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage write: bytes written = 3145216
1218 rmt_storage I rmt_storage write: bytes written = 512
1218 rmt_storage I rmt_storage status handle = 1
1291 BatteryStatsImpl I notePhoneSignalStrengthLocked: 4->3
1218 rmt_storage I rmt_storage write event
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I unblock rmt_storage client thread
1291 PowerManagerService D New lightsensor value:40, lcdValue:143
1291 PowerManagerService D lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
1218 rmt_storage I rmt_storage write: bytes written = 3145216
1218 rmt_storage I rmt_storage write: bytes written = 512
1218 rmt_storage I rmt_storage status handle = 2
1291 RPC D read RPC packet
1291 RPC D read RPC packet size: [80]
1291 locapi_rpc_glue V Callback received: 80 (cb_id=0x50B0000 handle=1)
1291 RPC D written RPC packet size: [28]
1470 usicWidgetController D unbindMusicPlaybackService()
1707 MediaPlaybackService E BadQueue mPlayListLen : 0 mAlbumListLen : 0 mShrinkAlbumListLen : 0
1291 NotificationService V Battery Full, Charging
1291 lights E write ok string=0,len=1
1291 lights E write ok string=0,len=1
1291 lights E write ok string=0 0,len=3
1291 lights E write ok string=1,len=1
1707 MediaPlayer.java D setOnCompletionListener being cleaned to null
1291 lights E write ok string=0,len=1
1291 lights E write ok string=0 0,len=3
1291 NotificationService V Turn off Jogball/OJ LED
1291 NotificationService D cancelNotification, ACTION_NOTIFICATION_REMOVE,pkg=com.htc.music,id=1
1291 AudioService I AudioFocus abandonAudioFocus() from android.media.AudioManager@476ddee0com.htc.music.MediaPlaybackService$5@476dd838









share|improve this question















Whenever I try to run adb devices:



 $ adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT0ANRV05740 device


It says daemon is not running and restarts the daemon.



Then, if I run adb devices again, it does the same thing -



 $ adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT0ANRV05740 device


Then, if I run it again, it again does the exact same thing -



 $ adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
HT0ANRV05740 device


Please help!!



Also, my DDMS keeps giving me the following message -



[2011-02-23 16:17:05 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host


Here are the logs from just before adb restarts -



 1291 locapi_rpc_glue V loc_ioctl
1291 RPC D written RPC packet size: [480]
1291 RPC D read RPC packet
1291 RPC D read RPC packet size: [28]
1291 lib_locapi V qct_loc_eng_inject_xtra_data, inject part = 100, len = 167, len = 167
1291 lib_locapi V qct_loc_eng_inject_xtra_data, total part = 100, len = 167
1291 locapi_rpc_glue V loc_ioctl
1291 RPC D written RPC packet size: [248]
1291 RPC D read RPC packet
1291 RPC D read RPC packet size: [28]
1291 lib_locapi D qct_loc_eng_inject_xtra_data: injected 39767, SUCCESS
1291 lib_locapi V inject_xtra_waiting = flase
1291 GpsLocationProvider D Releasing wakelock
1291 WifiService D releaseWifiLockLocked: WifiLockNetworkLocationProvider type=2 binder=android.os.Binder@47aead50
1291 WifiService D enable and start wifi due to updateWifiState
1218 rmt_storage I rmt_storage open event
1218 rmt_storage I rmt_storage client thread started
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage register cb event
1218 rmt_storage I rmt_storage status id = 2
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage open event
1218 rmt_storage I rmt_storage client thread started
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage register cb event
1218 rmt_storage I rmt_storage status id = 2
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage write event
1218 rmt_storage I unblock rmt_storage client thread
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I rmt_storage write: bytes written = 3145216
1218 rmt_storage I rmt_storage write: bytes written = 512
1218 rmt_storage I rmt_storage status handle = 1
1291 BatteryStatsImpl I notePhoneSignalStrengthLocked: 4->3
1218 rmt_storage I rmt_storage write event
1218 rmt_storage I rmt_storage events processing done
1218 rmt_storage I unblock rmt_storage client thread
1291 PowerManagerService D New lightsensor value:40, lcdValue:143
1291 PowerManagerService D lightSensorChangedLocked, buttonValue >= 0, mPowerState = 3
1218 rmt_storage I rmt_storage write: bytes written = 3145216
1218 rmt_storage I rmt_storage write: bytes written = 512
1218 rmt_storage I rmt_storage status handle = 2
1291 RPC D read RPC packet
1291 RPC D read RPC packet size: [80]
1291 locapi_rpc_glue V Callback received: 80 (cb_id=0x50B0000 handle=1)
1291 RPC D written RPC packet size: [28]
1470 usicWidgetController D unbindMusicPlaybackService()
1707 MediaPlaybackService E BadQueue mPlayListLen : 0 mAlbumListLen : 0 mShrinkAlbumListLen : 0
1291 NotificationService V Battery Full, Charging
1291 lights E write ok string=0,len=1
1291 lights E write ok string=0,len=1
1291 lights E write ok string=0 0,len=3
1291 lights E write ok string=1,len=1
1707 MediaPlayer.java D setOnCompletionListener being cleaned to null
1291 lights E write ok string=0,len=1
1291 lights E write ok string=0 0,len=3
1291 NotificationService V Turn off Jogball/OJ LED
1291 NotificationService D cancelNotification, ACTION_NOTIFICATION_REMOVE,pkg=com.htc.music,id=1
1291 AudioService I AudioFocus abandonAudioFocus() from android.media.AudioManager@476ddee0com.htc.music.MediaPlaybackService$5@476dd838






android adb






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 18 at 7:23









Alex P.

19.7k1366116




19.7k1366116










asked Feb 23 '11 at 14:57









Arunabh Das

6,118136286




6,118136286











  • For me, helped exitting Helium desktop app, which have own adb version. :)
    – Velda
    Oct 5 '16 at 10:58










  • In my case it was Genymotion, there's a configuration to use their own version or you can set your own.
    – Crysfel
    Feb 22 '17 at 4:59










  • stackoverflow.com/a/39421515/1778421
    – Alex P.
    Apr 29 '17 at 12:16










  • In aosp I renamed aosp/out/host/darwin-x86/bin/adb to adb-aosp because aliasing on top of that to my local (out of AOSP) version wasn't working.
    – Paschalis
    May 3 '17 at 15:48
















  • For me, helped exitting Helium desktop app, which have own adb version. :)
    – Velda
    Oct 5 '16 at 10:58










  • In my case it was Genymotion, there's a configuration to use their own version or you can set your own.
    – Crysfel
    Feb 22 '17 at 4:59










  • stackoverflow.com/a/39421515/1778421
    – Alex P.
    Apr 29 '17 at 12:16










  • In aosp I renamed aosp/out/host/darwin-x86/bin/adb to adb-aosp because aliasing on top of that to my local (out of AOSP) version wasn't working.
    – Paschalis
    May 3 '17 at 15:48















For me, helped exitting Helium desktop app, which have own adb version. :)
– Velda
Oct 5 '16 at 10:58




For me, helped exitting Helium desktop app, which have own adb version. :)
– Velda
Oct 5 '16 at 10:58












In my case it was Genymotion, there's a configuration to use their own version or you can set your own.
– Crysfel
Feb 22 '17 at 4:59




In my case it was Genymotion, there's a configuration to use their own version or you can set your own.
– Crysfel
Feb 22 '17 at 4:59












stackoverflow.com/a/39421515/1778421
– Alex P.
Apr 29 '17 at 12:16




stackoverflow.com/a/39421515/1778421
– Alex P.
Apr 29 '17 at 12:16












In aosp I renamed aosp/out/host/darwin-x86/bin/adb to adb-aosp because aliasing on top of that to my local (out of AOSP) version wasn't working.
– Paschalis
May 3 '17 at 15:48




In aosp I renamed aosp/out/host/darwin-x86/bin/adb to adb-aosp because aliasing on top of that to my local (out of AOSP) version wasn't working.
– Paschalis
May 3 '17 at 15:48












32 Answers
32






active

oldest

votes













1 2
next












291














Are you using Genymotion for a virtual device?



if yes this error probably came out because ADB from Genymotion conflicted with your ADB from Android SDK(using same port number), to fix this simply go to settings => choose ADB tab => click on the option Use custom Android SDK Tools and set your SDK folder



enter image description here



after you configure this, try to restart your adb by going into folder platform-tools which adb placed and do this command:



  • ./adb kill-server

  • ./adb start-server

*tips: You may close the process of Genymotion before running the command above



Hope this help.






share|improve this answer






















  • Thank You Aditya!!! finally a decent answer. It started after updating android studio. I was going crazy with this one, reinstalled the sdk and everything. I thought it was a bug in the new version.
    – TacoEater
    Dec 24 '14 at 20:19






  • 1




    Only this helped ! There's a tiny tool called 'adbfix', which gave me the hint that this could be a path related problem, but actually did nothing to fix the problem.
    – icarus74
    Jan 19 '15 at 12:26










  • Gotta love Genymotion as stock emulators consume too much resources as they are constantly heating up my beatup laptop running on Ubuntu.
    – thethakuri
    May 24 '15 at 16:03






  • 1




    I do not have genymotion installed in my system. How do I fix this?
    – arka.b
    Sep 4 '15 at 10:18






  • 7




    Any genymotion emulator must be closed before running commands above.
    – Robert
    Mar 20 '16 at 15:33


















59














I uninstalled Dell PC Suite and HTC Sync from my computer and this problem went away.



EDIT: To elaborate a bit on the cause of this problem: HTC sync comes with an ADB server of its own. And it updates your PATH environment variable to point to its version of the server. Edit the PATH variable and remove the reference to the HTC Sync directories. Now you're using Google's ADB again.






share|improve this answer


















  • 1




    This problem is in my mac os-x apple device.
    – Ritesh Kumar Singh
    Mar 12 '15 at 5:35






  • 3




    HTC Sync was the issue. It continuously runs in the background, causing conflicts with adb.exe
    – rharvey
    Aug 12 '15 at 8:47










  • HTC Sync was my issue as well. Thanks for this!
    – Rob
    Oct 8 '16 at 18:12










  • LG AirBridge caused the problem for me - uninstalling that and then running adb start-server worked.
    – jamsandwich
    Dec 12 '16 at 22:56


















23














I find I occasionally need to explicitly kill and restart the server manually:



adb kill-server
adb start-server


This shock is generally enough to get it back on its feet again, and prevents repeated adb server is out of date. killing... messages.






share|improve this answer
















  • 41




    Killing and restarting did not work for me.
    – Arunabh Das
    Feb 23 '11 at 21:29










  • Killing and restarting seems to have worked for me; however I am now getting the error message "error: more than one device and emulator" when I do: "adb tcpip 5555" as per accepted answer's instructions.
    – jay_t55
    Jan 6 '15 at 11:57










  • In my case, there are multiple processes of adb running so I do multiple calls to adb kill-server until it says" daemon not running..."
    – mr5
    Oct 22 at 6:01


















17














In my machine (Ubuntu 14.04 and Genymotion 2.5.2) the source of the problem was that, I had 2 adb files of different versions.



(Before, narrowing down this problem source, I already had Genymotion's Settings > "Use custom Android SDK tools" referring to my machine's installed Android SDK directory as advised by Aditya Kresna Permana. I also tried with killing and starting the adb server and few other solutions from around the web).



Then saw, that running adb versionfrom my Android SDK installation directory “~/Android/Sdk/platform-tools” produced - "Android Debug Bridge version 1.0.32"



But, adb version command from “/usr/bin” directory produced- “Android Debug Bridge version 1.0.31"



So just followed - http://bernaerts.dyndns.org/linux/74-ubuntu/328-ubuntu-trusty-android-adb-fastboot-qtadb to update the adb in “/usr/bin”



# adb version
Android Debug Bridge version 1.0.31
# wget -O - https://skia.googlesource.com/skia/+archive/cd048d18e0b81338c1a04b9749a00444597df394/platform_tools/android/bin/linux.tar.gz | tar -zxvf - adb
# sudo mv adb /usr/bin/adb
# sudo chmod +x /usr/bin/adb
# adb version
Android Debug Bridge version 1.0.32


And now running adb devices works perfectly as expected.



And it also solved the associated problem that, before my PhoneGap (Cordova) app was not getting integrated with the Genymotion's virtual device. Now obviously that problem solved as well.






share|improve this answer




















  • Thank you so much. Saved my time. This one works perfectly fine on ubuntu 14.04. Would like to know how did you get the wget url of adb? @Rohan_Paul
    – Akbar Sha Ebrahim
    Feb 29 '16 at 6:54










  • How can you get this to work on a mac?
    – Jay Smoke
    May 16 '17 at 23:05










  • i am getting this now : bash: /usr/bin/adb: No such file or directory
    – Tushar Saha
    Jul 13 at 9:05


















16














Ensure that there are no other adb processes running



There may be more than one adb process running on the system. Tools such as the Android Reverse Tether may use their own version of the adb tool, hence the version in memory may conflict with the version run from the command line (via the path variable).



Windows



In Windows, press CTL+Shift+ESC to access Task Manager, sort in the Image Name column, then kill all instances of adb.exe by right-clicking, and choosing End Process. Note that there are multiple instances of adb.exe below:



Multiple adb.exe instances - how to kill



Linux (Android)



In a Linux environment, just use the kill -9 command. Something like this worked on an Android device running adb (use ps output, search using grep for a process starting with adb, get the Process ID from the adb process(es), and send that ID to the kill -9 command):



kill -9 $(ps | grep "S adb" | busybox awk 'print $2')



Then, restart adb



Once the adb processes - and thus conflicts - are resolved, then retry running adb from the command-line again:



adb start-server





share|improve this answer




















  • In my case, I found out that another instance of adb was running as part of GapDebug. Stopping GapDebug, killing the running adb process and calling ./adb start-server in ~/Library/Android/sdk//platform-tools solved it.
    – Gwened
    Feb 7 '16 at 16:49



















15














I just exited HTC Sync, tried again, and it worked.
Notice: Phone went black(locked), I just turned it on, and there was my application running. :)






share|improve this answer




















  • I had the same problem with ZTE Sync, I removed it and my devices were displayed.
    – ovejaexiste
    Mar 4 '15 at 14:27


















9














System: Windows 10



My issue:
Setting Genymotion to point to the custom SDK didn't have any affect. I still received the:




Couldn't start project on Android: could not install smartsocket
listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket
address (protocol/network address/port) is normally permitted. (10048)
could not read ok from ADB Server
* failed to start daemon * error: cannot connect to daemon




What I discovered was there was a difference in ADB versions being used throughout the system. Here is the command I used to find them:



where /r C: adb.exe


This produced the results:



C:Program FilesExpo XDEresourcesappnode_modulesxdlbinarieswindowsadbadb.exe
C:Program FilesGenymobileGenymotiontoolsadb.exe
C:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe
C:UserskyleAppDataLocalAndroidSdkplatform-toolsadb backupadb.exe


Navigating to each directory and running:



adb.exe version


Allowed me to see that Expo was running ADB version:



Android Debug Bridge version 1.0.36
Revision fd9e4d07b0f5-android


While Genymotion using the custom SDK had version (c:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe):



Android Debug Bridge version 1.0.39
Revision 3db08f2c6889-android


As a test I took the adb files (adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll) from



c:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe


and placed them into a backup folder. I then moved the adb files located at



c:Program FilesExpo XDEresourcesappnode_modulesxdlbinarieswindowsadbadb.exe


into that same location. I killed adb with:



adb kill-server


which caused a restart of the adb server automatically due to having my Genymotion device already running. I hit the "Restart" button inside of the Expo XDE and it immediately began working. Here is the log where I hit the restart button at 1:13:04 AM:



12:45:53 AM
could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket address (protocol/network address/port) is normally permitted. (10048)
could not read ok from ADB Server
* failed to start daemon *
error: cannot connect to daemon
1:13:04 AM
Restarting project and clearing packager cache (Hold shift while clicking restart to avoid clearing cache).
1:13:11 AM
Starting React Native packager...
1:13:17 AM
Scanning 543 folders for symlinks in C:Userskylegitbetalognode_modules (49ms)
1:13:17 AM
1:13:19 AM
Couldn't adb reverse: closed
1:13:20 AM
Project opened! You can now use the "Share" or "Device" buttons to view your project.
1:13:26 AM
Couldn't adb reverse: closed
1:13:26 AM
Downloading latest version of Expo
1:13:28 AM
Installing Expo on device
1:13:33 AM
Opening on Android device
1:13:56 AM
Building JavaScript bundle: finished in 59643ms.
1:14:01 AM
Dependency graph loaded.
1:14:03 AM
Your JavaScript transform cache is empty, rebuilding (this may take a minute).


Conclusion: Genymotion and Expo may need to use the same version of adb so that Expo can properly communicate with the simulated device. Pointing Genymotion to your android SDK location as well as ensuring Expo XDE has that same version will allow correct communication between devices. I moved the Expo XDE version to the SDK location, but you might be able to go the other way (take the sdk ADB files and place them in the Expo XDE resource location).



P.S.
I've been all through the stackoverflow posts related to this issue. Just so you guys know my task manager shows three instances of adb.exe running. If you kill any of them they just come back.



Hope this helps /cheers






share|improve this answer
















  • 1




    This works for me.
    – yogen darji
    Jun 20 at 11:51






  • 1




    This resolved my first problem after a number of hours (thanks mate). The next problem was the emulated device was not authorised (adb devices) which took me less time to resolve.
    – Jonathan
    Oct 29 at 21:36


















8














It would appear that the ADB daemon on the device (adbd) is disagreeing with the ADB server process on your host computer as to which version of the protocol they are speaking. Which version of the SDK are you running and what is the OS version on the device you are debugging?



What you might need to do is actually downgrade your version of the SDK tools so that the ADB daemon and process are in agreement. I thought the server process was completely backward compatible, but this could be one of those corner cases where it doesn't. Google doesn't advertise the fact that you can get their old SDK tools packages, but they can be found by looking in the archives area at http://developer.android.com.






share|improve this answer
















  • 1




    To which version would you recommend that I downgrade?
    – Arunabh Das
    Feb 23 '11 at 22:06










  • Which device are you using and what OS version is running on it? I don't truly think it should be necessary to downgrade because that's generally not necessary, but as I was saying, this could be a corner case. SDK r10 was just released this week and r9 only a month or so ago. If the problem has been introduced recently, r7 should provide a stable basis going back to last summer. You can find these earlier versions at developer.android.com/sdk/tools-notes.html. Good luck
    – Eric Cloninger
    Feb 23 '11 at 22:31










  • OS version on device = 2.2 and SDK = 10
    – Arunabh Das
    Feb 23 '11 at 22:56











  • This is not a version mismatch between adbd and adb server but rather between adb server and adb client (both running on the PC)
    – Alex P.
    Dec 31 '16 at 21:23


















8














This is caused because you are running a adb other than the one included in the SDK. If on linux check where is the adb binary located



which adb
Expected Output : ANDROID_SDK/platform-tools/adb


If not pointing to ANDROID_SDK/platform-tools/adb then you are running some old version of adb installed on a different location on the machine.



Nothing wrong running adb other than the one provided with SDK but the downside is it is not updated automatically when the android SDK is updated and that's why you running into this out-dated version issue.



The easier fix and to avoid this issue in future rename the older (misleading) adb binary file to something else.



Follow the steps to resolve this issue.



$ which adb
*o/p /usr/bin/adb - (output will depend on your machine)*
$ cd /usr/bin/
$ ls -lt | grep adb
*o/p -rwxr-xr-x 1 root root 160912 Mar 31 2016 adb*
$ sudo mv adb adb_bakup
$ ls -lt | grep adb
o/p -rwxr-xr-x 1 root root 160912 Mar 31 2016 adb_bakup
$ export PATH="/path/to/android_sdk/platform-tools:$PATH"
$ which adb
*o/p <your android sdk dir>/platform-tools/adb* ---> You are all good now





share|improve this answer




















  • I tried this from my Mac, it just tell me that I don't have permission to change the name?
    – Jay Smoke
    May 16 '17 at 16:36










  • You need the administrator privilege to change any dir name under /usr.
    – AKh
    May 17 '17 at 17:22











  • I logged in as root and I still couldn't change it.
    – Jay Smoke
    Jun 7 '17 at 18:55










  • great solution, I had a adb symlink to ../Cellar/..., so even if last adb version was downloaded with sdk manager, setting good path fixing the out of date problem
    – Luidgi Gromat
    Jul 2 '17 at 5:24










  • This is my problem exactly.
    – Jeff Gu Kang
    Oct 23 at 9:13


















5














I simply closed the htc sync application completely and tried again. It worked as it was supposed to.






share|improve this answer




























    5














    I beat my head against the wall on this one. This started happening when I installed the latest version of HTC sync (3.0.5579). For some reason adb.exe was showing up multiple times in the task manager and I was getting the adb server is out of date killing errors multiple times. I found the adb.exe version in the HTC sync directory and the Android SDK platform-tools directory. I had the path setup correctly pointing at the android SDK directory and didn't see the HTC Sync path (maybe I was missing something, but I don't think so). Anyway, to fix the issue, I simply renamed the adb.exe file in the HTC Sync directory and everything worked again. This may not be the right way to go about this fix, but it worked for me.






    share|improve this answer




























      5














      Helped for me: stop HTC Sync (in system tray) and rename HTC's adb.exe (C:Program Files (x86)HTCHTC Sync 3.0adb.exe).






      share|improve this answer




























        4














        First close All the things which use ADB. (Android Studio, Eclipse, Emulator(Bluestack as well))
        and then do



        adb kill-server
        adb start-server


        In my case I just got update of Studio.






        share|improve this answer




























          3














          System: Windows 7, Android Studio.



          This error occurred when I ran adb devices from Windows Commandline.



          The root cause was that the adb I was running from commandline was not the same adb running from Android Studio.



          Solution:




          1. First kill all running adb processes on the machine.



            taskkill /F /IM adb.exe



          2. Run your app from Android Studio.



          3. Locate the exact File Location of adb.exe either from Windows Task Manager, OR by running the command below



            wmic process where "name='adb.exe'" get ProcessID, ExecutablePath



          4. On Windows Command prompt, run where adb to locate the adb that runs from command prompt. This path would be different from the one in Step 3 above.


          5. Edit Windows system variable PATH. Delete the base path found in Step 4 from it.



          6. After you have edited PATH, you can see the current contents of this variable by typing below command in a NEW command prompt (don't use old prompt.)



            echo %PATH%



          Now, run adb from command prompt. It should NOT show any "server out of date error"!






          share|improve this answer




























            2














            Try this:



            1. Close the Eclipse application.


            2. adb kill-server


            3. Restart Eclipse.






            share|improve this answer






























              2














              Okay, there is another instance of adb.exe distributed with "Lenovo Photo Companion". A friend of mine has a Lenovo Yoga notebook and had this software installed which includeded another adb.exe



              Deinstalling it solved the problem.






              share|improve this answer




























                2














                OS: Ubuntu



                There are more than 1 adb are running. Check the current adb:



                 which adb
                Expected Output : ANDROID_SDK/platform-tools/adb


                Normally the result will be:



                 /usr/bin/adb


                Delete this older version by:



                 cd /urs/bin
                sudo rm adb





                share|improve this answer




























                  1














                  Did you try using the SDK version 8. Since the device is in 2.2, and your SDK is at 10, there might be conflict.



                  Best of luck with ur downgrading efforts!! Hope this solves.






                  share|improve this answer




























                    1














                    If the device you're trying to interact with is a physical phone connected via USB, you can unplug it and plug it back and and it should work. Sometimes it just gets out of sync I think.






                    share|improve this answer




























                      1














                      I had this issue on one of my development machines (all run windows 7 x64) while all other machines' adb work normally. The reason I ran into this issue is I have an old version of adb.exe reside in %android-sdk%tools while newer Android SDKs have adb.exe under %android-sdk%platform-tools



                      remove the older adb.exe from %android-sdk%tools and add %android-sdk%platform-tools to %PATH% solves this issue



                      or more generally, hunt down any adb executable in your path that are out of date, just use the latest one provided with Android SDK






                      share|improve this answer




























                        1














                        I went through all the answers on SO and it didn't work for me. When I killed the adb.exe process from Task Manager, it kept reopening it and the reason was that Droid Explorer was working in the background.



                        Killing the DE process via Task Manager and then killing adb.exe (and running it again from the console through 'adb start-server' worked for me.



                        This can be useful for many people who have rooted their devices.






                        share|improve this answer




















                        • This was the solution for me. Make sure to End process tree in Task Manager for the Droid Explorer service.
                          – Jason
                          Mar 5 '13 at 9:42


















                        1














                        Unfortunately I do not have enough reputation to comment yet. But the response marked as an answer sent me in the right direction.



                        I did not see anything in my path related to HTC Sync Manager, though I had it installed. I'm not working with my HTC device at the moment, and only had the sync manager installed to help with driver issues. Once uninstalling the HTC sync manager this issue went away for me.



                        Hope this helps someone else.






                        share|improve this answer




























                          1














                          In my case, the problem was caused by Virtuous Ten Studio, which has the adb.exe in External/ADB directory.



                          Go there and run .adb.exe kill-server and you'll be good.






                          share|improve this answer




























                            1














                            I experienced a similar problem where my attempts to use adb such as adb logcat provided this error output:



                            adb server version (40) doesn't match this client (36); killing...



                            This solution worked for me in 2018 on Ubuntu 18.04 from Android Studio 3.2.1 using terminal.



                            The commands are as follows:




                            adb kill-server
                            sudo cp ~/Android/Sdk/platform-tools/adb /usr/bin/adb
                            sudo chmod +x /usr/bin/adb
                            adb start-server




                            You may need to adjust the cp command arguments based on the path to Android/ on your system.



                            2nd generation kudos to my source: https://stackoverflow.com/a/40991118/7015599






                            share|improve this answer




























                              0














                              As mentioned above, the problem comes due to a conflicting version of adb.exe shipped with HTC Sync. Removing it from PATH won't help, as htcUPCTLoader.exe that constantly runs in the background will still re-launch the wrong ADB version.



                              One solution would be to completely remove adb.exe from the HTC Sync folder, however this would break HTC Sync.



                              I've just coded a simple tool that replaces the old adb.exe with a stub that invokes the latest adb.exe from the SDK directory eliminating the conflicts (e.g. version 1.0.25 coming with HTC Sync and 1.0.29 with Android SDK).



                              ADB Fixer tool



                              The tool can be downloaded from http://visualgdb.com/adbfix






                              share|improve this answer






























                                0














                                I also had this problem today, turns out I disabled my network drivers because I had WIFI/LAN issues. re-enabling fixed the issue






                                share|improve this answer




























                                  0














                                  installing sdk updates (including platform tools) fixed for me!






                                  share|improve this answer




























                                    0














                                    Since adb server is out of date. killing is now a dupe of this, copy-paste of a solution for Debian-based systems:




                                    It might be that you installed the adb package in addition to the
                                    SDK's. In that case, a



                                    sudo apt purge adb


                                    might solve the problem.







                                    share|improve this answer




























                                      0














                                      To actually explain what happens:



                                      The ADB executable has two components



                                      • the server, which communicates with the device

                                      • and the client, the command line, which communicates with the server.

                                      When you start ADB for the first time you may notice a message like "starting ADB server". If you updated ADB after that, the newer executable needs to kill the obsolete server and start a new one with matching version.



                                      This can also happen when you have multiple versions of ADB present on your development machine (Genymotion, Android SDK, phone OEM companion apps, various standalone scripts).



                                      This does not concern the ADB installed on your phone/emulator.



                                      The obvious (not necessarily easy) solution is to make sure you use the same version of ADB everywhere.






                                      share|improve this answer




























                                        0














                                        This was caused in my case by running Visual Studio with an Android Xamarin project on the same machine as Android Studio - each IDE had a different adb server version running. I closed Visual Studio and the error went away.






                                        share|improve this answer
























                                          1 2
                                          next


                                          protected by Community Nov 7 '15 at 2:28



                                          Thank you for your interest in this question.
                                          Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                                          Would you like to answer one of these unanswered questions instead?














                                          32 Answers
                                          32






                                          active

                                          oldest

                                          votes








                                          32 Answers
                                          32






                                          active

                                          oldest

                                          votes









                                          active

                                          oldest

                                          votes






                                          active

                                          oldest

                                          votes








                                          1 2
                                          next










                                          291














                                          Are you using Genymotion for a virtual device?



                                          if yes this error probably came out because ADB from Genymotion conflicted with your ADB from Android SDK(using same port number), to fix this simply go to settings => choose ADB tab => click on the option Use custom Android SDK Tools and set your SDK folder



                                          enter image description here



                                          after you configure this, try to restart your adb by going into folder platform-tools which adb placed and do this command:



                                          • ./adb kill-server

                                          • ./adb start-server

                                          *tips: You may close the process of Genymotion before running the command above



                                          Hope this help.






                                          share|improve this answer






















                                          • Thank You Aditya!!! finally a decent answer. It started after updating android studio. I was going crazy with this one, reinstalled the sdk and everything. I thought it was a bug in the new version.
                                            – TacoEater
                                            Dec 24 '14 at 20:19






                                          • 1




                                            Only this helped ! There's a tiny tool called 'adbfix', which gave me the hint that this could be a path related problem, but actually did nothing to fix the problem.
                                            – icarus74
                                            Jan 19 '15 at 12:26










                                          • Gotta love Genymotion as stock emulators consume too much resources as they are constantly heating up my beatup laptop running on Ubuntu.
                                            – thethakuri
                                            May 24 '15 at 16:03






                                          • 1




                                            I do not have genymotion installed in my system. How do I fix this?
                                            – arka.b
                                            Sep 4 '15 at 10:18






                                          • 7




                                            Any genymotion emulator must be closed before running commands above.
                                            – Robert
                                            Mar 20 '16 at 15:33















                                          291














                                          Are you using Genymotion for a virtual device?



                                          if yes this error probably came out because ADB from Genymotion conflicted with your ADB from Android SDK(using same port number), to fix this simply go to settings => choose ADB tab => click on the option Use custom Android SDK Tools and set your SDK folder



                                          enter image description here



                                          after you configure this, try to restart your adb by going into folder platform-tools which adb placed and do this command:



                                          • ./adb kill-server

                                          • ./adb start-server

                                          *tips: You may close the process of Genymotion before running the command above



                                          Hope this help.






                                          share|improve this answer






















                                          • Thank You Aditya!!! finally a decent answer. It started after updating android studio. I was going crazy with this one, reinstalled the sdk and everything. I thought it was a bug in the new version.
                                            – TacoEater
                                            Dec 24 '14 at 20:19






                                          • 1




                                            Only this helped ! There's a tiny tool called 'adbfix', which gave me the hint that this could be a path related problem, but actually did nothing to fix the problem.
                                            – icarus74
                                            Jan 19 '15 at 12:26










                                          • Gotta love Genymotion as stock emulators consume too much resources as they are constantly heating up my beatup laptop running on Ubuntu.
                                            – thethakuri
                                            May 24 '15 at 16:03






                                          • 1




                                            I do not have genymotion installed in my system. How do I fix this?
                                            – arka.b
                                            Sep 4 '15 at 10:18






                                          • 7




                                            Any genymotion emulator must be closed before running commands above.
                                            – Robert
                                            Mar 20 '16 at 15:33













                                          291












                                          291








                                          291






                                          Are you using Genymotion for a virtual device?



                                          if yes this error probably came out because ADB from Genymotion conflicted with your ADB from Android SDK(using same port number), to fix this simply go to settings => choose ADB tab => click on the option Use custom Android SDK Tools and set your SDK folder



                                          enter image description here



                                          after you configure this, try to restart your adb by going into folder platform-tools which adb placed and do this command:



                                          • ./adb kill-server

                                          • ./adb start-server

                                          *tips: You may close the process of Genymotion before running the command above



                                          Hope this help.






                                          share|improve this answer














                                          Are you using Genymotion for a virtual device?



                                          if yes this error probably came out because ADB from Genymotion conflicted with your ADB from Android SDK(using same port number), to fix this simply go to settings => choose ADB tab => click on the option Use custom Android SDK Tools and set your SDK folder



                                          enter image description here



                                          after you configure this, try to restart your adb by going into folder platform-tools which adb placed and do this command:



                                          • ./adb kill-server

                                          • ./adb start-server

                                          *tips: You may close the process of Genymotion before running the command above



                                          Hope this help.







                                          share|improve this answer














                                          share|improve this answer



                                          share|improve this answer








                                          edited Jan 24 at 15:45

























                                          answered Nov 5 '14 at 17:48









                                          Aditya Kresna Permana

                                          6,69742129




                                          6,69742129











                                          • Thank You Aditya!!! finally a decent answer. It started after updating android studio. I was going crazy with this one, reinstalled the sdk and everything. I thought it was a bug in the new version.
                                            – TacoEater
                                            Dec 24 '14 at 20:19






                                          • 1




                                            Only this helped ! There's a tiny tool called 'adbfix', which gave me the hint that this could be a path related problem, but actually did nothing to fix the problem.
                                            – icarus74
                                            Jan 19 '15 at 12:26










                                          • Gotta love Genymotion as stock emulators consume too much resources as they are constantly heating up my beatup laptop running on Ubuntu.
                                            – thethakuri
                                            May 24 '15 at 16:03






                                          • 1




                                            I do not have genymotion installed in my system. How do I fix this?
                                            – arka.b
                                            Sep 4 '15 at 10:18






                                          • 7




                                            Any genymotion emulator must be closed before running commands above.
                                            – Robert
                                            Mar 20 '16 at 15:33
















                                          • Thank You Aditya!!! finally a decent answer. It started after updating android studio. I was going crazy with this one, reinstalled the sdk and everything. I thought it was a bug in the new version.
                                            – TacoEater
                                            Dec 24 '14 at 20:19






                                          • 1




                                            Only this helped ! There's a tiny tool called 'adbfix', which gave me the hint that this could be a path related problem, but actually did nothing to fix the problem.
                                            – icarus74
                                            Jan 19 '15 at 12:26










                                          • Gotta love Genymotion as stock emulators consume too much resources as they are constantly heating up my beatup laptop running on Ubuntu.
                                            – thethakuri
                                            May 24 '15 at 16:03






                                          • 1




                                            I do not have genymotion installed in my system. How do I fix this?
                                            – arka.b
                                            Sep 4 '15 at 10:18






                                          • 7




                                            Any genymotion emulator must be closed before running commands above.
                                            – Robert
                                            Mar 20 '16 at 15:33















                                          Thank You Aditya!!! finally a decent answer. It started after updating android studio. I was going crazy with this one, reinstalled the sdk and everything. I thought it was a bug in the new version.
                                          – TacoEater
                                          Dec 24 '14 at 20:19




                                          Thank You Aditya!!! finally a decent answer. It started after updating android studio. I was going crazy with this one, reinstalled the sdk and everything. I thought it was a bug in the new version.
                                          – TacoEater
                                          Dec 24 '14 at 20:19




                                          1




                                          1




                                          Only this helped ! There's a tiny tool called 'adbfix', which gave me the hint that this could be a path related problem, but actually did nothing to fix the problem.
                                          – icarus74
                                          Jan 19 '15 at 12:26




                                          Only this helped ! There's a tiny tool called 'adbfix', which gave me the hint that this could be a path related problem, but actually did nothing to fix the problem.
                                          – icarus74
                                          Jan 19 '15 at 12:26












                                          Gotta love Genymotion as stock emulators consume too much resources as they are constantly heating up my beatup laptop running on Ubuntu.
                                          – thethakuri
                                          May 24 '15 at 16:03




                                          Gotta love Genymotion as stock emulators consume too much resources as they are constantly heating up my beatup laptop running on Ubuntu.
                                          – thethakuri
                                          May 24 '15 at 16:03




                                          1




                                          1




                                          I do not have genymotion installed in my system. How do I fix this?
                                          – arka.b
                                          Sep 4 '15 at 10:18




                                          I do not have genymotion installed in my system. How do I fix this?
                                          – arka.b
                                          Sep 4 '15 at 10:18




                                          7




                                          7




                                          Any genymotion emulator must be closed before running commands above.
                                          – Robert
                                          Mar 20 '16 at 15:33




                                          Any genymotion emulator must be closed before running commands above.
                                          – Robert
                                          Mar 20 '16 at 15:33













                                          59














                                          I uninstalled Dell PC Suite and HTC Sync from my computer and this problem went away.



                                          EDIT: To elaborate a bit on the cause of this problem: HTC sync comes with an ADB server of its own. And it updates your PATH environment variable to point to its version of the server. Edit the PATH variable and remove the reference to the HTC Sync directories. Now you're using Google's ADB again.






                                          share|improve this answer


















                                          • 1




                                            This problem is in my mac os-x apple device.
                                            – Ritesh Kumar Singh
                                            Mar 12 '15 at 5:35






                                          • 3




                                            HTC Sync was the issue. It continuously runs in the background, causing conflicts with adb.exe
                                            – rharvey
                                            Aug 12 '15 at 8:47










                                          • HTC Sync was my issue as well. Thanks for this!
                                            – Rob
                                            Oct 8 '16 at 18:12










                                          • LG AirBridge caused the problem for me - uninstalling that and then running adb start-server worked.
                                            – jamsandwich
                                            Dec 12 '16 at 22:56















                                          59














                                          I uninstalled Dell PC Suite and HTC Sync from my computer and this problem went away.



                                          EDIT: To elaborate a bit on the cause of this problem: HTC sync comes with an ADB server of its own. And it updates your PATH environment variable to point to its version of the server. Edit the PATH variable and remove the reference to the HTC Sync directories. Now you're using Google's ADB again.






                                          share|improve this answer


















                                          • 1




                                            This problem is in my mac os-x apple device.
                                            – Ritesh Kumar Singh
                                            Mar 12 '15 at 5:35






                                          • 3




                                            HTC Sync was the issue. It continuously runs in the background, causing conflicts with adb.exe
                                            – rharvey
                                            Aug 12 '15 at 8:47










                                          • HTC Sync was my issue as well. Thanks for this!
                                            – Rob
                                            Oct 8 '16 at 18:12










                                          • LG AirBridge caused the problem for me - uninstalling that and then running adb start-server worked.
                                            – jamsandwich
                                            Dec 12 '16 at 22:56













                                          59












                                          59








                                          59






                                          I uninstalled Dell PC Suite and HTC Sync from my computer and this problem went away.



                                          EDIT: To elaborate a bit on the cause of this problem: HTC sync comes with an ADB server of its own. And it updates your PATH environment variable to point to its version of the server. Edit the PATH variable and remove the reference to the HTC Sync directories. Now you're using Google's ADB again.






                                          share|improve this answer














                                          I uninstalled Dell PC Suite and HTC Sync from my computer and this problem went away.



                                          EDIT: To elaborate a bit on the cause of this problem: HTC sync comes with an ADB server of its own. And it updates your PATH environment variable to point to its version of the server. Edit the PATH variable and remove the reference to the HTC Sync directories. Now you're using Google's ADB again.







                                          share|improve this answer














                                          share|improve this answer



                                          share|improve this answer








                                          edited Sep 20 '11 at 15:00









                                          Vaiden

                                          9,09833864




                                          9,09833864










                                          answered Mar 13 '11 at 13:04









                                          Arunabh Das

                                          6,118136286




                                          6,118136286







                                          • 1




                                            This problem is in my mac os-x apple device.
                                            – Ritesh Kumar Singh
                                            Mar 12 '15 at 5:35






                                          • 3




                                            HTC Sync was the issue. It continuously runs in the background, causing conflicts with adb.exe
                                            – rharvey
                                            Aug 12 '15 at 8:47










                                          • HTC Sync was my issue as well. Thanks for this!
                                            – Rob
                                            Oct 8 '16 at 18:12










                                          • LG AirBridge caused the problem for me - uninstalling that and then running adb start-server worked.
                                            – jamsandwich
                                            Dec 12 '16 at 22:56












                                          • 1




                                            This problem is in my mac os-x apple device.
                                            – Ritesh Kumar Singh
                                            Mar 12 '15 at 5:35






                                          • 3




                                            HTC Sync was the issue. It continuously runs in the background, causing conflicts with adb.exe
                                            – rharvey
                                            Aug 12 '15 at 8:47










                                          • HTC Sync was my issue as well. Thanks for this!
                                            – Rob
                                            Oct 8 '16 at 18:12










                                          • LG AirBridge caused the problem for me - uninstalling that and then running adb start-server worked.
                                            – jamsandwich
                                            Dec 12 '16 at 22:56







                                          1




                                          1




                                          This problem is in my mac os-x apple device.
                                          – Ritesh Kumar Singh
                                          Mar 12 '15 at 5:35




                                          This problem is in my mac os-x apple device.
                                          – Ritesh Kumar Singh
                                          Mar 12 '15 at 5:35




                                          3




                                          3




                                          HTC Sync was the issue. It continuously runs in the background, causing conflicts with adb.exe
                                          – rharvey
                                          Aug 12 '15 at 8:47




                                          HTC Sync was the issue. It continuously runs in the background, causing conflicts with adb.exe
                                          – rharvey
                                          Aug 12 '15 at 8:47












                                          HTC Sync was my issue as well. Thanks for this!
                                          – Rob
                                          Oct 8 '16 at 18:12




                                          HTC Sync was my issue as well. Thanks for this!
                                          – Rob
                                          Oct 8 '16 at 18:12












                                          LG AirBridge caused the problem for me - uninstalling that and then running adb start-server worked.
                                          – jamsandwich
                                          Dec 12 '16 at 22:56




                                          LG AirBridge caused the problem for me - uninstalling that and then running adb start-server worked.
                                          – jamsandwich
                                          Dec 12 '16 at 22:56











                                          23














                                          I find I occasionally need to explicitly kill and restart the server manually:



                                          adb kill-server
                                          adb start-server


                                          This shock is generally enough to get it back on its feet again, and prevents repeated adb server is out of date. killing... messages.






                                          share|improve this answer
















                                          • 41




                                            Killing and restarting did not work for me.
                                            – Arunabh Das
                                            Feb 23 '11 at 21:29










                                          • Killing and restarting seems to have worked for me; however I am now getting the error message "error: more than one device and emulator" when I do: "adb tcpip 5555" as per accepted answer's instructions.
                                            – jay_t55
                                            Jan 6 '15 at 11:57










                                          • In my case, there are multiple processes of adb running so I do multiple calls to adb kill-server until it says" daemon not running..."
                                            – mr5
                                            Oct 22 at 6:01















                                          23














                                          I find I occasionally need to explicitly kill and restart the server manually:



                                          adb kill-server
                                          adb start-server


                                          This shock is generally enough to get it back on its feet again, and prevents repeated adb server is out of date. killing... messages.






                                          share|improve this answer
















                                          • 41




                                            Killing and restarting did not work for me.
                                            – Arunabh Das
                                            Feb 23 '11 at 21:29










                                          • Killing and restarting seems to have worked for me; however I am now getting the error message "error: more than one device and emulator" when I do: "adb tcpip 5555" as per accepted answer's instructions.
                                            – jay_t55
                                            Jan 6 '15 at 11:57










                                          • In my case, there are multiple processes of adb running so I do multiple calls to adb kill-server until it says" daemon not running..."
                                            – mr5
                                            Oct 22 at 6:01













                                          23












                                          23








                                          23






                                          I find I occasionally need to explicitly kill and restart the server manually:



                                          adb kill-server
                                          adb start-server


                                          This shock is generally enough to get it back on its feet again, and prevents repeated adb server is out of date. killing... messages.






                                          share|improve this answer












                                          I find I occasionally need to explicitly kill and restart the server manually:



                                          adb kill-server
                                          adb start-server


                                          This shock is generally enough to get it back on its feet again, and prevents repeated adb server is out of date. killing... messages.







                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Feb 23 '11 at 16:04









                                          Andy

                                          13.4k83766




                                          13.4k83766







                                          • 41




                                            Killing and restarting did not work for me.
                                            – Arunabh Das
                                            Feb 23 '11 at 21:29










                                          • Killing and restarting seems to have worked for me; however I am now getting the error message "error: more than one device and emulator" when I do: "adb tcpip 5555" as per accepted answer's instructions.
                                            – jay_t55
                                            Jan 6 '15 at 11:57










                                          • In my case, there are multiple processes of adb running so I do multiple calls to adb kill-server until it says" daemon not running..."
                                            – mr5
                                            Oct 22 at 6:01












                                          • 41




                                            Killing and restarting did not work for me.
                                            – Arunabh Das
                                            Feb 23 '11 at 21:29










                                          • Killing and restarting seems to have worked for me; however I am now getting the error message "error: more than one device and emulator" when I do: "adb tcpip 5555" as per accepted answer's instructions.
                                            – jay_t55
                                            Jan 6 '15 at 11:57










                                          • In my case, there are multiple processes of adb running so I do multiple calls to adb kill-server until it says" daemon not running..."
                                            – mr5
                                            Oct 22 at 6:01







                                          41




                                          41




                                          Killing and restarting did not work for me.
                                          – Arunabh Das
                                          Feb 23 '11 at 21:29




                                          Killing and restarting did not work for me.
                                          – Arunabh Das
                                          Feb 23 '11 at 21:29












                                          Killing and restarting seems to have worked for me; however I am now getting the error message "error: more than one device and emulator" when I do: "adb tcpip 5555" as per accepted answer's instructions.
                                          – jay_t55
                                          Jan 6 '15 at 11:57




                                          Killing and restarting seems to have worked for me; however I am now getting the error message "error: more than one device and emulator" when I do: "adb tcpip 5555" as per accepted answer's instructions.
                                          – jay_t55
                                          Jan 6 '15 at 11:57












                                          In my case, there are multiple processes of adb running so I do multiple calls to adb kill-server until it says" daemon not running..."
                                          – mr5
                                          Oct 22 at 6:01




                                          In my case, there are multiple processes of adb running so I do multiple calls to adb kill-server until it says" daemon not running..."
                                          – mr5
                                          Oct 22 at 6:01











                                          17














                                          In my machine (Ubuntu 14.04 and Genymotion 2.5.2) the source of the problem was that, I had 2 adb files of different versions.



                                          (Before, narrowing down this problem source, I already had Genymotion's Settings > "Use custom Android SDK tools" referring to my machine's installed Android SDK directory as advised by Aditya Kresna Permana. I also tried with killing and starting the adb server and few other solutions from around the web).



                                          Then saw, that running adb versionfrom my Android SDK installation directory “~/Android/Sdk/platform-tools” produced - "Android Debug Bridge version 1.0.32"



                                          But, adb version command from “/usr/bin” directory produced- “Android Debug Bridge version 1.0.31"



                                          So just followed - http://bernaerts.dyndns.org/linux/74-ubuntu/328-ubuntu-trusty-android-adb-fastboot-qtadb to update the adb in “/usr/bin”



                                          # adb version
                                          Android Debug Bridge version 1.0.31
                                          # wget -O - https://skia.googlesource.com/skia/+archive/cd048d18e0b81338c1a04b9749a00444597df394/platform_tools/android/bin/linux.tar.gz | tar -zxvf - adb
                                          # sudo mv adb /usr/bin/adb
                                          # sudo chmod +x /usr/bin/adb
                                          # adb version
                                          Android Debug Bridge version 1.0.32


                                          And now running adb devices works perfectly as expected.



                                          And it also solved the associated problem that, before my PhoneGap (Cordova) app was not getting integrated with the Genymotion's virtual device. Now obviously that problem solved as well.






                                          share|improve this answer




















                                          • Thank you so much. Saved my time. This one works perfectly fine on ubuntu 14.04. Would like to know how did you get the wget url of adb? @Rohan_Paul
                                            – Akbar Sha Ebrahim
                                            Feb 29 '16 at 6:54










                                          • How can you get this to work on a mac?
                                            – Jay Smoke
                                            May 16 '17 at 23:05










                                          • i am getting this now : bash: /usr/bin/adb: No such file or directory
                                            – Tushar Saha
                                            Jul 13 at 9:05















                                          17














                                          In my machine (Ubuntu 14.04 and Genymotion 2.5.2) the source of the problem was that, I had 2 adb files of different versions.



                                          (Before, narrowing down this problem source, I already had Genymotion's Settings > "Use custom Android SDK tools" referring to my machine's installed Android SDK directory as advised by Aditya Kresna Permana. I also tried with killing and starting the adb server and few other solutions from around the web).



                                          Then saw, that running adb versionfrom my Android SDK installation directory “~/Android/Sdk/platform-tools” produced - "Android Debug Bridge version 1.0.32"



                                          But, adb version command from “/usr/bin” directory produced- “Android Debug Bridge version 1.0.31"



                                          So just followed - http://bernaerts.dyndns.org/linux/74-ubuntu/328-ubuntu-trusty-android-adb-fastboot-qtadb to update the adb in “/usr/bin”



                                          # adb version
                                          Android Debug Bridge version 1.0.31
                                          # wget -O - https://skia.googlesource.com/skia/+archive/cd048d18e0b81338c1a04b9749a00444597df394/platform_tools/android/bin/linux.tar.gz | tar -zxvf - adb
                                          # sudo mv adb /usr/bin/adb
                                          # sudo chmod +x /usr/bin/adb
                                          # adb version
                                          Android Debug Bridge version 1.0.32


                                          And now running adb devices works perfectly as expected.



                                          And it also solved the associated problem that, before my PhoneGap (Cordova) app was not getting integrated with the Genymotion's virtual device. Now obviously that problem solved as well.






                                          share|improve this answer




















                                          • Thank you so much. Saved my time. This one works perfectly fine on ubuntu 14.04. Would like to know how did you get the wget url of adb? @Rohan_Paul
                                            – Akbar Sha Ebrahim
                                            Feb 29 '16 at 6:54










                                          • How can you get this to work on a mac?
                                            – Jay Smoke
                                            May 16 '17 at 23:05










                                          • i am getting this now : bash: /usr/bin/adb: No such file or directory
                                            – Tushar Saha
                                            Jul 13 at 9:05













                                          17












                                          17








                                          17






                                          In my machine (Ubuntu 14.04 and Genymotion 2.5.2) the source of the problem was that, I had 2 adb files of different versions.



                                          (Before, narrowing down this problem source, I already had Genymotion's Settings > "Use custom Android SDK tools" referring to my machine's installed Android SDK directory as advised by Aditya Kresna Permana. I also tried with killing and starting the adb server and few other solutions from around the web).



                                          Then saw, that running adb versionfrom my Android SDK installation directory “~/Android/Sdk/platform-tools” produced - "Android Debug Bridge version 1.0.32"



                                          But, adb version command from “/usr/bin” directory produced- “Android Debug Bridge version 1.0.31"



                                          So just followed - http://bernaerts.dyndns.org/linux/74-ubuntu/328-ubuntu-trusty-android-adb-fastboot-qtadb to update the adb in “/usr/bin”



                                          # adb version
                                          Android Debug Bridge version 1.0.31
                                          # wget -O - https://skia.googlesource.com/skia/+archive/cd048d18e0b81338c1a04b9749a00444597df394/platform_tools/android/bin/linux.tar.gz | tar -zxvf - adb
                                          # sudo mv adb /usr/bin/adb
                                          # sudo chmod +x /usr/bin/adb
                                          # adb version
                                          Android Debug Bridge version 1.0.32


                                          And now running adb devices works perfectly as expected.



                                          And it also solved the associated problem that, before my PhoneGap (Cordova) app was not getting integrated with the Genymotion's virtual device. Now obviously that problem solved as well.






                                          share|improve this answer












                                          In my machine (Ubuntu 14.04 and Genymotion 2.5.2) the source of the problem was that, I had 2 adb files of different versions.



                                          (Before, narrowing down this problem source, I already had Genymotion's Settings > "Use custom Android SDK tools" referring to my machine's installed Android SDK directory as advised by Aditya Kresna Permana. I also tried with killing and starting the adb server and few other solutions from around the web).



                                          Then saw, that running adb versionfrom my Android SDK installation directory “~/Android/Sdk/platform-tools” produced - "Android Debug Bridge version 1.0.32"



                                          But, adb version command from “/usr/bin” directory produced- “Android Debug Bridge version 1.0.31"



                                          So just followed - http://bernaerts.dyndns.org/linux/74-ubuntu/328-ubuntu-trusty-android-adb-fastboot-qtadb to update the adb in “/usr/bin”



                                          # adb version
                                          Android Debug Bridge version 1.0.31
                                          # wget -O - https://skia.googlesource.com/skia/+archive/cd048d18e0b81338c1a04b9749a00444597df394/platform_tools/android/bin/linux.tar.gz | tar -zxvf - adb
                                          # sudo mv adb /usr/bin/adb
                                          # sudo chmod +x /usr/bin/adb
                                          # adb version
                                          Android Debug Bridge version 1.0.32


                                          And now running adb devices works perfectly as expected.



                                          And it also solved the associated problem that, before my PhoneGap (Cordova) app was not getting integrated with the Genymotion's virtual device. Now obviously that problem solved as well.







                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Jul 25 '15 at 13:26









                                          Rohan_Paul

                                          6921015




                                          6921015











                                          • Thank you so much. Saved my time. This one works perfectly fine on ubuntu 14.04. Would like to know how did you get the wget url of adb? @Rohan_Paul
                                            – Akbar Sha Ebrahim
                                            Feb 29 '16 at 6:54










                                          • How can you get this to work on a mac?
                                            – Jay Smoke
                                            May 16 '17 at 23:05










                                          • i am getting this now : bash: /usr/bin/adb: No such file or directory
                                            – Tushar Saha
                                            Jul 13 at 9:05
















                                          • Thank you so much. Saved my time. This one works perfectly fine on ubuntu 14.04. Would like to know how did you get the wget url of adb? @Rohan_Paul
                                            – Akbar Sha Ebrahim
                                            Feb 29 '16 at 6:54










                                          • How can you get this to work on a mac?
                                            – Jay Smoke
                                            May 16 '17 at 23:05










                                          • i am getting this now : bash: /usr/bin/adb: No such file or directory
                                            – Tushar Saha
                                            Jul 13 at 9:05















                                          Thank you so much. Saved my time. This one works perfectly fine on ubuntu 14.04. Would like to know how did you get the wget url of adb? @Rohan_Paul
                                          – Akbar Sha Ebrahim
                                          Feb 29 '16 at 6:54




                                          Thank you so much. Saved my time. This one works perfectly fine on ubuntu 14.04. Would like to know how did you get the wget url of adb? @Rohan_Paul
                                          – Akbar Sha Ebrahim
                                          Feb 29 '16 at 6:54












                                          How can you get this to work on a mac?
                                          – Jay Smoke
                                          May 16 '17 at 23:05




                                          How can you get this to work on a mac?
                                          – Jay Smoke
                                          May 16 '17 at 23:05












                                          i am getting this now : bash: /usr/bin/adb: No such file or directory
                                          – Tushar Saha
                                          Jul 13 at 9:05




                                          i am getting this now : bash: /usr/bin/adb: No such file or directory
                                          – Tushar Saha
                                          Jul 13 at 9:05











                                          16














                                          Ensure that there are no other adb processes running



                                          There may be more than one adb process running on the system. Tools such as the Android Reverse Tether may use their own version of the adb tool, hence the version in memory may conflict with the version run from the command line (via the path variable).



                                          Windows



                                          In Windows, press CTL+Shift+ESC to access Task Manager, sort in the Image Name column, then kill all instances of adb.exe by right-clicking, and choosing End Process. Note that there are multiple instances of adb.exe below:



                                          Multiple adb.exe instances - how to kill



                                          Linux (Android)



                                          In a Linux environment, just use the kill -9 command. Something like this worked on an Android device running adb (use ps output, search using grep for a process starting with adb, get the Process ID from the adb process(es), and send that ID to the kill -9 command):



                                          kill -9 $(ps | grep "S adb" | busybox awk 'print $2')



                                          Then, restart adb



                                          Once the adb processes - and thus conflicts - are resolved, then retry running adb from the command-line again:



                                          adb start-server





                                          share|improve this answer




















                                          • In my case, I found out that another instance of adb was running as part of GapDebug. Stopping GapDebug, killing the running adb process and calling ./adb start-server in ~/Library/Android/sdk//platform-tools solved it.
                                            – Gwened
                                            Feb 7 '16 at 16:49
















                                          16














                                          Ensure that there are no other adb processes running



                                          There may be more than one adb process running on the system. Tools such as the Android Reverse Tether may use their own version of the adb tool, hence the version in memory may conflict with the version run from the command line (via the path variable).



                                          Windows



                                          In Windows, press CTL+Shift+ESC to access Task Manager, sort in the Image Name column, then kill all instances of adb.exe by right-clicking, and choosing End Process. Note that there are multiple instances of adb.exe below:



                                          Multiple adb.exe instances - how to kill



                                          Linux (Android)



                                          In a Linux environment, just use the kill -9 command. Something like this worked on an Android device running adb (use ps output, search using grep for a process starting with adb, get the Process ID from the adb process(es), and send that ID to the kill -9 command):



                                          kill -9 $(ps | grep "S adb" | busybox awk 'print $2')



                                          Then, restart adb



                                          Once the adb processes - and thus conflicts - are resolved, then retry running adb from the command-line again:



                                          adb start-server





                                          share|improve this answer




















                                          • In my case, I found out that another instance of adb was running as part of GapDebug. Stopping GapDebug, killing the running adb process and calling ./adb start-server in ~/Library/Android/sdk//platform-tools solved it.
                                            – Gwened
                                            Feb 7 '16 at 16:49














                                          16












                                          16








                                          16






                                          Ensure that there are no other adb processes running



                                          There may be more than one adb process running on the system. Tools such as the Android Reverse Tether may use their own version of the adb tool, hence the version in memory may conflict with the version run from the command line (via the path variable).



                                          Windows



                                          In Windows, press CTL+Shift+ESC to access Task Manager, sort in the Image Name column, then kill all instances of adb.exe by right-clicking, and choosing End Process. Note that there are multiple instances of adb.exe below:



                                          Multiple adb.exe instances - how to kill



                                          Linux (Android)



                                          In a Linux environment, just use the kill -9 command. Something like this worked on an Android device running adb (use ps output, search using grep for a process starting with adb, get the Process ID from the adb process(es), and send that ID to the kill -9 command):



                                          kill -9 $(ps | grep "S adb" | busybox awk 'print $2')



                                          Then, restart adb



                                          Once the adb processes - and thus conflicts - are resolved, then retry running adb from the command-line again:



                                          adb start-server





                                          share|improve this answer












                                          Ensure that there are no other adb processes running



                                          There may be more than one adb process running on the system. Tools such as the Android Reverse Tether may use their own version of the adb tool, hence the version in memory may conflict with the version run from the command line (via the path variable).



                                          Windows



                                          In Windows, press CTL+Shift+ESC to access Task Manager, sort in the Image Name column, then kill all instances of adb.exe by right-clicking, and choosing End Process. Note that there are multiple instances of adb.exe below:



                                          Multiple adb.exe instances - how to kill



                                          Linux (Android)



                                          In a Linux environment, just use the kill -9 command. Something like this worked on an Android device running adb (use ps output, search using grep for a process starting with adb, get the Process ID from the adb process(es), and send that ID to the kill -9 command):



                                          kill -9 $(ps | grep "S adb" | busybox awk 'print $2')



                                          Then, restart adb



                                          Once the adb processes - and thus conflicts - are resolved, then retry running adb from the command-line again:



                                          adb start-server






                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Mar 30 '15 at 23:32









                                          CJBS

                                          9,24445396




                                          9,24445396











                                          • In my case, I found out that another instance of adb was running as part of GapDebug. Stopping GapDebug, killing the running adb process and calling ./adb start-server in ~/Library/Android/sdk//platform-tools solved it.
                                            – Gwened
                                            Feb 7 '16 at 16:49

















                                          • In my case, I found out that another instance of adb was running as part of GapDebug. Stopping GapDebug, killing the running adb process and calling ./adb start-server in ~/Library/Android/sdk//platform-tools solved it.
                                            – Gwened
                                            Feb 7 '16 at 16:49
















                                          In my case, I found out that another instance of adb was running as part of GapDebug. Stopping GapDebug, killing the running adb process and calling ./adb start-server in ~/Library/Android/sdk//platform-tools solved it.
                                          – Gwened
                                          Feb 7 '16 at 16:49





                                          In my case, I found out that another instance of adb was running as part of GapDebug. Stopping GapDebug, killing the running adb process and calling ./adb start-server in ~/Library/Android/sdk//platform-tools solved it.
                                          – Gwened
                                          Feb 7 '16 at 16:49












                                          15














                                          I just exited HTC Sync, tried again, and it worked.
                                          Notice: Phone went black(locked), I just turned it on, and there was my application running. :)






                                          share|improve this answer




















                                          • I had the same problem with ZTE Sync, I removed it and my devices were displayed.
                                            – ovejaexiste
                                            Mar 4 '15 at 14:27















                                          15














                                          I just exited HTC Sync, tried again, and it worked.
                                          Notice: Phone went black(locked), I just turned it on, and there was my application running. :)






                                          share|improve this answer




















                                          • I had the same problem with ZTE Sync, I removed it and my devices were displayed.
                                            – ovejaexiste
                                            Mar 4 '15 at 14:27













                                          15












                                          15








                                          15






                                          I just exited HTC Sync, tried again, and it worked.
                                          Notice: Phone went black(locked), I just turned it on, and there was my application running. :)






                                          share|improve this answer












                                          I just exited HTC Sync, tried again, and it worked.
                                          Notice: Phone went black(locked), I just turned it on, and there was my application running. :)







                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Jul 1 '11 at 22:50









                                          Nemi

                                          865617




                                          865617











                                          • I had the same problem with ZTE Sync, I removed it and my devices were displayed.
                                            – ovejaexiste
                                            Mar 4 '15 at 14:27
















                                          • I had the same problem with ZTE Sync, I removed it and my devices were displayed.
                                            – ovejaexiste
                                            Mar 4 '15 at 14:27















                                          I had the same problem with ZTE Sync, I removed it and my devices were displayed.
                                          – ovejaexiste
                                          Mar 4 '15 at 14:27




                                          I had the same problem with ZTE Sync, I removed it and my devices were displayed.
                                          – ovejaexiste
                                          Mar 4 '15 at 14:27











                                          9














                                          System: Windows 10



                                          My issue:
                                          Setting Genymotion to point to the custom SDK didn't have any affect. I still received the:




                                          Couldn't start project on Android: could not install smartsocket
                                          listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket
                                          address (protocol/network address/port) is normally permitted. (10048)
                                          could not read ok from ADB Server
                                          * failed to start daemon * error: cannot connect to daemon




                                          What I discovered was there was a difference in ADB versions being used throughout the system. Here is the command I used to find them:



                                          where /r C: adb.exe


                                          This produced the results:



                                          C:Program FilesExpo XDEresourcesappnode_modulesxdlbinarieswindowsadbadb.exe
                                          C:Program FilesGenymobileGenymotiontoolsadb.exe
                                          C:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe
                                          C:UserskyleAppDataLocalAndroidSdkplatform-toolsadb backupadb.exe


                                          Navigating to each directory and running:



                                          adb.exe version


                                          Allowed me to see that Expo was running ADB version:



                                          Android Debug Bridge version 1.0.36
                                          Revision fd9e4d07b0f5-android


                                          While Genymotion using the custom SDK had version (c:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe):



                                          Android Debug Bridge version 1.0.39
                                          Revision 3db08f2c6889-android


                                          As a test I took the adb files (adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll) from



                                          c:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe


                                          and placed them into a backup folder. I then moved the adb files located at



                                          c:Program FilesExpo XDEresourcesappnode_modulesxdlbinarieswindowsadbadb.exe


                                          into that same location. I killed adb with:



                                          adb kill-server


                                          which caused a restart of the adb server automatically due to having my Genymotion device already running. I hit the "Restart" button inside of the Expo XDE and it immediately began working. Here is the log where I hit the restart button at 1:13:04 AM:



                                          12:45:53 AM
                                          could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket address (protocol/network address/port) is normally permitted. (10048)
                                          could not read ok from ADB Server
                                          * failed to start daemon *
                                          error: cannot connect to daemon
                                          1:13:04 AM
                                          Restarting project and clearing packager cache (Hold shift while clicking restart to avoid clearing cache).
                                          1:13:11 AM
                                          Starting React Native packager...
                                          1:13:17 AM
                                          Scanning 543 folders for symlinks in C:Userskylegitbetalognode_modules (49ms)
                                          1:13:17 AM
                                          1:13:19 AM
                                          Couldn't adb reverse: closed
                                          1:13:20 AM
                                          Project opened! You can now use the "Share" or "Device" buttons to view your project.
                                          1:13:26 AM
                                          Couldn't adb reverse: closed
                                          1:13:26 AM
                                          Downloading latest version of Expo
                                          1:13:28 AM
                                          Installing Expo on device
                                          1:13:33 AM
                                          Opening on Android device
                                          1:13:56 AM
                                          Building JavaScript bundle: finished in 59643ms.
                                          1:14:01 AM
                                          Dependency graph loaded.
                                          1:14:03 AM
                                          Your JavaScript transform cache is empty, rebuilding (this may take a minute).


                                          Conclusion: Genymotion and Expo may need to use the same version of adb so that Expo can properly communicate with the simulated device. Pointing Genymotion to your android SDK location as well as ensuring Expo XDE has that same version will allow correct communication between devices. I moved the Expo XDE version to the SDK location, but you might be able to go the other way (take the sdk ADB files and place them in the Expo XDE resource location).



                                          P.S.
                                          I've been all through the stackoverflow posts related to this issue. Just so you guys know my task manager shows three instances of adb.exe running. If you kill any of them they just come back.



                                          Hope this helps /cheers






                                          share|improve this answer
















                                          • 1




                                            This works for me.
                                            – yogen darji
                                            Jun 20 at 11:51






                                          • 1




                                            This resolved my first problem after a number of hours (thanks mate). The next problem was the emulated device was not authorised (adb devices) which took me less time to resolve.
                                            – Jonathan
                                            Oct 29 at 21:36















                                          9














                                          System: Windows 10



                                          My issue:
                                          Setting Genymotion to point to the custom SDK didn't have any affect. I still received the:




                                          Couldn't start project on Android: could not install smartsocket
                                          listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket
                                          address (protocol/network address/port) is normally permitted. (10048)
                                          could not read ok from ADB Server
                                          * failed to start daemon * error: cannot connect to daemon




                                          What I discovered was there was a difference in ADB versions being used throughout the system. Here is the command I used to find them:



                                          where /r C: adb.exe


                                          This produced the results:



                                          C:Program FilesExpo XDEresourcesappnode_modulesxdlbinarieswindowsadbadb.exe
                                          C:Program FilesGenymobileGenymotiontoolsadb.exe
                                          C:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe
                                          C:UserskyleAppDataLocalAndroidSdkplatform-toolsadb backupadb.exe


                                          Navigating to each directory and running:



                                          adb.exe version


                                          Allowed me to see that Expo was running ADB version:



                                          Android Debug Bridge version 1.0.36
                                          Revision fd9e4d07b0f5-android


                                          While Genymotion using the custom SDK had version (c:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe):



                                          Android Debug Bridge version 1.0.39
                                          Revision 3db08f2c6889-android


                                          As a test I took the adb files (adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll) from



                                          c:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe


                                          and placed them into a backup folder. I then moved the adb files located at



                                          c:Program FilesExpo XDEresourcesappnode_modulesxdlbinarieswindowsadbadb.exe


                                          into that same location. I killed adb with:



                                          adb kill-server


                                          which caused a restart of the adb server automatically due to having my Genymotion device already running. I hit the "Restart" button inside of the Expo XDE and it immediately began working. Here is the log where I hit the restart button at 1:13:04 AM:



                                          12:45:53 AM
                                          could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket address (protocol/network address/port) is normally permitted. (10048)
                                          could not read ok from ADB Server
                                          * failed to start daemon *
                                          error: cannot connect to daemon
                                          1:13:04 AM
                                          Restarting project and clearing packager cache (Hold shift while clicking restart to avoid clearing cache).
                                          1:13:11 AM
                                          Starting React Native packager...
                                          1:13:17 AM
                                          Scanning 543 folders for symlinks in C:Userskylegitbetalognode_modules (49ms)
                                          1:13:17 AM
                                          1:13:19 AM
                                          Couldn't adb reverse: closed
                                          1:13:20 AM
                                          Project opened! You can now use the "Share" or "Device" buttons to view your project.
                                          1:13:26 AM
                                          Couldn't adb reverse: closed
                                          1:13:26 AM
                                          Downloading latest version of Expo
                                          1:13:28 AM
                                          Installing Expo on device
                                          1:13:33 AM
                                          Opening on Android device
                                          1:13:56 AM
                                          Building JavaScript bundle: finished in 59643ms.
                                          1:14:01 AM
                                          Dependency graph loaded.
                                          1:14:03 AM
                                          Your JavaScript transform cache is empty, rebuilding (this may take a minute).


                                          Conclusion: Genymotion and Expo may need to use the same version of adb so that Expo can properly communicate with the simulated device. Pointing Genymotion to your android SDK location as well as ensuring Expo XDE has that same version will allow correct communication between devices. I moved the Expo XDE version to the SDK location, but you might be able to go the other way (take the sdk ADB files and place them in the Expo XDE resource location).



                                          P.S.
                                          I've been all through the stackoverflow posts related to this issue. Just so you guys know my task manager shows three instances of adb.exe running. If you kill any of them they just come back.



                                          Hope this helps /cheers






                                          share|improve this answer
















                                          • 1




                                            This works for me.
                                            – yogen darji
                                            Jun 20 at 11:51






                                          • 1




                                            This resolved my first problem after a number of hours (thanks mate). The next problem was the emulated device was not authorised (adb devices) which took me less time to resolve.
                                            – Jonathan
                                            Oct 29 at 21:36













                                          9












                                          9








                                          9






                                          System: Windows 10



                                          My issue:
                                          Setting Genymotion to point to the custom SDK didn't have any affect. I still received the:




                                          Couldn't start project on Android: could not install smartsocket
                                          listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket
                                          address (protocol/network address/port) is normally permitted. (10048)
                                          could not read ok from ADB Server
                                          * failed to start daemon * error: cannot connect to daemon




                                          What I discovered was there was a difference in ADB versions being used throughout the system. Here is the command I used to find them:



                                          where /r C: adb.exe


                                          This produced the results:



                                          C:Program FilesExpo XDEresourcesappnode_modulesxdlbinarieswindowsadbadb.exe
                                          C:Program FilesGenymobileGenymotiontoolsadb.exe
                                          C:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe
                                          C:UserskyleAppDataLocalAndroidSdkplatform-toolsadb backupadb.exe


                                          Navigating to each directory and running:



                                          adb.exe version


                                          Allowed me to see that Expo was running ADB version:



                                          Android Debug Bridge version 1.0.36
                                          Revision fd9e4d07b0f5-android


                                          While Genymotion using the custom SDK had version (c:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe):



                                          Android Debug Bridge version 1.0.39
                                          Revision 3db08f2c6889-android


                                          As a test I took the adb files (adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll) from



                                          c:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe


                                          and placed them into a backup folder. I then moved the adb files located at



                                          c:Program FilesExpo XDEresourcesappnode_modulesxdlbinarieswindowsadbadb.exe


                                          into that same location. I killed adb with:



                                          adb kill-server


                                          which caused a restart of the adb server automatically due to having my Genymotion device already running. I hit the "Restart" button inside of the Expo XDE and it immediately began working. Here is the log where I hit the restart button at 1:13:04 AM:



                                          12:45:53 AM
                                          could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket address (protocol/network address/port) is normally permitted. (10048)
                                          could not read ok from ADB Server
                                          * failed to start daemon *
                                          error: cannot connect to daemon
                                          1:13:04 AM
                                          Restarting project and clearing packager cache (Hold shift while clicking restart to avoid clearing cache).
                                          1:13:11 AM
                                          Starting React Native packager...
                                          1:13:17 AM
                                          Scanning 543 folders for symlinks in C:Userskylegitbetalognode_modules (49ms)
                                          1:13:17 AM
                                          1:13:19 AM
                                          Couldn't adb reverse: closed
                                          1:13:20 AM
                                          Project opened! You can now use the "Share" or "Device" buttons to view your project.
                                          1:13:26 AM
                                          Couldn't adb reverse: closed
                                          1:13:26 AM
                                          Downloading latest version of Expo
                                          1:13:28 AM
                                          Installing Expo on device
                                          1:13:33 AM
                                          Opening on Android device
                                          1:13:56 AM
                                          Building JavaScript bundle: finished in 59643ms.
                                          1:14:01 AM
                                          Dependency graph loaded.
                                          1:14:03 AM
                                          Your JavaScript transform cache is empty, rebuilding (this may take a minute).


                                          Conclusion: Genymotion and Expo may need to use the same version of adb so that Expo can properly communicate with the simulated device. Pointing Genymotion to your android SDK location as well as ensuring Expo XDE has that same version will allow correct communication between devices. I moved the Expo XDE version to the SDK location, but you might be able to go the other way (take the sdk ADB files and place them in the Expo XDE resource location).



                                          P.S.
                                          I've been all through the stackoverflow posts related to this issue. Just so you guys know my task manager shows three instances of adb.exe running. If you kill any of them they just come back.



                                          Hope this helps /cheers






                                          share|improve this answer












                                          System: Windows 10



                                          My issue:
                                          Setting Genymotion to point to the custom SDK didn't have any affect. I still received the:




                                          Couldn't start project on Android: could not install smartsocket
                                          listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket
                                          address (protocol/network address/port) is normally permitted. (10048)
                                          could not read ok from ADB Server
                                          * failed to start daemon * error: cannot connect to daemon




                                          What I discovered was there was a difference in ADB versions being used throughout the system. Here is the command I used to find them:



                                          where /r C: adb.exe


                                          This produced the results:



                                          C:Program FilesExpo XDEresourcesappnode_modulesxdlbinarieswindowsadbadb.exe
                                          C:Program FilesGenymobileGenymotiontoolsadb.exe
                                          C:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe
                                          C:UserskyleAppDataLocalAndroidSdkplatform-toolsadb backupadb.exe


                                          Navigating to each directory and running:



                                          adb.exe version


                                          Allowed me to see that Expo was running ADB version:



                                          Android Debug Bridge version 1.0.36
                                          Revision fd9e4d07b0f5-android


                                          While Genymotion using the custom SDK had version (c:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe):



                                          Android Debug Bridge version 1.0.39
                                          Revision 3db08f2c6889-android


                                          As a test I took the adb files (adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll) from



                                          c:UserskyleAppDataLocalAndroidSdkplatform-toolsadb.exe


                                          and placed them into a backup folder. I then moved the adb files located at



                                          c:Program FilesExpo XDEresourcesappnode_modulesxdlbinarieswindowsadbadb.exe


                                          into that same location. I killed adb with:



                                          adb kill-server


                                          which caused a restart of the adb server automatically due to having my Genymotion device already running. I hit the "Restart" button inside of the Expo XDE and it immediately began working. Here is the log where I hit the restart button at 1:13:04 AM:



                                          12:45:53 AM
                                          could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket address (protocol/network address/port) is normally permitted. (10048)
                                          could not read ok from ADB Server
                                          * failed to start daemon *
                                          error: cannot connect to daemon
                                          1:13:04 AM
                                          Restarting project and clearing packager cache (Hold shift while clicking restart to avoid clearing cache).
                                          1:13:11 AM
                                          Starting React Native packager...
                                          1:13:17 AM
                                          Scanning 543 folders for symlinks in C:Userskylegitbetalognode_modules (49ms)
                                          1:13:17 AM
                                          1:13:19 AM
                                          Couldn't adb reverse: closed
                                          1:13:20 AM
                                          Project opened! You can now use the "Share" or "Device" buttons to view your project.
                                          1:13:26 AM
                                          Couldn't adb reverse: closed
                                          1:13:26 AM
                                          Downloading latest version of Expo
                                          1:13:28 AM
                                          Installing Expo on device
                                          1:13:33 AM
                                          Opening on Android device
                                          1:13:56 AM
                                          Building JavaScript bundle: finished in 59643ms.
                                          1:14:01 AM
                                          Dependency graph loaded.
                                          1:14:03 AM
                                          Your JavaScript transform cache is empty, rebuilding (this may take a minute).


                                          Conclusion: Genymotion and Expo may need to use the same version of adb so that Expo can properly communicate with the simulated device. Pointing Genymotion to your android SDK location as well as ensuring Expo XDE has that same version will allow correct communication between devices. I moved the Expo XDE version to the SDK location, but you might be able to go the other way (take the sdk ADB files and place them in the Expo XDE resource location).



                                          P.S.
                                          I've been all through the stackoverflow posts related to this issue. Just so you guys know my task manager shows three instances of adb.exe running. If you kill any of them they just come back.



                                          Hope this helps /cheers







                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Aug 2 '17 at 8:53









                                          Kyle s

                                          31939




                                          31939







                                          • 1




                                            This works for me.
                                            – yogen darji
                                            Jun 20 at 11:51






                                          • 1




                                            This resolved my first problem after a number of hours (thanks mate). The next problem was the emulated device was not authorised (adb devices) which took me less time to resolve.
                                            – Jonathan
                                            Oct 29 at 21:36












                                          • 1




                                            This works for me.
                                            – yogen darji
                                            Jun 20 at 11:51






                                          • 1




                                            This resolved my first problem after a number of hours (thanks mate). The next problem was the emulated device was not authorised (adb devices) which took me less time to resolve.
                                            – Jonathan
                                            Oct 29 at 21:36







                                          1




                                          1




                                          This works for me.
                                          – yogen darji
                                          Jun 20 at 11:51




                                          This works for me.
                                          – yogen darji
                                          Jun 20 at 11:51




                                          1




                                          1




                                          This resolved my first problem after a number of hours (thanks mate). The next problem was the emulated device was not authorised (adb devices) which took me less time to resolve.
                                          – Jonathan
                                          Oct 29 at 21:36




                                          This resolved my first problem after a number of hours (thanks mate). The next problem was the emulated device was not authorised (adb devices) which took me less time to resolve.
                                          – Jonathan
                                          Oct 29 at 21:36











                                          8














                                          It would appear that the ADB daemon on the device (adbd) is disagreeing with the ADB server process on your host computer as to which version of the protocol they are speaking. Which version of the SDK are you running and what is the OS version on the device you are debugging?



                                          What you might need to do is actually downgrade your version of the SDK tools so that the ADB daemon and process are in agreement. I thought the server process was completely backward compatible, but this could be one of those corner cases where it doesn't. Google doesn't advertise the fact that you can get their old SDK tools packages, but they can be found by looking in the archives area at http://developer.android.com.






                                          share|improve this answer
















                                          • 1




                                            To which version would you recommend that I downgrade?
                                            – Arunabh Das
                                            Feb 23 '11 at 22:06










                                          • Which device are you using and what OS version is running on it? I don't truly think it should be necessary to downgrade because that's generally not necessary, but as I was saying, this could be a corner case. SDK r10 was just released this week and r9 only a month or so ago. If the problem has been introduced recently, r7 should provide a stable basis going back to last summer. You can find these earlier versions at developer.android.com/sdk/tools-notes.html. Good luck
                                            – Eric Cloninger
                                            Feb 23 '11 at 22:31










                                          • OS version on device = 2.2 and SDK = 10
                                            – Arunabh Das
                                            Feb 23 '11 at 22:56











                                          • This is not a version mismatch between adbd and adb server but rather between adb server and adb client (both running on the PC)
                                            – Alex P.
                                            Dec 31 '16 at 21:23















                                          8














                                          It would appear that the ADB daemon on the device (adbd) is disagreeing with the ADB server process on your host computer as to which version of the protocol they are speaking. Which version of the SDK are you running and what is the OS version on the device you are debugging?



                                          What you might need to do is actually downgrade your version of the SDK tools so that the ADB daemon and process are in agreement. I thought the server process was completely backward compatible, but this could be one of those corner cases where it doesn't. Google doesn't advertise the fact that you can get their old SDK tools packages, but they can be found by looking in the archives area at http://developer.android.com.






                                          share|improve this answer
















                                          • 1




                                            To which version would you recommend that I downgrade?
                                            – Arunabh Das
                                            Feb 23 '11 at 22:06










                                          • Which device are you using and what OS version is running on it? I don't truly think it should be necessary to downgrade because that's generally not necessary, but as I was saying, this could be a corner case. SDK r10 was just released this week and r9 only a month or so ago. If the problem has been introduced recently, r7 should provide a stable basis going back to last summer. You can find these earlier versions at developer.android.com/sdk/tools-notes.html. Good luck
                                            – Eric Cloninger
                                            Feb 23 '11 at 22:31










                                          • OS version on device = 2.2 and SDK = 10
                                            – Arunabh Das
                                            Feb 23 '11 at 22:56











                                          • This is not a version mismatch between adbd and adb server but rather between adb server and adb client (both running on the PC)
                                            – Alex P.
                                            Dec 31 '16 at 21:23













                                          8












                                          8








                                          8






                                          It would appear that the ADB daemon on the device (adbd) is disagreeing with the ADB server process on your host computer as to which version of the protocol they are speaking. Which version of the SDK are you running and what is the OS version on the device you are debugging?



                                          What you might need to do is actually downgrade your version of the SDK tools so that the ADB daemon and process are in agreement. I thought the server process was completely backward compatible, but this could be one of those corner cases where it doesn't. Google doesn't advertise the fact that you can get their old SDK tools packages, but they can be found by looking in the archives area at http://developer.android.com.






                                          share|improve this answer












                                          It would appear that the ADB daemon on the device (adbd) is disagreeing with the ADB server process on your host computer as to which version of the protocol they are speaking. Which version of the SDK are you running and what is the OS version on the device you are debugging?



                                          What you might need to do is actually downgrade your version of the SDK tools so that the ADB daemon and process are in agreement. I thought the server process was completely backward compatible, but this could be one of those corner cases where it doesn't. Google doesn't advertise the fact that you can get their old SDK tools packages, but they can be found by looking in the archives area at http://developer.android.com.







                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Feb 23 '11 at 15:31









                                          Eric Cloninger

                                          2,16021725




                                          2,16021725







                                          • 1




                                            To which version would you recommend that I downgrade?
                                            – Arunabh Das
                                            Feb 23 '11 at 22:06










                                          • Which device are you using and what OS version is running on it? I don't truly think it should be necessary to downgrade because that's generally not necessary, but as I was saying, this could be a corner case. SDK r10 was just released this week and r9 only a month or so ago. If the problem has been introduced recently, r7 should provide a stable basis going back to last summer. You can find these earlier versions at developer.android.com/sdk/tools-notes.html. Good luck
                                            – Eric Cloninger
                                            Feb 23 '11 at 22:31










                                          • OS version on device = 2.2 and SDK = 10
                                            – Arunabh Das
                                            Feb 23 '11 at 22:56











                                          • This is not a version mismatch between adbd and adb server but rather between adb server and adb client (both running on the PC)
                                            – Alex P.
                                            Dec 31 '16 at 21:23












                                          • 1




                                            To which version would you recommend that I downgrade?
                                            – Arunabh Das
                                            Feb 23 '11 at 22:06










                                          • Which device are you using and what OS version is running on it? I don't truly think it should be necessary to downgrade because that's generally not necessary, but as I was saying, this could be a corner case. SDK r10 was just released this week and r9 only a month or so ago. If the problem has been introduced recently, r7 should provide a stable basis going back to last summer. You can find these earlier versions at developer.android.com/sdk/tools-notes.html. Good luck
                                            – Eric Cloninger
                                            Feb 23 '11 at 22:31










                                          • OS version on device = 2.2 and SDK = 10
                                            – Arunabh Das
                                            Feb 23 '11 at 22:56











                                          • This is not a version mismatch between adbd and adb server but rather between adb server and adb client (both running on the PC)
                                            – Alex P.
                                            Dec 31 '16 at 21:23







                                          1




                                          1




                                          To which version would you recommend that I downgrade?
                                          – Arunabh Das
                                          Feb 23 '11 at 22:06




                                          To which version would you recommend that I downgrade?
                                          – Arunabh Das
                                          Feb 23 '11 at 22:06












                                          Which device are you using and what OS version is running on it? I don't truly think it should be necessary to downgrade because that's generally not necessary, but as I was saying, this could be a corner case. SDK r10 was just released this week and r9 only a month or so ago. If the problem has been introduced recently, r7 should provide a stable basis going back to last summer. You can find these earlier versions at developer.android.com/sdk/tools-notes.html. Good luck
                                          – Eric Cloninger
                                          Feb 23 '11 at 22:31




                                          Which device are you using and what OS version is running on it? I don't truly think it should be necessary to downgrade because that's generally not necessary, but as I was saying, this could be a corner case. SDK r10 was just released this week and r9 only a month or so ago. If the problem has been introduced recently, r7 should provide a stable basis going back to last summer. You can find these earlier versions at developer.android.com/sdk/tools-notes.html. Good luck
                                          – Eric Cloninger
                                          Feb 23 '11 at 22:31












                                          OS version on device = 2.2 and SDK = 10
                                          – Arunabh Das
                                          Feb 23 '11 at 22:56





                                          OS version on device = 2.2 and SDK = 10
                                          – Arunabh Das
                                          Feb 23 '11 at 22:56













                                          This is not a version mismatch between adbd and adb server but rather between adb server and adb client (both running on the PC)
                                          – Alex P.
                                          Dec 31 '16 at 21:23




                                          This is not a version mismatch between adbd and adb server but rather between adb server and adb client (both running on the PC)
                                          – Alex P.
                                          Dec 31 '16 at 21:23











                                          8














                                          This is caused because you are running a adb other than the one included in the SDK. If on linux check where is the adb binary located



                                          which adb
                                          Expected Output : ANDROID_SDK/platform-tools/adb


                                          If not pointing to ANDROID_SDK/platform-tools/adb then you are running some old version of adb installed on a different location on the machine.



                                          Nothing wrong running adb other than the one provided with SDK but the downside is it is not updated automatically when the android SDK is updated and that's why you running into this out-dated version issue.



                                          The easier fix and to avoid this issue in future rename the older (misleading) adb binary file to something else.



                                          Follow the steps to resolve this issue.



                                          $ which adb
                                          *o/p /usr/bin/adb - (output will depend on your machine)*
                                          $ cd /usr/bin/
                                          $ ls -lt | grep adb
                                          *o/p -rwxr-xr-x 1 root root 160912 Mar 31 2016 adb*
                                          $ sudo mv adb adb_bakup
                                          $ ls -lt | grep adb
                                          o/p -rwxr-xr-x 1 root root 160912 Mar 31 2016 adb_bakup
                                          $ export PATH="/path/to/android_sdk/platform-tools:$PATH"
                                          $ which adb
                                          *o/p <your android sdk dir>/platform-tools/adb* ---> You are all good now





                                          share|improve this answer




















                                          • I tried this from my Mac, it just tell me that I don't have permission to change the name?
                                            – Jay Smoke
                                            May 16 '17 at 16:36










                                          • You need the administrator privilege to change any dir name under /usr.
                                            – AKh
                                            May 17 '17 at 17:22











                                          • I logged in as root and I still couldn't change it.
                                            – Jay Smoke
                                            Jun 7 '17 at 18:55










                                          • great solution, I had a adb symlink to ../Cellar/..., so even if last adb version was downloaded with sdk manager, setting good path fixing the out of date problem
                                            – Luidgi Gromat
                                            Jul 2 '17 at 5:24










                                          • This is my problem exactly.
                                            – Jeff Gu Kang
                                            Oct 23 at 9:13















                                          8














                                          This is caused because you are running a adb other than the one included in the SDK. If on linux check where is the adb binary located



                                          which adb
                                          Expected Output : ANDROID_SDK/platform-tools/adb


                                          If not pointing to ANDROID_SDK/platform-tools/adb then you are running some old version of adb installed on a different location on the machine.



                                          Nothing wrong running adb other than the one provided with SDK but the downside is it is not updated automatically when the android SDK is updated and that's why you running into this out-dated version issue.



                                          The easier fix and to avoid this issue in future rename the older (misleading) adb binary file to something else.



                                          Follow the steps to resolve this issue.



                                          $ which adb
                                          *o/p /usr/bin/adb - (output will depend on your machine)*
                                          $ cd /usr/bin/
                                          $ ls -lt | grep adb
                                          *o/p -rwxr-xr-x 1 root root 160912 Mar 31 2016 adb*
                                          $ sudo mv adb adb_bakup
                                          $ ls -lt | grep adb
                                          o/p -rwxr-xr-x 1 root root 160912 Mar 31 2016 adb_bakup
                                          $ export PATH="/path/to/android_sdk/platform-tools:$PATH"
                                          $ which adb
                                          *o/p <your android sdk dir>/platform-tools/adb* ---> You are all good now





                                          share|improve this answer




















                                          • I tried this from my Mac, it just tell me that I don't have permission to change the name?
                                            – Jay Smoke
                                            May 16 '17 at 16:36










                                          • You need the administrator privilege to change any dir name under /usr.
                                            – AKh
                                            May 17 '17 at 17:22











                                          • I logged in as root and I still couldn't change it.
                                            – Jay Smoke
                                            Jun 7 '17 at 18:55










                                          • great solution, I had a adb symlink to ../Cellar/..., so even if last adb version was downloaded with sdk manager, setting good path fixing the out of date problem
                                            – Luidgi Gromat
                                            Jul 2 '17 at 5:24










                                          • This is my problem exactly.
                                            – Jeff Gu Kang
                                            Oct 23 at 9:13













                                          8












                                          8








                                          8






                                          This is caused because you are running a adb other than the one included in the SDK. If on linux check where is the adb binary located



                                          which adb
                                          Expected Output : ANDROID_SDK/platform-tools/adb


                                          If not pointing to ANDROID_SDK/platform-tools/adb then you are running some old version of adb installed on a different location on the machine.



                                          Nothing wrong running adb other than the one provided with SDK but the downside is it is not updated automatically when the android SDK is updated and that's why you running into this out-dated version issue.



                                          The easier fix and to avoid this issue in future rename the older (misleading) adb binary file to something else.



                                          Follow the steps to resolve this issue.



                                          $ which adb
                                          *o/p /usr/bin/adb - (output will depend on your machine)*
                                          $ cd /usr/bin/
                                          $ ls -lt | grep adb
                                          *o/p -rwxr-xr-x 1 root root 160912 Mar 31 2016 adb*
                                          $ sudo mv adb adb_bakup
                                          $ ls -lt | grep adb
                                          o/p -rwxr-xr-x 1 root root 160912 Mar 31 2016 adb_bakup
                                          $ export PATH="/path/to/android_sdk/platform-tools:$PATH"
                                          $ which adb
                                          *o/p <your android sdk dir>/platform-tools/adb* ---> You are all good now





                                          share|improve this answer












                                          This is caused because you are running a adb other than the one included in the SDK. If on linux check where is the adb binary located



                                          which adb
                                          Expected Output : ANDROID_SDK/platform-tools/adb


                                          If not pointing to ANDROID_SDK/platform-tools/adb then you are running some old version of adb installed on a different location on the machine.



                                          Nothing wrong running adb other than the one provided with SDK but the downside is it is not updated automatically when the android SDK is updated and that's why you running into this out-dated version issue.



                                          The easier fix and to avoid this issue in future rename the older (misleading) adb binary file to something else.



                                          Follow the steps to resolve this issue.



                                          $ which adb
                                          *o/p /usr/bin/adb - (output will depend on your machine)*
                                          $ cd /usr/bin/
                                          $ ls -lt | grep adb
                                          *o/p -rwxr-xr-x 1 root root 160912 Mar 31 2016 adb*
                                          $ sudo mv adb adb_bakup
                                          $ ls -lt | grep adb
                                          o/p -rwxr-xr-x 1 root root 160912 Mar 31 2016 adb_bakup
                                          $ export PATH="/path/to/android_sdk/platform-tools:$PATH"
                                          $ which adb
                                          *o/p <your android sdk dir>/platform-tools/adb* ---> You are all good now






                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Mar 9 '17 at 2:21









                                          AKh

                                          3,170124270




                                          3,170124270











                                          • I tried this from my Mac, it just tell me that I don't have permission to change the name?
                                            – Jay Smoke
                                            May 16 '17 at 16:36










                                          • You need the administrator privilege to change any dir name under /usr.
                                            – AKh
                                            May 17 '17 at 17:22











                                          • I logged in as root and I still couldn't change it.
                                            – Jay Smoke
                                            Jun 7 '17 at 18:55










                                          • great solution, I had a adb symlink to ../Cellar/..., so even if last adb version was downloaded with sdk manager, setting good path fixing the out of date problem
                                            – Luidgi Gromat
                                            Jul 2 '17 at 5:24










                                          • This is my problem exactly.
                                            – Jeff Gu Kang
                                            Oct 23 at 9:13
















                                          • I tried this from my Mac, it just tell me that I don't have permission to change the name?
                                            – Jay Smoke
                                            May 16 '17 at 16:36










                                          • You need the administrator privilege to change any dir name under /usr.
                                            – AKh
                                            May 17 '17 at 17:22











                                          • I logged in as root and I still couldn't change it.
                                            – Jay Smoke
                                            Jun 7 '17 at 18:55










                                          • great solution, I had a adb symlink to ../Cellar/..., so even if last adb version was downloaded with sdk manager, setting good path fixing the out of date problem
                                            – Luidgi Gromat
                                            Jul 2 '17 at 5:24










                                          • This is my problem exactly.
                                            – Jeff Gu Kang
                                            Oct 23 at 9:13















                                          I tried this from my Mac, it just tell me that I don't have permission to change the name?
                                          – Jay Smoke
                                          May 16 '17 at 16:36




                                          I tried this from my Mac, it just tell me that I don't have permission to change the name?
                                          – Jay Smoke
                                          May 16 '17 at 16:36












                                          You need the administrator privilege to change any dir name under /usr.
                                          – AKh
                                          May 17 '17 at 17:22





                                          You need the administrator privilege to change any dir name under /usr.
                                          – AKh
                                          May 17 '17 at 17:22













                                          I logged in as root and I still couldn't change it.
                                          – Jay Smoke
                                          Jun 7 '17 at 18:55




                                          I logged in as root and I still couldn't change it.
                                          – Jay Smoke
                                          Jun 7 '17 at 18:55












                                          great solution, I had a adb symlink to ../Cellar/..., so even if last adb version was downloaded with sdk manager, setting good path fixing the out of date problem
                                          – Luidgi Gromat
                                          Jul 2 '17 at 5:24




                                          great solution, I had a adb symlink to ../Cellar/..., so even if last adb version was downloaded with sdk manager, setting good path fixing the out of date problem
                                          – Luidgi Gromat
                                          Jul 2 '17 at 5:24












                                          This is my problem exactly.
                                          – Jeff Gu Kang
                                          Oct 23 at 9:13




                                          This is my problem exactly.
                                          – Jeff Gu Kang
                                          Oct 23 at 9:13











                                          5














                                          I simply closed the htc sync application completely and tried again. It worked as it was supposed to.






                                          share|improve this answer

























                                            5














                                            I simply closed the htc sync application completely and tried again. It worked as it was supposed to.






                                            share|improve this answer























                                              5












                                              5








                                              5






                                              I simply closed the htc sync application completely and tried again. It worked as it was supposed to.






                                              share|improve this answer












                                              I simply closed the htc sync application completely and tried again. It worked as it was supposed to.







                                              share|improve this answer












                                              share|improve this answer



                                              share|improve this answer










                                              answered Oct 27 '11 at 1:57









                                              Harsha Kanth

                                              5111




                                              5111





















                                                  5














                                                  I beat my head against the wall on this one. This started happening when I installed the latest version of HTC sync (3.0.5579). For some reason adb.exe was showing up multiple times in the task manager and I was getting the adb server is out of date killing errors multiple times. I found the adb.exe version in the HTC sync directory and the Android SDK platform-tools directory. I had the path setup correctly pointing at the android SDK directory and didn't see the HTC Sync path (maybe I was missing something, but I don't think so). Anyway, to fix the issue, I simply renamed the adb.exe file in the HTC Sync directory and everything worked again. This may not be the right way to go about this fix, but it worked for me.






                                                  share|improve this answer

























                                                    5














                                                    I beat my head against the wall on this one. This started happening when I installed the latest version of HTC sync (3.0.5579). For some reason adb.exe was showing up multiple times in the task manager and I was getting the adb server is out of date killing errors multiple times. I found the adb.exe version in the HTC sync directory and the Android SDK platform-tools directory. I had the path setup correctly pointing at the android SDK directory and didn't see the HTC Sync path (maybe I was missing something, but I don't think so). Anyway, to fix the issue, I simply renamed the adb.exe file in the HTC Sync directory and everything worked again. This may not be the right way to go about this fix, but it worked for me.






                                                    share|improve this answer























                                                      5












                                                      5








                                                      5






                                                      I beat my head against the wall on this one. This started happening when I installed the latest version of HTC sync (3.0.5579). For some reason adb.exe was showing up multiple times in the task manager and I was getting the adb server is out of date killing errors multiple times. I found the adb.exe version in the HTC sync directory and the Android SDK platform-tools directory. I had the path setup correctly pointing at the android SDK directory and didn't see the HTC Sync path (maybe I was missing something, but I don't think so). Anyway, to fix the issue, I simply renamed the adb.exe file in the HTC Sync directory and everything worked again. This may not be the right way to go about this fix, but it worked for me.






                                                      share|improve this answer












                                                      I beat my head against the wall on this one. This started happening when I installed the latest version of HTC sync (3.0.5579). For some reason adb.exe was showing up multiple times in the task manager and I was getting the adb server is out of date killing errors multiple times. I found the adb.exe version in the HTC sync directory and the Android SDK platform-tools directory. I had the path setup correctly pointing at the android SDK directory and didn't see the HTC Sync path (maybe I was missing something, but I don't think so). Anyway, to fix the issue, I simply renamed the adb.exe file in the HTC Sync directory and everything worked again. This may not be the right way to go about this fix, but it worked for me.







                                                      share|improve this answer












                                                      share|improve this answer



                                                      share|improve this answer










                                                      answered Jan 6 '12 at 1:02









                                                      Skylert

                                                      5111




                                                      5111





















                                                          5














                                                          Helped for me: stop HTC Sync (in system tray) and rename HTC's adb.exe (C:Program Files (x86)HTCHTC Sync 3.0adb.exe).






                                                          share|improve this answer

























                                                            5














                                                            Helped for me: stop HTC Sync (in system tray) and rename HTC's adb.exe (C:Program Files (x86)HTCHTC Sync 3.0adb.exe).






                                                            share|improve this answer























                                                              5












                                                              5








                                                              5






                                                              Helped for me: stop HTC Sync (in system tray) and rename HTC's adb.exe (C:Program Files (x86)HTCHTC Sync 3.0adb.exe).






                                                              share|improve this answer












                                                              Helped for me: stop HTC Sync (in system tray) and rename HTC's adb.exe (C:Program Files (x86)HTCHTC Sync 3.0adb.exe).







                                                              share|improve this answer












                                                              share|improve this answer



                                                              share|improve this answer










                                                              answered May 3 '12 at 9:12









                                                              Maxim

                                                              5111




                                                              5111





















                                                                  4














                                                                  First close All the things which use ADB. (Android Studio, Eclipse, Emulator(Bluestack as well))
                                                                  and then do



                                                                  adb kill-server
                                                                  adb start-server


                                                                  In my case I just got update of Studio.






                                                                  share|improve this answer

























                                                                    4














                                                                    First close All the things which use ADB. (Android Studio, Eclipse, Emulator(Bluestack as well))
                                                                    and then do



                                                                    adb kill-server
                                                                    adb start-server


                                                                    In my case I just got update of Studio.






                                                                    share|improve this answer























                                                                      4












                                                                      4








                                                                      4






                                                                      First close All the things which use ADB. (Android Studio, Eclipse, Emulator(Bluestack as well))
                                                                      and then do



                                                                      adb kill-server
                                                                      adb start-server


                                                                      In my case I just got update of Studio.






                                                                      share|improve this answer












                                                                      First close All the things which use ADB. (Android Studio, Eclipse, Emulator(Bluestack as well))
                                                                      and then do



                                                                      adb kill-server
                                                                      adb start-server


                                                                      In my case I just got update of Studio.







                                                                      share|improve this answer












                                                                      share|improve this answer



                                                                      share|improve this answer










                                                                      answered Feb 24 '17 at 5:38









                                                                      jeet.chanchawat

                                                                      3,70442153




                                                                      3,70442153





















                                                                          3














                                                                          System: Windows 7, Android Studio.



                                                                          This error occurred when I ran adb devices from Windows Commandline.



                                                                          The root cause was that the adb I was running from commandline was not the same adb running from Android Studio.



                                                                          Solution:




                                                                          1. First kill all running adb processes on the machine.



                                                                            taskkill /F /IM adb.exe



                                                                          2. Run your app from Android Studio.



                                                                          3. Locate the exact File Location of adb.exe either from Windows Task Manager, OR by running the command below



                                                                            wmic process where "name='adb.exe'" get ProcessID, ExecutablePath



                                                                          4. On Windows Command prompt, run where adb to locate the adb that runs from command prompt. This path would be different from the one in Step 3 above.


                                                                          5. Edit Windows system variable PATH. Delete the base path found in Step 4 from it.



                                                                          6. After you have edited PATH, you can see the current contents of this variable by typing below command in a NEW command prompt (don't use old prompt.)



                                                                            echo %PATH%



                                                                          Now, run adb from command prompt. It should NOT show any "server out of date error"!






                                                                          share|improve this answer

























                                                                            3














                                                                            System: Windows 7, Android Studio.



                                                                            This error occurred when I ran adb devices from Windows Commandline.



                                                                            The root cause was that the adb I was running from commandline was not the same adb running from Android Studio.



                                                                            Solution:




                                                                            1. First kill all running adb processes on the machine.



                                                                              taskkill /F /IM adb.exe



                                                                            2. Run your app from Android Studio.



                                                                            3. Locate the exact File Location of adb.exe either from Windows Task Manager, OR by running the command below



                                                                              wmic process where "name='adb.exe'" get ProcessID, ExecutablePath



                                                                            4. On Windows Command prompt, run where adb to locate the adb that runs from command prompt. This path would be different from the one in Step 3 above.


                                                                            5. Edit Windows system variable PATH. Delete the base path found in Step 4 from it.



                                                                            6. After you have edited PATH, you can see the current contents of this variable by typing below command in a NEW command prompt (don't use old prompt.)



                                                                              echo %PATH%



                                                                            Now, run adb from command prompt. It should NOT show any "server out of date error"!






                                                                            share|improve this answer























                                                                              3












                                                                              3








                                                                              3






                                                                              System: Windows 7, Android Studio.



                                                                              This error occurred when I ran adb devices from Windows Commandline.



                                                                              The root cause was that the adb I was running from commandline was not the same adb running from Android Studio.



                                                                              Solution:




                                                                              1. First kill all running adb processes on the machine.



                                                                                taskkill /F /IM adb.exe



                                                                              2. Run your app from Android Studio.



                                                                              3. Locate the exact File Location of adb.exe either from Windows Task Manager, OR by running the command below



                                                                                wmic process where "name='adb.exe'" get ProcessID, ExecutablePath



                                                                              4. On Windows Command prompt, run where adb to locate the adb that runs from command prompt. This path would be different from the one in Step 3 above.


                                                                              5. Edit Windows system variable PATH. Delete the base path found in Step 4 from it.



                                                                              6. After you have edited PATH, you can see the current contents of this variable by typing below command in a NEW command prompt (don't use old prompt.)



                                                                                echo %PATH%



                                                                              Now, run adb from command prompt. It should NOT show any "server out of date error"!






                                                                              share|improve this answer












                                                                              System: Windows 7, Android Studio.



                                                                              This error occurred when I ran adb devices from Windows Commandline.



                                                                              The root cause was that the adb I was running from commandline was not the same adb running from Android Studio.



                                                                              Solution:




                                                                              1. First kill all running adb processes on the machine.



                                                                                taskkill /F /IM adb.exe



                                                                              2. Run your app from Android Studio.



                                                                              3. Locate the exact File Location of adb.exe either from Windows Task Manager, OR by running the command below



                                                                                wmic process where "name='adb.exe'" get ProcessID, ExecutablePath



                                                                              4. On Windows Command prompt, run where adb to locate the adb that runs from command prompt. This path would be different from the one in Step 3 above.


                                                                              5. Edit Windows system variable PATH. Delete the base path found in Step 4 from it.



                                                                              6. After you have edited PATH, you can see the current contents of this variable by typing below command in a NEW command prompt (don't use old prompt.)



                                                                                echo %PATH%



                                                                              Now, run adb from command prompt. It should NOT show any "server out of date error"!







                                                                              share|improve this answer












                                                                              share|improve this answer



                                                                              share|improve this answer










                                                                              answered Jan 11 at 9:43









                                                                              user13107

                                                                              1,13541640




                                                                              1,13541640





















                                                                                  2














                                                                                  Try this:



                                                                                  1. Close the Eclipse application.


                                                                                  2. adb kill-server


                                                                                  3. Restart Eclipse.






                                                                                  share|improve this answer



























                                                                                    2














                                                                                    Try this:



                                                                                    1. Close the Eclipse application.


                                                                                    2. adb kill-server


                                                                                    3. Restart Eclipse.






                                                                                    share|improve this answer

























                                                                                      2












                                                                                      2








                                                                                      2






                                                                                      Try this:



                                                                                      1. Close the Eclipse application.


                                                                                      2. adb kill-server


                                                                                      3. Restart Eclipse.






                                                                                      share|improve this answer














                                                                                      Try this:



                                                                                      1. Close the Eclipse application.


                                                                                      2. adb kill-server


                                                                                      3. Restart Eclipse.







                                                                                      share|improve this answer














                                                                                      share|improve this answer



                                                                                      share|improve this answer








                                                                                      edited Jun 14 '12 at 23:59









                                                                                      Adrian Toman

                                                                                      9,20433652




                                                                                      9,20433652










                                                                                      answered Mar 4 '11 at 0:30









                                                                                      dcanh121

                                                                                      2,96472972




                                                                                      2,96472972





















                                                                                          2














                                                                                          Okay, there is another instance of adb.exe distributed with "Lenovo Photo Companion". A friend of mine has a Lenovo Yoga notebook and had this software installed which includeded another adb.exe



                                                                                          Deinstalling it solved the problem.






                                                                                          share|improve this answer

























                                                                                            2














                                                                                            Okay, there is another instance of adb.exe distributed with "Lenovo Photo Companion". A friend of mine has a Lenovo Yoga notebook and had this software installed which includeded another adb.exe



                                                                                            Deinstalling it solved the problem.






                                                                                            share|improve this answer























                                                                                              2












                                                                                              2








                                                                                              2






                                                                                              Okay, there is another instance of adb.exe distributed with "Lenovo Photo Companion". A friend of mine has a Lenovo Yoga notebook and had this software installed which includeded another adb.exe



                                                                                              Deinstalling it solved the problem.






                                                                                              share|improve this answer












                                                                                              Okay, there is another instance of adb.exe distributed with "Lenovo Photo Companion". A friend of mine has a Lenovo Yoga notebook and had this software installed which includeded another adb.exe



                                                                                              Deinstalling it solved the problem.







                                                                                              share|improve this answer












                                                                                              share|improve this answer



                                                                                              share|improve this answer










                                                                                              answered Jan 7 '15 at 9:52









                                                                                              Wolkenjaeger

                                                                                              6581820




                                                                                              6581820





















                                                                                                  2














                                                                                                  OS: Ubuntu



                                                                                                  There are more than 1 adb are running. Check the current adb:



                                                                                                   which adb
                                                                                                  Expected Output : ANDROID_SDK/platform-tools/adb


                                                                                                  Normally the result will be:



                                                                                                   /usr/bin/adb


                                                                                                  Delete this older version by:



                                                                                                   cd /urs/bin
                                                                                                  sudo rm adb





                                                                                                  share|improve this answer

























                                                                                                    2














                                                                                                    OS: Ubuntu



                                                                                                    There are more than 1 adb are running. Check the current adb:



                                                                                                     which adb
                                                                                                    Expected Output : ANDROID_SDK/platform-tools/adb


                                                                                                    Normally the result will be:



                                                                                                     /usr/bin/adb


                                                                                                    Delete this older version by:



                                                                                                     cd /urs/bin
                                                                                                    sudo rm adb





                                                                                                    share|improve this answer























                                                                                                      2












                                                                                                      2








                                                                                                      2






                                                                                                      OS: Ubuntu



                                                                                                      There are more than 1 adb are running. Check the current adb:



                                                                                                       which adb
                                                                                                      Expected Output : ANDROID_SDK/platform-tools/adb


                                                                                                      Normally the result will be:



                                                                                                       /usr/bin/adb


                                                                                                      Delete this older version by:



                                                                                                       cd /urs/bin
                                                                                                      sudo rm adb





                                                                                                      share|improve this answer












                                                                                                      OS: Ubuntu



                                                                                                      There are more than 1 adb are running. Check the current adb:



                                                                                                       which adb
                                                                                                      Expected Output : ANDROID_SDK/platform-tools/adb


                                                                                                      Normally the result will be:



                                                                                                       /usr/bin/adb


                                                                                                      Delete this older version by:



                                                                                                       cd /urs/bin
                                                                                                      sudo rm adb






                                                                                                      share|improve this answer












                                                                                                      share|improve this answer



                                                                                                      share|improve this answer










                                                                                                      answered Apr 12 at 18:18









                                                                                                      Zed

                                                                                                      594




                                                                                                      594





















                                                                                                          1














                                                                                                          Did you try using the SDK version 8. Since the device is in 2.2, and your SDK is at 10, there might be conflict.



                                                                                                          Best of luck with ur downgrading efforts!! Hope this solves.






                                                                                                          share|improve this answer

























                                                                                                            1














                                                                                                            Did you try using the SDK version 8. Since the device is in 2.2, and your SDK is at 10, there might be conflict.



                                                                                                            Best of luck with ur downgrading efforts!! Hope this solves.






                                                                                                            share|improve this answer























                                                                                                              1












                                                                                                              1








                                                                                                              1






                                                                                                              Did you try using the SDK version 8. Since the device is in 2.2, and your SDK is at 10, there might be conflict.



                                                                                                              Best of luck with ur downgrading efforts!! Hope this solves.






                                                                                                              share|improve this answer












                                                                                                              Did you try using the SDK version 8. Since the device is in 2.2, and your SDK is at 10, there might be conflict.



                                                                                                              Best of luck with ur downgrading efforts!! Hope this solves.







                                                                                                              share|improve this answer












                                                                                                              share|improve this answer



                                                                                                              share|improve this answer










                                                                                                              answered Feb 28 '11 at 12:45









                                                                                                              amiekuser

                                                                                                              1,38711530




                                                                                                              1,38711530





















                                                                                                                  1














                                                                                                                  If the device you're trying to interact with is a physical phone connected via USB, you can unplug it and plug it back and and it should work. Sometimes it just gets out of sync I think.






                                                                                                                  share|improve this answer

























                                                                                                                    1














                                                                                                                    If the device you're trying to interact with is a physical phone connected via USB, you can unplug it and plug it back and and it should work. Sometimes it just gets out of sync I think.






                                                                                                                    share|improve this answer























                                                                                                                      1












                                                                                                                      1








                                                                                                                      1






                                                                                                                      If the device you're trying to interact with is a physical phone connected via USB, you can unplug it and plug it back and and it should work. Sometimes it just gets out of sync I think.






                                                                                                                      share|improve this answer












                                                                                                                      If the device you're trying to interact with is a physical phone connected via USB, you can unplug it and plug it back and and it should work. Sometimes it just gets out of sync I think.







                                                                                                                      share|improve this answer












                                                                                                                      share|improve this answer



                                                                                                                      share|improve this answer










                                                                                                                      answered Mar 4 '11 at 3:29









                                                                                                                      Nate Radebaugh

                                                                                                                      33611220




                                                                                                                      33611220





















                                                                                                                          1














                                                                                                                          I had this issue on one of my development machines (all run windows 7 x64) while all other machines' adb work normally. The reason I ran into this issue is I have an old version of adb.exe reside in %android-sdk%tools while newer Android SDKs have adb.exe under %android-sdk%platform-tools



                                                                                                                          remove the older adb.exe from %android-sdk%tools and add %android-sdk%platform-tools to %PATH% solves this issue



                                                                                                                          or more generally, hunt down any adb executable in your path that are out of date, just use the latest one provided with Android SDK






                                                                                                                          share|improve this answer

























                                                                                                                            1














                                                                                                                            I had this issue on one of my development machines (all run windows 7 x64) while all other machines' adb work normally. The reason I ran into this issue is I have an old version of adb.exe reside in %android-sdk%tools while newer Android SDKs have adb.exe under %android-sdk%platform-tools



                                                                                                                            remove the older adb.exe from %android-sdk%tools and add %android-sdk%platform-tools to %PATH% solves this issue



                                                                                                                            or more generally, hunt down any adb executable in your path that are out of date, just use the latest one provided with Android SDK






                                                                                                                            share|improve this answer























                                                                                                                              1












                                                                                                                              1








                                                                                                                              1






                                                                                                                              I had this issue on one of my development machines (all run windows 7 x64) while all other machines' adb work normally. The reason I ran into this issue is I have an old version of adb.exe reside in %android-sdk%tools while newer Android SDKs have adb.exe under %android-sdk%platform-tools



                                                                                                                              remove the older adb.exe from %android-sdk%tools and add %android-sdk%platform-tools to %PATH% solves this issue



                                                                                                                              or more generally, hunt down any adb executable in your path that are out of date, just use the latest one provided with Android SDK






                                                                                                                              share|improve this answer












                                                                                                                              I had this issue on one of my development machines (all run windows 7 x64) while all other machines' adb work normally. The reason I ran into this issue is I have an old version of adb.exe reside in %android-sdk%tools while newer Android SDKs have adb.exe under %android-sdk%platform-tools



                                                                                                                              remove the older adb.exe from %android-sdk%tools and add %android-sdk%platform-tools to %PATH% solves this issue



                                                                                                                              or more generally, hunt down any adb executable in your path that are out of date, just use the latest one provided with Android SDK







                                                                                                                              share|improve this answer












                                                                                                                              share|improve this answer



                                                                                                                              share|improve this answer










                                                                                                                              answered Apr 18 '12 at 4:17









                                                                                                                              Yenchi

                                                                                                                              1,8252228




                                                                                                                              1,8252228





















                                                                                                                                  1














                                                                                                                                  I went through all the answers on SO and it didn't work for me. When I killed the adb.exe process from Task Manager, it kept reopening it and the reason was that Droid Explorer was working in the background.



                                                                                                                                  Killing the DE process via Task Manager and then killing adb.exe (and running it again from the console through 'adb start-server' worked for me.



                                                                                                                                  This can be useful for many people who have rooted their devices.






                                                                                                                                  share|improve this answer




















                                                                                                                                  • This was the solution for me. Make sure to End process tree in Task Manager for the Droid Explorer service.
                                                                                                                                    – Jason
                                                                                                                                    Mar 5 '13 at 9:42















                                                                                                                                  1














                                                                                                                                  I went through all the answers on SO and it didn't work for me. When I killed the adb.exe process from Task Manager, it kept reopening it and the reason was that Droid Explorer was working in the background.



                                                                                                                                  Killing the DE process via Task Manager and then killing adb.exe (and running it again from the console through 'adb start-server' worked for me.



                                                                                                                                  This can be useful for many people who have rooted their devices.






                                                                                                                                  share|improve this answer




















                                                                                                                                  • This was the solution for me. Make sure to End process tree in Task Manager for the Droid Explorer service.
                                                                                                                                    – Jason
                                                                                                                                    Mar 5 '13 at 9:42













                                                                                                                                  1












                                                                                                                                  1








                                                                                                                                  1






                                                                                                                                  I went through all the answers on SO and it didn't work for me. When I killed the adb.exe process from Task Manager, it kept reopening it and the reason was that Droid Explorer was working in the background.



                                                                                                                                  Killing the DE process via Task Manager and then killing adb.exe (and running it again from the console through 'adb start-server' worked for me.



                                                                                                                                  This can be useful for many people who have rooted their devices.






                                                                                                                                  share|improve this answer












                                                                                                                                  I went through all the answers on SO and it didn't work for me. When I killed the adb.exe process from Task Manager, it kept reopening it and the reason was that Droid Explorer was working in the background.



                                                                                                                                  Killing the DE process via Task Manager and then killing adb.exe (and running it again from the console through 'adb start-server' worked for me.



                                                                                                                                  This can be useful for many people who have rooted their devices.







                                                                                                                                  share|improve this answer












                                                                                                                                  share|improve this answer



                                                                                                                                  share|improve this answer










                                                                                                                                  answered Jun 23 '12 at 20:32









                                                                                                                                  syntagma

                                                                                                                                  12.4k1248104




                                                                                                                                  12.4k1248104











                                                                                                                                  • This was the solution for me. Make sure to End process tree in Task Manager for the Droid Explorer service.
                                                                                                                                    – Jason
                                                                                                                                    Mar 5 '13 at 9:42
















                                                                                                                                  • This was the solution for me. Make sure to End process tree in Task Manager for the Droid Explorer service.
                                                                                                                                    – Jason
                                                                                                                                    Mar 5 '13 at 9:42















                                                                                                                                  This was the solution for me. Make sure to End process tree in Task Manager for the Droid Explorer service.
                                                                                                                                  – Jason
                                                                                                                                  Mar 5 '13 at 9:42




                                                                                                                                  This was the solution for me. Make sure to End process tree in Task Manager for the Droid Explorer service.
                                                                                                                                  – Jason
                                                                                                                                  Mar 5 '13 at 9:42











                                                                                                                                  1














                                                                                                                                  Unfortunately I do not have enough reputation to comment yet. But the response marked as an answer sent me in the right direction.



                                                                                                                                  I did not see anything in my path related to HTC Sync Manager, though I had it installed. I'm not working with my HTC device at the moment, and only had the sync manager installed to help with driver issues. Once uninstalling the HTC sync manager this issue went away for me.



                                                                                                                                  Hope this helps someone else.






                                                                                                                                  share|improve this answer

























                                                                                                                                    1














                                                                                                                                    Unfortunately I do not have enough reputation to comment yet. But the response marked as an answer sent me in the right direction.



                                                                                                                                    I did not see anything in my path related to HTC Sync Manager, though I had it installed. I'm not working with my HTC device at the moment, and only had the sync manager installed to help with driver issues. Once uninstalling the HTC sync manager this issue went away for me.



                                                                                                                                    Hope this helps someone else.






                                                                                                                                    share|improve this answer























                                                                                                                                      1












                                                                                                                                      1








                                                                                                                                      1






                                                                                                                                      Unfortunately I do not have enough reputation to comment yet. But the response marked as an answer sent me in the right direction.



                                                                                                                                      I did not see anything in my path related to HTC Sync Manager, though I had it installed. I'm not working with my HTC device at the moment, and only had the sync manager installed to help with driver issues. Once uninstalling the HTC sync manager this issue went away for me.



                                                                                                                                      Hope this helps someone else.






                                                                                                                                      share|improve this answer












                                                                                                                                      Unfortunately I do not have enough reputation to comment yet. But the response marked as an answer sent me in the right direction.



                                                                                                                                      I did not see anything in my path related to HTC Sync Manager, though I had it installed. I'm not working with my HTC device at the moment, and only had the sync manager installed to help with driver issues. Once uninstalling the HTC sync manager this issue went away for me.



                                                                                                                                      Hope this helps someone else.







                                                                                                                                      share|improve this answer












                                                                                                                                      share|improve this answer



                                                                                                                                      share|improve this answer










                                                                                                                                      answered Feb 13 '15 at 15:01









                                                                                                                                      Ben Williamson

                                                                                                                                      111




                                                                                                                                      111





















                                                                                                                                          1














                                                                                                                                          In my case, the problem was caused by Virtuous Ten Studio, which has the adb.exe in External/ADB directory.



                                                                                                                                          Go there and run .adb.exe kill-server and you'll be good.






                                                                                                                                          share|improve this answer

























                                                                                                                                            1














                                                                                                                                            In my case, the problem was caused by Virtuous Ten Studio, which has the adb.exe in External/ADB directory.



                                                                                                                                            Go there and run .adb.exe kill-server and you'll be good.






                                                                                                                                            share|improve this answer























                                                                                                                                              1












                                                                                                                                              1








                                                                                                                                              1






                                                                                                                                              In my case, the problem was caused by Virtuous Ten Studio, which has the adb.exe in External/ADB directory.



                                                                                                                                              Go there and run .adb.exe kill-server and you'll be good.






                                                                                                                                              share|improve this answer












                                                                                                                                              In my case, the problem was caused by Virtuous Ten Studio, which has the adb.exe in External/ADB directory.



                                                                                                                                              Go there and run .adb.exe kill-server and you'll be good.







                                                                                                                                              share|improve this answer












                                                                                                                                              share|improve this answer



                                                                                                                                              share|improve this answer










                                                                                                                                              answered Jul 9 '17 at 21:42









                                                                                                                                              Tomáš Zato

                                                                                                                                              21.9k21112566




                                                                                                                                              21.9k21112566





















                                                                                                                                                  1














                                                                                                                                                  I experienced a similar problem where my attempts to use adb such as adb logcat provided this error output:



                                                                                                                                                  adb server version (40) doesn't match this client (36); killing...



                                                                                                                                                  This solution worked for me in 2018 on Ubuntu 18.04 from Android Studio 3.2.1 using terminal.



                                                                                                                                                  The commands are as follows:




                                                                                                                                                  adb kill-server
                                                                                                                                                  sudo cp ~/Android/Sdk/platform-tools/adb /usr/bin/adb
                                                                                                                                                  sudo chmod +x /usr/bin/adb
                                                                                                                                                  adb start-server




                                                                                                                                                  You may need to adjust the cp command arguments based on the path to Android/ on your system.



                                                                                                                                                  2nd generation kudos to my source: https://stackoverflow.com/a/40991118/7015599






                                                                                                                                                  share|improve this answer

























                                                                                                                                                    1














                                                                                                                                                    I experienced a similar problem where my attempts to use adb such as adb logcat provided this error output:



                                                                                                                                                    adb server version (40) doesn't match this client (36); killing...



                                                                                                                                                    This solution worked for me in 2018 on Ubuntu 18.04 from Android Studio 3.2.1 using terminal.



                                                                                                                                                    The commands are as follows:




                                                                                                                                                    adb kill-server
                                                                                                                                                    sudo cp ~/Android/Sdk/platform-tools/adb /usr/bin/adb
                                                                                                                                                    sudo chmod +x /usr/bin/adb
                                                                                                                                                    adb start-server




                                                                                                                                                    You may need to adjust the cp command arguments based on the path to Android/ on your system.



                                                                                                                                                    2nd generation kudos to my source: https://stackoverflow.com/a/40991118/7015599






                                                                                                                                                    share|improve this answer























                                                                                                                                                      1












                                                                                                                                                      1








                                                                                                                                                      1






                                                                                                                                                      I experienced a similar problem where my attempts to use adb such as adb logcat provided this error output:



                                                                                                                                                      adb server version (40) doesn't match this client (36); killing...



                                                                                                                                                      This solution worked for me in 2018 on Ubuntu 18.04 from Android Studio 3.2.1 using terminal.



                                                                                                                                                      The commands are as follows:




                                                                                                                                                      adb kill-server
                                                                                                                                                      sudo cp ~/Android/Sdk/platform-tools/adb /usr/bin/adb
                                                                                                                                                      sudo chmod +x /usr/bin/adb
                                                                                                                                                      adb start-server




                                                                                                                                                      You may need to adjust the cp command arguments based on the path to Android/ on your system.



                                                                                                                                                      2nd generation kudos to my source: https://stackoverflow.com/a/40991118/7015599






                                                                                                                                                      share|improve this answer












                                                                                                                                                      I experienced a similar problem where my attempts to use adb such as adb logcat provided this error output:



                                                                                                                                                      adb server version (40) doesn't match this client (36); killing...



                                                                                                                                                      This solution worked for me in 2018 on Ubuntu 18.04 from Android Studio 3.2.1 using terminal.



                                                                                                                                                      The commands are as follows:




                                                                                                                                                      adb kill-server
                                                                                                                                                      sudo cp ~/Android/Sdk/platform-tools/adb /usr/bin/adb
                                                                                                                                                      sudo chmod +x /usr/bin/adb
                                                                                                                                                      adb start-server




                                                                                                                                                      You may need to adjust the cp command arguments based on the path to Android/ on your system.



                                                                                                                                                      2nd generation kudos to my source: https://stackoverflow.com/a/40991118/7015599







                                                                                                                                                      share|improve this answer












                                                                                                                                                      share|improve this answer



                                                                                                                                                      share|improve this answer










                                                                                                                                                      answered Nov 8 at 19:14









                                                                                                                                                      esarkis

                                                                                                                                                      939




                                                                                                                                                      939





















                                                                                                                                                          0














                                                                                                                                                          As mentioned above, the problem comes due to a conflicting version of adb.exe shipped with HTC Sync. Removing it from PATH won't help, as htcUPCTLoader.exe that constantly runs in the background will still re-launch the wrong ADB version.



                                                                                                                                                          One solution would be to completely remove adb.exe from the HTC Sync folder, however this would break HTC Sync.



                                                                                                                                                          I've just coded a simple tool that replaces the old adb.exe with a stub that invokes the latest adb.exe from the SDK directory eliminating the conflicts (e.g. version 1.0.25 coming with HTC Sync and 1.0.29 with Android SDK).



                                                                                                                                                          ADB Fixer tool



                                                                                                                                                          The tool can be downloaded from http://visualgdb.com/adbfix






                                                                                                                                                          share|improve this answer



























                                                                                                                                                            0














                                                                                                                                                            As mentioned above, the problem comes due to a conflicting version of adb.exe shipped with HTC Sync. Removing it from PATH won't help, as htcUPCTLoader.exe that constantly runs in the background will still re-launch the wrong ADB version.



                                                                                                                                                            One solution would be to completely remove adb.exe from the HTC Sync folder, however this would break HTC Sync.



                                                                                                                                                            I've just coded a simple tool that replaces the old adb.exe with a stub that invokes the latest adb.exe from the SDK directory eliminating the conflicts (e.g. version 1.0.25 coming with HTC Sync and 1.0.29 with Android SDK).



                                                                                                                                                            ADB Fixer tool



                                                                                                                                                            The tool can be downloaded from http://visualgdb.com/adbfix






                                                                                                                                                            share|improve this answer

























                                                                                                                                                              0












                                                                                                                                                              0








                                                                                                                                                              0






                                                                                                                                                              As mentioned above, the problem comes due to a conflicting version of adb.exe shipped with HTC Sync. Removing it from PATH won't help, as htcUPCTLoader.exe that constantly runs in the background will still re-launch the wrong ADB version.



                                                                                                                                                              One solution would be to completely remove adb.exe from the HTC Sync folder, however this would break HTC Sync.



                                                                                                                                                              I've just coded a simple tool that replaces the old adb.exe with a stub that invokes the latest adb.exe from the SDK directory eliminating the conflicts (e.g. version 1.0.25 coming with HTC Sync and 1.0.29 with Android SDK).



                                                                                                                                                              ADB Fixer tool



                                                                                                                                                              The tool can be downloaded from http://visualgdb.com/adbfix






                                                                                                                                                              share|improve this answer














                                                                                                                                                              As mentioned above, the problem comes due to a conflicting version of adb.exe shipped with HTC Sync. Removing it from PATH won't help, as htcUPCTLoader.exe that constantly runs in the background will still re-launch the wrong ADB version.



                                                                                                                                                              One solution would be to completely remove adb.exe from the HTC Sync folder, however this would break HTC Sync.



                                                                                                                                                              I've just coded a simple tool that replaces the old adb.exe with a stub that invokes the latest adb.exe from the SDK directory eliminating the conflicts (e.g. version 1.0.25 coming with HTC Sync and 1.0.29 with Android SDK).



                                                                                                                                                              ADB Fixer tool



                                                                                                                                                              The tool can be downloaded from http://visualgdb.com/adbfix







                                                                                                                                                              share|improve this answer














                                                                                                                                                              share|improve this answer



                                                                                                                                                              share|improve this answer








                                                                                                                                                              edited Feb 8 '17 at 14:36









                                                                                                                                                              Community

                                                                                                                                                              11




                                                                                                                                                              11










                                                                                                                                                              answered Jul 10 '12 at 17:29









                                                                                                                                                              Ivan Shcherbakov

                                                                                                                                                              1,433920




                                                                                                                                                              1,433920





















                                                                                                                                                                  0














                                                                                                                                                                  I also had this problem today, turns out I disabled my network drivers because I had WIFI/LAN issues. re-enabling fixed the issue






                                                                                                                                                                  share|improve this answer

























                                                                                                                                                                    0














                                                                                                                                                                    I also had this problem today, turns out I disabled my network drivers because I had WIFI/LAN issues. re-enabling fixed the issue






                                                                                                                                                                    share|improve this answer























                                                                                                                                                                      0












                                                                                                                                                                      0








                                                                                                                                                                      0






                                                                                                                                                                      I also had this problem today, turns out I disabled my network drivers because I had WIFI/LAN issues. re-enabling fixed the issue






                                                                                                                                                                      share|improve this answer












                                                                                                                                                                      I also had this problem today, turns out I disabled my network drivers because I had WIFI/LAN issues. re-enabling fixed the issue







                                                                                                                                                                      share|improve this answer












                                                                                                                                                                      share|improve this answer



                                                                                                                                                                      share|improve this answer










                                                                                                                                                                      answered Jan 7 '15 at 10:37









                                                                                                                                                                      bvanvelsen

                                                                                                                                                                      1,48211223




                                                                                                                                                                      1,48211223





















                                                                                                                                                                          0














                                                                                                                                                                          installing sdk updates (including platform tools) fixed for me!






                                                                                                                                                                          share|improve this answer

























                                                                                                                                                                            0














                                                                                                                                                                            installing sdk updates (including platform tools) fixed for me!






                                                                                                                                                                            share|improve this answer























                                                                                                                                                                              0












                                                                                                                                                                              0








                                                                                                                                                                              0






                                                                                                                                                                              installing sdk updates (including platform tools) fixed for me!






                                                                                                                                                                              share|improve this answer












                                                                                                                                                                              installing sdk updates (including platform tools) fixed for me!







                                                                                                                                                                              share|improve this answer












                                                                                                                                                                              share|improve this answer



                                                                                                                                                                              share|improve this answer










                                                                                                                                                                              answered Jun 27 at 9:57









                                                                                                                                                                              hmac

                                                                                                                                                                              17618




                                                                                                                                                                              17618





















                                                                                                                                                                                  0














                                                                                                                                                                                  Since adb server is out of date. killing is now a dupe of this, copy-paste of a solution for Debian-based systems:




                                                                                                                                                                                  It might be that you installed the adb package in addition to the
                                                                                                                                                                                  SDK's. In that case, a



                                                                                                                                                                                  sudo apt purge adb


                                                                                                                                                                                  might solve the problem.







                                                                                                                                                                                  share|improve this answer

























                                                                                                                                                                                    0














                                                                                                                                                                                    Since adb server is out of date. killing is now a dupe of this, copy-paste of a solution for Debian-based systems:




                                                                                                                                                                                    It might be that you installed the adb package in addition to the
                                                                                                                                                                                    SDK's. In that case, a



                                                                                                                                                                                    sudo apt purge adb


                                                                                                                                                                                    might solve the problem.







                                                                                                                                                                                    share|improve this answer























                                                                                                                                                                                      0












                                                                                                                                                                                      0








                                                                                                                                                                                      0






                                                                                                                                                                                      Since adb server is out of date. killing is now a dupe of this, copy-paste of a solution for Debian-based systems:




                                                                                                                                                                                      It might be that you installed the adb package in addition to the
                                                                                                                                                                                      SDK's. In that case, a



                                                                                                                                                                                      sudo apt purge adb


                                                                                                                                                                                      might solve the problem.







                                                                                                                                                                                      share|improve this answer












                                                                                                                                                                                      Since adb server is out of date. killing is now a dupe of this, copy-paste of a solution for Debian-based systems:




                                                                                                                                                                                      It might be that you installed the adb package in addition to the
                                                                                                                                                                                      SDK's. In that case, a



                                                                                                                                                                                      sudo apt purge adb


                                                                                                                                                                                      might solve the problem.








                                                                                                                                                                                      share|improve this answer












                                                                                                                                                                                      share|improve this answer



                                                                                                                                                                                      share|improve this answer










                                                                                                                                                                                      answered Jun 28 at 9:43









                                                                                                                                                                                      serv-inc

                                                                                                                                                                                      13.2k56684




                                                                                                                                                                                      13.2k56684





















                                                                                                                                                                                          0














                                                                                                                                                                                          To actually explain what happens:



                                                                                                                                                                                          The ADB executable has two components



                                                                                                                                                                                          • the server, which communicates with the device

                                                                                                                                                                                          • and the client, the command line, which communicates with the server.

                                                                                                                                                                                          When you start ADB for the first time you may notice a message like "starting ADB server". If you updated ADB after that, the newer executable needs to kill the obsolete server and start a new one with matching version.



                                                                                                                                                                                          This can also happen when you have multiple versions of ADB present on your development machine (Genymotion, Android SDK, phone OEM companion apps, various standalone scripts).



                                                                                                                                                                                          This does not concern the ADB installed on your phone/emulator.



                                                                                                                                                                                          The obvious (not necessarily easy) solution is to make sure you use the same version of ADB everywhere.






                                                                                                                                                                                          share|improve this answer

























                                                                                                                                                                                            0














                                                                                                                                                                                            To actually explain what happens:



                                                                                                                                                                                            The ADB executable has two components



                                                                                                                                                                                            • the server, which communicates with the device

                                                                                                                                                                                            • and the client, the command line, which communicates with the server.

                                                                                                                                                                                            When you start ADB for the first time you may notice a message like "starting ADB server". If you updated ADB after that, the newer executable needs to kill the obsolete server and start a new one with matching version.



                                                                                                                                                                                            This can also happen when you have multiple versions of ADB present on your development machine (Genymotion, Android SDK, phone OEM companion apps, various standalone scripts).



                                                                                                                                                                                            This does not concern the ADB installed on your phone/emulator.



                                                                                                                                                                                            The obvious (not necessarily easy) solution is to make sure you use the same version of ADB everywhere.






                                                                                                                                                                                            share|improve this answer























                                                                                                                                                                                              0












                                                                                                                                                                                              0








                                                                                                                                                                                              0






                                                                                                                                                                                              To actually explain what happens:



                                                                                                                                                                                              The ADB executable has two components



                                                                                                                                                                                              • the server, which communicates with the device

                                                                                                                                                                                              • and the client, the command line, which communicates with the server.

                                                                                                                                                                                              When you start ADB for the first time you may notice a message like "starting ADB server". If you updated ADB after that, the newer executable needs to kill the obsolete server and start a new one with matching version.



                                                                                                                                                                                              This can also happen when you have multiple versions of ADB present on your development machine (Genymotion, Android SDK, phone OEM companion apps, various standalone scripts).



                                                                                                                                                                                              This does not concern the ADB installed on your phone/emulator.



                                                                                                                                                                                              The obvious (not necessarily easy) solution is to make sure you use the same version of ADB everywhere.






                                                                                                                                                                                              share|improve this answer












                                                                                                                                                                                              To actually explain what happens:



                                                                                                                                                                                              The ADB executable has two components



                                                                                                                                                                                              • the server, which communicates with the device

                                                                                                                                                                                              • and the client, the command line, which communicates with the server.

                                                                                                                                                                                              When you start ADB for the first time you may notice a message like "starting ADB server". If you updated ADB after that, the newer executable needs to kill the obsolete server and start a new one with matching version.



                                                                                                                                                                                              This can also happen when you have multiple versions of ADB present on your development machine (Genymotion, Android SDK, phone OEM companion apps, various standalone scripts).



                                                                                                                                                                                              This does not concern the ADB installed on your phone/emulator.



                                                                                                                                                                                              The obvious (not necessarily easy) solution is to make sure you use the same version of ADB everywhere.







                                                                                                                                                                                              share|improve this answer












                                                                                                                                                                                              share|improve this answer



                                                                                                                                                                                              share|improve this answer










                                                                                                                                                                                              answered Aug 19 at 19:48









                                                                                                                                                                                              Eugen Pechanec

                                                                                                                                                                                              26.2k76889




                                                                                                                                                                                              26.2k76889





















                                                                                                                                                                                                  0














                                                                                                                                                                                                  This was caused in my case by running Visual Studio with an Android Xamarin project on the same machine as Android Studio - each IDE had a different adb server version running. I closed Visual Studio and the error went away.






                                                                                                                                                                                                  share|improve this answer

























                                                                                                                                                                                                    0














                                                                                                                                                                                                    This was caused in my case by running Visual Studio with an Android Xamarin project on the same machine as Android Studio - each IDE had a different adb server version running. I closed Visual Studio and the error went away.






                                                                                                                                                                                                    share|improve this answer























                                                                                                                                                                                                      0












                                                                                                                                                                                                      0








                                                                                                                                                                                                      0






                                                                                                                                                                                                      This was caused in my case by running Visual Studio with an Android Xamarin project on the same machine as Android Studio - each IDE had a different adb server version running. I closed Visual Studio and the error went away.






                                                                                                                                                                                                      share|improve this answer












                                                                                                                                                                                                      This was caused in my case by running Visual Studio with an Android Xamarin project on the same machine as Android Studio - each IDE had a different adb server version running. I closed Visual Studio and the error went away.







                                                                                                                                                                                                      share|improve this answer












                                                                                                                                                                                                      share|improve this answer



                                                                                                                                                                                                      share|improve this answer










                                                                                                                                                                                                      answered Nov 12 at 8:10









                                                                                                                                                                                                      dodgy_coder

                                                                                                                                                                                                      8,48174057




                                                                                                                                                                                                      8,48174057




















                                                                                                                                                                                                          1 2
                                                                                                                                                                                                          next




                                                                                                                                                                                                          protected by Community Nov 7 '15 at 2:28



                                                                                                                                                                                                          Thank you for your interest in this question.
                                                                                                                                                                                                          Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                                                                                                                                                                                                          Would you like to answer one of these unanswered questions instead?



                                                                                                                                                                                                          這個網誌中的熱門文章

                                                                                                                                                                                                          How to read a connectionString WITH PROVIDER in .NET Core?

                                                                                                                                                                                                          In R, how to develop a multiplot heatmap.2 figure showing key labels successfully

                                                                                                                                                                                                          Museum of Modern and Contemporary Art of Trento and Rovereto