logcat

Logcat in eclipse keeps auto clearing

六月ゝ 毕业季﹏ 提交于 2019-11-30 03:26:31
until recently my logcat has been fine but all of the sudden whenever i try to view it in eclipse it just keeps clearing itself whenever anything is displayed making it impossible to read. viewing it in the adb works but I never bother with that since it is just such a pain to read and find anything you are looking for. is there a way to fix this problem? It will show one line before erasing it to show the next one? Just click the verbose button again. Shadoath The Logcat messages were simple getting cleared because the buffer had run out of space (receiving too many new messages), which is a

How can I get logcat on my device to show logs from all processes

ⅰ亾dé卋堺 提交于 2019-11-30 03:21:31
问题 I'm trying to write an app that reads all logs on my device. I've got a client/service architecture, and I see log messages from both the client and service processes but I don't see any messages from any other applications on the phone (I do see other messages using the desktop logcat). Do I need root? Code Snippets Manifest <uses-permission android:name="android.permission.READ_LOGS" /> Log Reader Runtime.getRuntime().exec("logcat -c").waitFor(); Process process = Runtime.getRuntime().exec(

Android Studio: what's causing logcat battery power supply logs?

六月ゝ 毕业季﹏ 提交于 2019-11-30 02:59:01
问题 I have an Android smartphone connected to my Mac using a USB cable. When running Android Studio, the following appears in the LOGCAT. These lines continually repeat, sometimes in a slightly different order. It's not clear to me what's causing this and how I can fix it... 08-09 16:17:31.554 2208-20167/? D/NetlinkSocketObserver: NeighborEvent{elapsedMs=11269730, 192.168.1.254, [5464D91A00EE], RTM_NEWNEIGH, NUD_STALE} 08-09 16:17:32.829 27970-27970/? E/NEW_BHD: Battery Power Supply logging

Android App crashes without any logcat or any exception

廉价感情. 提交于 2019-11-30 02:36:59
Good day.I have very weird situation.The app crashes on some point but not as it usually will crash.The app goes back to previous activity or completelly quiting the application without showing the dialog "UNFORTUNATALLY APP CLOSED" and the android studio did not giving any exception log.This behaviour i assume is a crash...This happens on couple devices which are huaweu p8 lite with lollipop version(default kitkat) and sony xperia z with lollipop version (default 4.2.2).Im unable to debug the app at all and the crash at all...On the rest devices the app wont crash or wont restart or wont quit

Why I have “Setting airplane_mode_on has moved from android.provider.Settings.System […]” into the logcat when my app has nothing to do with that?

非 Y 不嫁゛ 提交于 2019-11-30 02:36:06
问题 I didn't found any reference on-line. Just some logcat with the same line, apparently from Android 4.2+ and possibly from CyanogenMod devices, like the GT-I9100 I own. Developing my android App in Eclipse, I keep getting this line, once in a while, into the LogCat view, auto-filtered with my app's package name. So it seems to be coming from, or at least caused by, my app. The complete line is: Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider

Can't launch application through Android Studio (logcat [DEAD])

♀尐吖头ヾ 提交于 2019-11-30 02:05:24
For the last two days the app I'm working on is showing up as [DEAD] in logcat and when I try to launch the app through the run button in Android Studio all seems fine, except the app never start and leaves no error message in Android Studio, except for [DEAD]. Any idea what this is? Update: I have been able to remove the [DEAD] thing from the logcat by: Removing the app from the device Restarting the device (Should not have been this because it was just started befor it happened, but just in case) Invalidate caches and restart in Android Studio Re-run the app from the toolbar in Android

Logcat cannot detect app or package names

拜拜、爱过 提交于 2019-11-30 01:24:13
I'm using Android Studio (Beta) 0.8.7 and my logcat has been working fine for months. All of a sudden my logcat is unable to detect any app or package names. This means I cannot filter the messages for the particular app I'm testing which is very annoying. Typical logcat messages now look like this: Notice the question mark (?) where the app/package name should be... Originally I thought it was my device but I've tried it with another android device that I own and I get the same issue. This is what I've tried: Restarting Android Studio and my computer Killing and starting the ADB server from

Enable LogCat on Release Build in Android Studio

左心房为你撑大大i 提交于 2019-11-30 01:13:50
By default, when I change Build Variants to release I don't get any Logs on the logcat, but I do need to read release logs of my app, how can I enable this? reVerse Add android:debuggable="true" (default is false) to your Manifest inside the <application> tag. From the docs: android:debuggable Whether or not the application can be debugged, even when running on a device in user mode — "true" if it can be, and "false" if not. respectively You can disable debugging by removing the android:debuggable attribute from the tag in your manifest file, or by setting the android:debuggable attribute to

How do I get Logcat for multiple devices running at the same time in Eclipse

拟墨画扇 提交于 2019-11-30 00:28:09
问题 I have two android devices connected to the same station. I would like to view the logcat for both while running them in debug mode in eclipse. I have had SOME luck with the following steps: Run the app on Device 1 Run the app on Device 2 Open a new window (window/new) In the new window, open view logcat About 40% of the time this results in in each eclipse window showing data from a different phone... but not always. It seems to be almost a luck-of-the-draw kind of thing. More often than not

Getting this exception which forces the android app to crash on start

≯℡__Kan透↙ 提交于 2019-11-30 00:01:33
问题 11-23 10:38:04.430 2095-2095/? I/art: Not late-enabling -Xcheck:jni (already on) 11-23 10:38:04.430 2095-2095/? I/art: Late-enabling JIT 11-23 10:38:04.433 2095-2095/? I/art: JIT created with code_cache_capacity=2MB compile_threshold=1000 11-23 10:38:04.830 2095-2095/com.example.somanshusrivastava.carpiko W/System: ClassLoader referenced unknown path: /data/app/com.example.somanshusrivastava.carpiko-2/lib/x86 11-23 10:38:05.697 2095-2106/com.example.somanshusrivastava.carpiko I/art: