简体   繁体   English

从Ubuntu终端访问ADB Shell不起作用

[英]Access adb shell from ubuntu terminal not working

I am trying to access adb shell from ubuntu terminal for viewing sqlite db values. 我正在尝试从ubuntu终端访问adb shell以查看sqlite db值。 I am using the following command: 我正在使用以下命令:

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

But I am getting a response like this : NO Command adb found. 但是我得到这样的响应:没有找到命令adb。 I am new to linux terminal. 我是linux终端的新手。 what to do? 该怎么办? I tried to put path also. 我也试着把路径。 But adb shell not working. 但是adb shell无法正常工作。 What to do? 该怎么办?

this wont work for terminal unless you use ./adb or set classpath 除非您使用./adb或设置classpath,否则这将不适用于终端

so better use 所以更好地使用

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

then ./adb shell 然后./adb shell

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM