这个。。adb not found(终端模拟器)

这里是不能这么用的,因为你的这个问题涉及到了adb client, adb server, adbd原理。

这里简单bibi一下。。。不感兴趣直接跳过即可

adb全名Andorid?Debug?Bridge,是一种调试工具

称之为Bridge,?因为adb是一个标准的CS结构的工具。包含如下几个部分:

Client端,?运行在PC机。

Deamon守护进程,?运行在调试设备中,?即的调试手机或模拟器。---adbd

Server端,?作为一个后台进程运行在PC器中,管理PC中的Client端和手机的Deamon之间的通信。---adb

在你的终端上,这里只是Deamon守护进程,既不是Client、又不是Server,所以无法单独运行adb命令。以下操作可简单验证:

#?首先su获取root权限

$?su

#?列出sbin目录,这个目录需要root权限,具体的内容根据厂商可能不一样

$?ls?/sbin

adbd

e2image_blocks

filefrag_blocks

healthd

setlockstate

ueventd

watchdogd

或者直接;

$?su

$?which?adbd

/sbin/adbd

所以这里你应该明白了,设备中提供的是adbd Deamon守护进程,只是桥的一边,无法正常行走。

可以看看该终端模拟器作者的wiki,里面也具体的说明了该目录:

/jackpal/Android-Terminal-Emulator/wiki/Android-Shell-Command-Reference

Notice?also?that?neither?of?the?/sbin?commands?are?useful?to?the?shell?--?the?adb?and?ueventd?files?are?'daemon'?programs?used?to?implement?the?Android?Debugger?"adb"?program?that?is?used?by?developers.