从ubuntu终端访问adb shell无法正常工作

时间:2014-04-21 06:10:39

标签: android

我正在尝试从ubuntu终端访问adb shell以查看sqlite db值。我使用以下命令:

" cd / home / santhosh / Android / adt-bundle-linux-x86_64-20140321 / sdk / platform-tools / adb shell"

但是我收到这样的回复:没有找到命令adb。我是linux终端的新手。该怎么办?我也尝试过路径。但adb shell无法正常工作。怎么办?

1 个答案:

答案 0 :(得分:3)

除非你使用,否则这对终端不起作用 ./adb 或设置classpath

这样更好用

“cd / home / santhosh / Android / adt-bundle-linux-x86_64-20140321 / sdk / platform-tools /”

然后 ./adb shell