logcat

What does this LogCat error mean?

纵饮孤独 提交于 2019-12-02 12:27:41
Im trying to run an example off E3roid examples. Except when i do, i get a force close on the page. Here is the logcat error. By looking at it, can you tell me what it means and what is the problem? 02-28 20:31:51.429: D/AndroidRuntime(1779): Shutting down VM 02-28 20:31:51.429: W/dalvikvm(1779): threadid=1: thread exiting with uncaught exception (group=0x40015578) 02-28 20:31:51.429: E/AndroidRuntime(1779): FATAL EXCEPTION: main 02-28 20:31:51.429: E/AndroidRuntime(1779): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{and.roid/and.roid.AndroidActivity}: java.lang

Collect logs from system classes

一世执手 提交于 2019-12-02 10:25:54
I'm working on an app that uses Android's MediaMuxer for recording the screen. Using Crashlytics, a significant number of users have the "Failed to stop the muxer" crash, but I can't reproduce it locally on any of my devices. According to another question , the MPEG4Writer logs generated while MediaMuxer is running should indicate what the source of the problem is, but since I'm unable to reproduce it locally, I need to collect those logs remotely and pass them over to Crashlytics. So here's my problem: MediaMuxer and MPEG4Writer are system classes, so obviously I can't edit them to add

NullpointerException when Launching activity

百般思念 提交于 2019-12-02 09:29:55
i have an arraylist that do this : ArrayList<Integer> id = new ArrayList<Integer>(); for (int i = 0; i <= 20; i++) { id.add(getResources().getIdentifier("q"+i, "raw", getPackageName()));} this method before a little change is working good but now have force close! and i get this logcat: FATAL EXCEPTION: main java.lang.RuntimeException: Unable to start activity ComponentInfo{yaAli.package313.hossein110/yaAli.package313.hossein110.know}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java) at android.app.ActivityThread.handleLaunchActivity

Log cat in android

橙三吉。 提交于 2019-12-02 09:25:48
I am a new android developer so I don't know how to use logcat. So kindly request that if you know then guide me. Connect your device, open a console window in the tools directory of your android sdk installation and run adb logcat Or start an emulator and do the same. If there's more than one device connected you needed to pass the "-s" parameter specifying the devices. get them using adb devices if you are using eclipse IDE for development, you need to go to WINDOW->Show View->others->in that choose android->logcat...it will appear right beside your console.... 来源: https://stackoverflow.com

Android, Logcat and BufferedReader - no logs

99封情书 提交于 2019-12-02 08:58:08
问题 I'm making an application, which must show me in logs which applications I start on device. I use logcat ActivityManager:I *:S and it doing this well.. at some devices and emulators. But at some devices it has strange behavior - everything I see in log is repetition of: 02-18 16:32:09.132: D/LockApp(4082): --------- beginning of /dev/log/main Code snippet: Process process = null; try { process = Runtime.getRuntime().exec("logcat -c"); process = null; process = Runtime.getRuntime().exec(

Android, Logcat and BufferedReader - no logs

心不动则不痛 提交于 2019-12-02 06:54:07
I'm making an application, which must show me in logs which applications I start on device. I use logcat ActivityManager:I *:S and it doing this well.. at some devices and emulators. But at some devices it has strange behavior - everything I see in log is repetition of: 02-18 16:32:09.132: D/LockApp(4082): --------- beginning of /dev/log/main Code snippet: Process process = null; try { process = Runtime.getRuntime().exec("logcat -c"); process = null; process = Runtime.getRuntime().exec("logcat ActivityManager:I *:S"); br = new BufferedReader(new InputStreamReader(process.getInputStream()));

adb抓log

岁酱吖の 提交于 2019-12-02 06:11:39
android 抓取log 的方法: unix-like 系统: adb shell logcat -v time thread | tee ./log.log win 系统: adb shell logcat -v time thread > log.log 来源: https://blog.csdn.net/JemyCheung/article/details/102728614

Real device produce too many log

梦想的初衷 提交于 2019-12-02 05:52:32
问题 I was developing a simple program for android. I tested it on a real device samsung young android 2.3. My program produce some log output for debugging purpose. Every thing was ok, but my device began to produce a lot of messages in Eclipse LogCat window, even when my prog was not running. Device produces messages like this: 02-08 09:14:51.960: D/CallManager(1560): handleMessage (EVENT_SERVICE_STATE_CHANGED) 02-08 09:14:54.078: E/StatusBarPolicy(1548): ecio: 22 02-08 09:14:54.078: E

Android SoftKeyboardDetect: Ignore this event what does it mean?

こ雲淡風輕ζ 提交于 2019-12-02 03:58:42
I see this debug message frequently in LogCat. When doing swipe or rotating the device for example. The emulator doesn't react to the events then. What does it mean? In need to test rotation on the emulator but on some versions, when I press CTRL F12 or CTRL F11 nothing happens (well, the device rotates as a whole but not the screen) and I see this message in log. I don't find anything with google either... Ok, it's PhoneGap specific. I found something in the source code of PhoneGap: /** * We are providing this class to detect when the soft keyboard is shown * and hidden in the web view. */

Real device produce too many log

倾然丶 夕夏残阳落幕 提交于 2019-12-02 01:27:36
I was developing a simple program for android. I tested it on a real device samsung young android 2.3. My program produce some log output for debugging purpose. Every thing was ok, but my device began to produce a lot of messages in Eclipse LogCat window, even when my prog was not running. Device produces messages like this: 02-08 09:14:51.960: D/CallManager(1560): handleMessage (EVENT_SERVICE_STATE_CHANGED) 02-08 09:14:54.078: E/StatusBarPolicy(1548): ecio: 22 02-08 09:14:54.078: E/StatusBarPolicy(1548): iconLevel: 4 02-08 09:14:56.640: E/StatusBarPolicy(1548): ecio: 23 02-08 09:14:56.640: E