Eclipse and Android: cannot debug on Samsung Galaxy S2 because not detected

前端 未结 5 1036
眼角桃花
眼角桃花 2021-01-13 09:00

I am just starting to learn on Android development. I use Ubuntu 11.10 and Eclipse. I have installed the needed plugins from android development, and I have also write yet s

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-13 09:47

    I experienced the same issue on Mac OS X with Eclipse. Simply putting the phone in 'debug' mode (Settings -> Applications -> Development -> USB debugging) did not solve the issue. I have to do below in the command line to solve the issue.

    sudo adb kill-server
    sudo adb start-server
    

提交回复
热议问题