开发者

Android phone is disconnected when adb is started

开发者 https://www.devze.com 2023-02-12 01:43 出处:网络
I am trying to debug the android phone with adb tool. When I run the adb command on the command prompt, the connected phone get disconnected from the system. I want to use adb logcat on the phone. I a

I am trying to debug the android phone with adb tool. When I run the adb command on the command prompt, the connected phone get disconnected from the system. I want to use adb logcat on the phone. I am using following command:

adb -s <device_id> logcat

After entering the command on command line, it says: adb server out of date. Killing... and after that phone gets disconnected and command line shows waiting for device...

Any idea how to solve the problem? I just want to run logcat on the 开发者_如何学Candroid device. I am using HTC Wildfire phone.

Thanks


I just updated the Phone software, and now using adb logcat command in place of adb -s<decive_id> logcat command.

It just worked fine for me.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号