android - adb server is out of date -


whenever try run adb devices -

            $ adb devices             * daemon not running. starting *             * daemon started *             list of devices attached             ht0anrv05740    device 

it says daemon not running , restarts daemon.

then, if run adb devices again, same thing -

            $ adb devices             adb server out of date.  killing...             * daemon started *             list of devices attached             ht0anrv05740    device 

then, if run again, again exact same thing -

            $ adb devices             adb server out of date.  killing...             * daemon started *             list of devices attached             ht0anrv05740    device 

please help!!

also, ddms keeps giving me following message -

[2011-02-23 16:17:05 - devicemonitor]adb connection error:an existing connection forcibly closed remote host 

here logs 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: wifilock{networklocationprovider type=2 binder=android.os.binder@47aead50}               1291            wifiservice  d  enable , start wifi due updatewifistate               1218            rmt_storage   rmt_storage open event               1218            rmt_storage   rmt_storage client thread started               1218            rmt_storage   rmt_storage events processing done               1218            rmt_storage   rmt_storage register cb event               1218            rmt_storage   rmt_storage status id = 2               1218            rmt_storage   rmt_storage events processing done               1218            rmt_storage   rmt_storage open event               1218            rmt_storage   rmt_storage client thread started               1218            rmt_storage   rmt_storage events processing done               1218            rmt_storage   rmt_storage register cb event               1218            rmt_storage   rmt_storage status id = 2               1218            rmt_storage   rmt_storage events processing done               1218            rmt_storage   rmt_storage write event               1218            rmt_storage   unblock rmt_storage client thread               1218            rmt_storage   rmt_storage events processing done               1218            rmt_storage   rmt_storage write: bytes written = 3145216               1218            rmt_storage   rmt_storage write: bytes written = 512               1218            rmt_storage   rmt_storage status handle = 1               1291       batterystatsimpl   notephonesignalstrengthlocked: 4->3               1218            rmt_storage   rmt_storage write event               1218            rmt_storage   rmt_storage events processing done               1218            rmt_storage   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   rmt_storage write: bytes written = 3145216               1218            rmt_storage   rmt_storage write: bytes written = 512               1218            rmt_storage   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 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    audiofocus  abandonaudiofocus() android.media.audiomanager@476ddee0com.htc.music.mediaplaybackservice$5@476dd838 

are using genymotion virtual device ?

if yes error came out because adb genymotion conflicted adb android sdk(using same port number), fix go settings => choose adb tab => click on option use custom android sdk tools , set sdk folder

enter image description here

after configure this, try restart adb going folder platform-tools adb placed , command:

  • ./adb kill-server
  • ./adb start-server

hope help.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -