zonghai-li / adb-ios

Android ADB on iOS
Apache License 2.0
135 stars 27 forks source link

do you know any android verison adb sdk? #2

Open dvlee1024 opened 8 years ago

dvlee1024 commented 8 years ago

I am developing an app which needs to use adb command. I use command line to input commands like "adb connect ip". But I found that some android device do not support adb cmd. So I want a adb sdk for android like your adb-ios. Do you know one?

donly commented 8 years ago

as I know the ADB was inside Android platform normally, you don't need to support any more.

dvlee1024 commented 8 years ago

Here is why i need an Android version,

  1. I testing with a moto x, it do not support adb command.
  2. My colleage uses adb-ios and try to connect a device which can pop up a dialog to confirm the authorizion. But i use Android device to run "adb connect", no dialog display.
donly commented 8 years ago

What's the android version of your Moto X?

I write a demo running adb shell in app, and it works well on Android 5.1.

dvlee1024 commented 8 years ago

@donly can you connect an android device which "adb connect " command execute by another Android device. In my case, I can connect successful but always display "unauthorized". Maybe we could not get RSA by shell command.