Android debug without USB [closed]

白昼怎懂夜的黑 提交于 2019-12-08 13:01:41

问题


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.


回答1:


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.




回答2:


No in order to debug using your device you must connect using a USB.

When plugging in with a USB it will charge your device however I find that using my daytime phone for testing it will cause future problems with the battery due to over charging.

In 3 years I have never come across away that would allow you to debug without connecting the device with a USB.

If someone knows of a method though I would love to know.



来源:https://stackoverflow.com/questions/19117359/android-debug-without-usb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!