linux logcat阻塞,同时使用logcat的在Linux中

我想知道我的Android应用程序的错误检查应用程序的日志得到错误,所以我试图用的logcat看到它的日志,并按照这些步骤: -同时使用logcat的在Linux中

You need to use adb server.

1. Connect your android with your laptop/pc

2. Go to developer options and turn on the stay awake and USB debugging options. (Your phone)

3. In your terminal, type "sudo adb kill-server" and then "sudo adb start-server".

4. Type "adb devices" (this should give list of devices connected)

List of devices attached

you_device_name device

5. "cd" to your folder where you have made your build.

6. Type "buildozer android debug deploy run logcat > logcat.txt"

this saves the logs (for the entire process) in a file logcat.txtx in the same folder and also deploys you app on the phone.

Go through it and find your error.

7. keep your phone awake.(do not lock it).

但是,当我跑的第6步,每次谈到它说: -

error: device 'adb' not found

- waiting for device -

我已经在互联网上搜索了很多次,当最后我张贴在这里得到解决

+0

不要Downvote如果有人不知道该解决方案 –

+0

什么,当你运行'亚行devices'发生什么呢?您的设备是否使用正确的权限检测?你可以请发布输出吗? –

+0

@SrinivasSuresh这是结果: - 根@卡莉:〜#ADB设备 连接 *守护程序没有运行的设备的清单。现在从端口5037开始* *守护进程已成功启动* efeb26190903 \t设备 –

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值