Search code examples
androidadbandroid-6.0-marshmallow

Where is adb in Android 6? Is it removed?


I use a terminal emulator on my mobile phone to connect to other Android devices via adb (Android Debug Bridge).

The connect command is:

/system/bin/adb connect 192.168.179.12

This works fine on Android 5 and below versions. But on Android 6 (Marshmallow) I get the following error:

java.io.IOException: No such file or directory

When I browse the file system on my Android 6 phone I cannot find adb at this path. On older Android versions I can find adb at this location.

Did Google remove adb from Android 6 ? Where is adb on Android 6 devices?


Solution

  • Yes, as of android 6.0, the compilation of adb for 'device-on-target' was removed.
    here is my question on the subject
    Don't know why it was removed, but i hope that in the near future they will add the compilation of it.