Can I turn off adb automatically starting when Eclipse is open?
I am using Eclipse to develop both C and Java. I have an Android phone, and when I connect it to my PC, Eclipse (?) automatically starts adb, even though all the Android projects are closed. Is there a way 开发者_JAVA百科to prevent this happening?
Reason: I want to tether my phone using pda-net to my PC, to use as a modem. pda-net cannot connect if another adb process is running.
Standard Way
I think that its not possible in any standard way ;) The best you can do is to have two "instances" of Eclipse (Eclipse doesn't neet real installation you ony have to extract it to a directory so you can have many Eclipses) and have one eclipse for Java+Android and another for C.
It's not the real solution but you will be able to work normally wen developing C.
Non-standard Way
Maybe if you create simple bat which will do "adb kill-server" and instantly start pda-net Eclipse will not be fast enough to restart adb server before pda-net connects?
精彩评论