问题描述
我使用Eclipse,我想使用我的设备调试应用程序,但又不损坏它的电池,因为在它仍然不放电时,我应该始终给它充电.是否可以通过USB将设备连接到adb而不进行连接?
我尝试使用logcat应用程序,但是有点不舒服.我搜索了一个不需要root的应用程序并记录了日志,但是没有找到它.
不使用ADB(带有root)进行调试的方法有几种:
-
使用商店中的logcat应用程序
-
使用 WiFi ADB 应用
如果您使用的是Jelly Bean或更高版本,将无法在没有root用户的情况下使用logcat应用程序.不管您运行的是哪个版本,wifi方法都需要root用户.
基本上,如果您没有root用户,则可能要坚持使用老式的USB电缆.
I use Eclipse and I want to debug my app using my device but without damaging its battery, because I should always charge it when it's still not discharged. Is it possible to connect a device to adb without connecting it via USB?
I tried with logcat apps but it's a bit uncomfortable. I searched an app that doesn't require root and records the log but I didn't found it.
There are a couple ways to debug without ADB(with root):
Use a logcat application from the store
Use a WiFi ADB app
If you're using Jelly Bean or newer, you won't be able to use the logcat apps without root. No matter which version you're running, the wifi method requires root.
Basically, if you don't have root, you might want to stick with a good old fashioned USB cable.
这篇关于没有USB的Android调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!