Questions tagged [android-logcat]

Logcat is the command to view and filter information from the Android logging system, but more often the name is used as a synonym for the Android logging system itself.

Logcat is the command to view and filter information from the Android logging system, but more often the name is used as a synonym for the Android logging system itself.

Logging information from Logcat is vital for diagnosing problems and debugging Android apps.

To retrieve information from logcat manually the Android Debug Bridge (ADB) command line tool is used. Alternatively the Eclipse IDE provides a logcat view in its Android DDMS perspective, that automatically retrieves logging information

Detailed information on the logcat command is available at the Android Developers API.

For non-developer questions, see the Android Enthusiasts StackExchange.

1085 questions
-3
votes
2 answers

Need help finding where the error is. (Unfortunately, "App" has stopped)

I'm still learning how to code Android apps using Android Studio. This is the app I'm trying to write to practice having more than one activity. Everytime I run it it says "Unfortunately Multiactivity has stopped" whenever I type something in the…
Dudu Krem
  • 67
  • 3
  • 11
-3
votes
1 answer

Not getting Android logging in adb?

I'm running a Unity3D app and have put some prints (Debug.Log and print) around the code which should be getting hit. I've confirmed that they are and have made sure all logging in build settings are set to 'Full'. Not sure why the output isn't…
meds
  • 21,699
  • 37
  • 163
  • 314
-3
votes
4 answers

How to print log only when app is in development mode?

I need to print logs in my application only while I am developing it. So is there a way like a boolean which will decide if my app is in a certain mode , and only allows to print log then? This will save my time from deleting logs every time I…
Pritish
  • 1,284
  • 1
  • 19
  • 42
-3
votes
2 answers

Android studio logcat error .. how to resolve the following error

How would I resolve this error? There is no error indicated in the code
Gowsik
  • 1,096
  • 1
  • 12
  • 25
-3
votes
4 answers

Crashing App Fatal exception main

Hi I have tried to add a class to my tabbed fragment and it is throwing an error, I thought at first that I was being stupid because I had not added the activity to the manifest but after I did it didn't work. How do you add an activity top the…
JonniBravo
  • 1,051
  • 1
  • 11
  • 26
-3
votes
1 answer

Logcat shows all processes Eclipse

Im trying to 'debug' my application, but for some reason, 'LogCat' shows all processes that is running on my phone, so it's imposible to do some proper 'debuging'. It worked before, so i suspect that i changed a setting or something by mistake. I…
Stains
  • 97
  • 1
  • 12
-3
votes
1 answer

Change Prefix of Logcat output

salam how to change prefix of Logcat for removing all prefix like date and time , ... Log.i("H", "Hi"); output : 06-02 08:58:22.060: INFO/H(1716): Hi
Hamidreza Sadegh
  • 2,155
  • 31
  • 33
-3
votes
2 answers

How do I use logcat in android?

Can any one please tell me how to use logcat? for example I get the error: Null point exception at activity thread Java.2121. what does 2121 here refer to? Is it some line of code? How do I access it?
liall
  • 1
  • 3
-3
votes
1 answer

Working on emulator, not on the device or another emulator. The set target is correct

here is the logCat file: 11-25 01:53:50.047: E/Trace(26246): error opening trace file: No such file or directory (2) 11-25 01:53:50.057: D/ActivityThread(26246): setTargetHeapUtilization:0.25 11-25 01:53:50.057: D/ActivityThread(26246):…
sakshinarang
  • 99
  • 3
  • 14
-3
votes
4 answers

Error "application has stopped unexpectedly" from my Android app

Log cat: 06-08 22:10:24.930: E/Zygote(32): setreuid() failed. errno: 2 06-08 22:10:39.451: E/Zygote(32): setreuid() failed. errno: 17 06-08 22:10:41.590: E/BatteryService(61): usbOnlinePath not found 06-08 22:10:41.600:…
ashwini
  • 11
  • 1
-4
votes
3 answers

My android app suddenly stopped working. Can someone help by deciphering my log cat?

12-20 13:52:15.071: D/AndroidRuntime(278): Shutting down VM 12-20 13:52:15.081: W/dalvikvm(278): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 12-20 13:52:15.100: E/AndroidRuntime(278): FATAL EXCEPTION: main 12-20…
user1026229
  • 11
  • 1
  • 8
-4
votes
1 answer

java.lang.ClassCastException: android.widget.RelativeLayout cannot be cast to android.support.v7.widget.RecyclerView

I am trying to start a new activity whenever the user clicks on an item of my RecyclerView. That's how my activity looks in which my logcat is showing the error package com.example.nikit.phyprac4.ui; import android.content.Intent; import…
-4
votes
1 answer

Kivy App build with Buildozer. APK crash

I am using Oracle VirtualBox running Ubuntu 16. I have been able to build apk files for a while until my latest build. My program will run and keep its functionality when run with python 2.7 on the same Virtual machine. When i install the .apk file…
JohnPaul
  • 294
  • 1
  • 4
  • 13
-4
votes
2 answers

My program continuous gives error. Can you help me? I have tried so hard but didn't improve the error

03-11 15:03:32.743: E/AndroidRuntime(1556): FATAL EXCEPTION: main 03-11 15:03:32.743: E/AndroidRuntime(1556): Process: com.example.takipci, PID: 1556 03-11 15:03:32.743: E/AndroidRuntime(1556): java.lang.RuntimeException: Unable to start activity…
-4
votes
1 answer

Watchdog Big Brother Watching - what's this?

I would like to know what's this: W/Watchdog( 1396): Watchdog Big Brother Watching : com.android.server.WindowManagerService I received this message in logcat when I connected LG P970 to PC.
Ziem
  • 6,579
  • 8
  • 53
  • 86
1 2 3
72
73