using samsung galaxy 5 as device in eclipse

2019-07-04 22:11发布

问题:

I can't manage to use my Samsung Galaxy 5 from my eclipse. For example I can't debug my app when connecting the s5 to my computer. I see the device in 'devices' but its unknown or offline. I have activated debugmode in the developer options.

Its working for other devices like samsung galaxy tab 10.

Any hints ?

回答1:

There is a small "secret" to get this to work for Samsung Galaxy S5. The Development options menu in Settings is hidden by default. You can make it visible by going to "About device" and then tapping on "Build number" seven times. Yes, seven times. It's like Dorothy in Wizard of Oz, only the magic number is 7 not 3.

After that, "Developer options" will be visible, and there you an put the phone into USB debugging mode.



回答2:

may be this is your data cable fault..

previously it's happens to me also after changing my data cable

problem is solved

sometimes, some data cable is not supported for adb interface like.. same cable is working fine with galaxy tab 10 but not supported with s5.



回答3:

restart your device and then enable USB debugging mode, you should get a RSA key popup, just click OK and it should work :)