Questions tagged [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 Eclipse with Android Development Tools (ADT) plug-in provides a logcat view in most perspectives, automatically retrieving logging information.

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

2313 questions
0
votes
1 answer

How to filter and redirect adb logcat output to a file in real-time?

I'm currently capturing Android logs using the following command: adb logcat > ~/Desktop/logcat.txt After stopping the log capture, I filter the logs with: cat ~/Desktop/logcat.txt | grep "Sync execution" > ~/Desktop/logcatFiltered.txt However,…
the_prole
  • 8,275
  • 16
  • 78
  • 163
0
votes
1 answer

Any way to figure out bytes sent/recvd over a data connection on Android?

Possible Duplicate: android: how do i measure the traffic my smartphone produces? I was just wondering if android logs the bytes sent/recvd over a data connection somewhere. I was trying to play around with logcat, but could'nt get anything much…
arun_suresh
  • 2,875
  • 20
  • 20
0
votes
0 answers

how to save android Application logs into Device storage via JAVA Program

I need to get my developed Android app logs. I seen we can do it using adb and android studio, but i want to save logs into device memory for app event track as i can not use PC all time. I am using log.i, log.d, log.e in my coding. I searched on…
Kay Bee
  • 3
  • 2
0
votes
0 answers

Print logs on the Windows command line from the Android App

I have the an Android App on Kotlin that prints many logs many times and I need to create a script on Batch that receives the logs until there is a specific log (e.g. "end_of_logs_specific_log"). I`m printing the logs in my Koltin app this way: fun…
Peter Baev
  • 41
  • 4
0
votes
0 answers

my app is crashing check the logcat error

Logcat E Access denied finding property "ro.odm.prev.product.name" 2023-08-02 19:07:57.330 22821-22821 Perf com.example.chit_chat I Connecting to perf service. 2023-08-02 19:07:57.339 22821-22821…
0
votes
0 answers

reSIProcate Fatal error "FdPollItem idx=13 not deleted prior to destruction"

There was a problem recently that my phone just restarts randomly when it connects to wifi, So I use adb logcat to catch the error and this is what I got: 07-12 15:07:34.341 3190 3337 F reSIProcate: CRIT | RESIP | FdPoll.cxx:551 | FdPollItem…
Shayan.Jpr
  • 13
  • 4
0
votes
1 answer

Android studio it is giving an error in line 35 not exactly showing what error logcat just directs to line 35

package com.example.secondar; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.net.Uri; import android.os.Bundle; import…
0
votes
0 answers

Ring buffers of android logcat

The result of data below is from "adb logcat -d -b V:*". As I know, each of ring buffers - 'main, system, crash, events, radio is separate. But as you can see, log data is continuous. How can I explain them? --------- beginning of events 06-25…
SimDDang
  • 1
  • 1
0
votes
0 answers

Android studio error solving using logcat newer version

How to solve error in new version of android studio using logcat Explain with easiest way expecting i am a beginner . Expalin with easiest way so that i understand.I am a beginner and tutorial is available for previous version android studio
0
votes
0 answers

Printing logcat for only my package name on file?

In my android app, I am writing to file the whole logcat like this: Runtime.getRuntime().exec( "logcat -f " + dir +"Log"+System.currentTimeMillis()+".txt"); but I would like to filter out just the output of my app's package name. I've tried with…
zaxunobi
  • 51
  • 9
0
votes
1 answer

How do I view a complete url in Android Studio Logcat?

I am trying to view a url in the logcat window in Android Studio while doing some debugging, but I can't see the full url, it gets shortened with an ellipsis at the end. Double-clicking on the url takes me only to the shortened URL. How do I enable…
Greg Quinn
  • 1,927
  • 1
  • 23
  • 26
0
votes
0 answers

Having an Issue screen recording on Android Studio, unreadable mp4

I'm trying to screen record off devices using Android Studio through adb connect. I'm successful in taking screenshots in logcat of my device, but when i'm trying to screen record, I only get unreadable mp4's. I've tried recording in several…
0
votes
1 answer

How do I access a data path?

So I have all the information I need regarding the data path because it was answered in another question. My problem is that I’m very very new and I don’t understand where I’m supposed to enter the text in order to actually get to the…
0
votes
2 answers

Logcat is running and collecting device data, however I cannot see it

I'm getting a very strange error with the Android logcat view in Eclipse. I have a device attached, and have selected it from the DDMS perspective, so logcat should be showing messages, however what I see is this: I know that the logcat is…
Phil
  • 35,852
  • 23
  • 123
  • 164
0
votes
0 answers

Why is Timber logger not working consistently in my Android app? (Kotlin)

I'm developing an app on Android and Timber is only logging in some places and not on others. I tried logging in the same places with Log.e() and it worked on all places, meanwhile Timber didn't log on those same locations. For example, I have an…
Synth
  • 21
  • 1
  • 4