Vaibhav Dhunde
Vaibhav Dhunde

Reputation: 399

Logcat shows nothing when connected to my device but shows when connected to an emulator

I am using Honor 5C. Since I have bought this phone I am not able to catch any error or potential information which helps me solving the bugs using the logcat as it shows nothing when connected to it. But on the other side I am able to see the log in the logcat when testing the app using emulator namely Genymotion. It's like a mystery for me. Even being an Android Developer I am not able to figure it out. So I need your help. I have tried all the tips and tricks related to the question found on Stack Overflow but my problem is different. Please do help.

Upvotes: 0

Views: 3152

Answers (3)

Vaibhav Dhunde
Vaibhav Dhunde

Reputation: 399

After a simple stack search I found the tricky solution for my device

Follow this link

It works for Huawei device (Honor 5C (mine!)).

There are no such USB Drivers available for Huawei deives. Even the support team said they can't help it.

Upvotes: 0

Amit Sharma
Amit Sharma

Reputation: 645

This problem can be occur due to absence of adb driver of your device ... Your can download pdanet+ which will automatically install adb driver for your device.

Upvotes: 0

ZeroOne
ZeroOne

Reputation: 9117

  1. turn on developer options on the android device.
  2. Make sure your device is not connected as a media device. (Some device work if turn on)
  3. enable check box for stay awake.
  4. enable check box for USB debugging.
  5. open cmd
  6. adb kill-server
  7. adb start-server
  8. adb devices

Your device will be listed

if your devices is connected but no logcat. Please invalidate cache and restart

Upvotes: 1

Related Questions