I realize that this question has basically been asked ad infinitum, but I haven't been able to find a solution that works for my case.
I'm using Android Studio 1.5, debugging on a LG-MS770, running Android 4.2.2.
The other devices I have tested with function perfectly (HTC One M8, Samsung Galaxy S5, Note 4, multiple others, along with numerous virtual device configurations), but this phone produces absolutely zero Logcat output. There is nothing for my application, nor any other processes running on the device. If it's relevant, the other measurements in the Android Monitor (Network, Memory, CPU, GPU) all output fine.
I've ensured that debugging is enabled through USB. (I can step through breakpoints, but Log.d("TAG","log")
shows nothing.
I've also tried the usual fixes to this issue: restarting logcat, making sure the filter is set correctly, running adb kill-server
& adb start-server
, disconnected and reconnected the device, restarting Android Studio and my PC, all to no avail.
Does anyone know any other solutions to try? Or perhaps something specific to this device?
Thanks!
EDIT:
The device is rooted, and has a custom rom based on CyanogenMod 11
adb logcat -d
prints the following:
reloc_library[1331]: 20370 cannot locate 'android_log_setColoredOutput'... CANNOT LINK EXECUTABLE
Is this related to the custom rom?
The Problem is with your custom ROM. It has an incompatible "liblog.so" included. I guess it is not a official build from CyanogenMod.
I would recommend updating to Android 5.0. I found a ROM here: http://androidforums.com/threads/rom-v5-0-lolipop-nightly-for-lg-motion-ms770.882980/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With