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
0 answers

Is AppCompatActivity object required for calling setSupportActionBar() method?

I went through a code where setSupportActionBar(toolbar) method was used without object of AppCompatActivity class. But when I went on implementing some code, I found it rejecting the way. It is important to use it as the toolbar I am passing as…
Abir
  • 1
  • 1
0
votes
1 answer

Implement Recycler View, can't load memtrack module

I am working on a checklist application and one error keeps leading to another. I was instructed to add implementation 'androidx.recyclerview:recyclerview:1.1.0 and `implementation com.google.android.material:material:1.1.0` to my dependencies…
0
votes
1 answer

I am facing a null pointer exception in findviewbyid function for kotlin(Android)

Logcat of Android studio states that "Caused by: java.lang.NullPointerException: findViewById(R.id.rvMaps) must not be null" App installed on android emulator or physical device doesn't open up due to nullpointer exception. Been trying to find the…
0
votes
0 answers

Endless huawei error logs in Google + Huawei project

I am using the G+H solution in the project I am working on in order to support huawei and google devices. I have both google and huawei libraries in the same project and I decide which services should be used based on HuaweiApiAvailability and…
0
votes
1 answer

How to fix the logcat problem in Android studio dolphin?

I like the new logcat display in Android Studio Dolphin .. when it works. For example, one thing that used to be very annoying in the past was that in many cases of app crashing, the logcat display would be reset, so you couldn't see the exception…
auspicious99
  • 3,902
  • 1
  • 44
  • 58
0
votes
1 answer

Unity APK crashes after the "Made with Unity" splash screen

Hey guys the apk is crashing AFTER the unity splash screen. I genuinely have no idea what to do(search didn't result in much too). But I do suspect that it might be because of unity ads, however in editor it works correctly. Logcat log shows the…
0
votes
0 answers

How to Access Silent Priority Messages in Android Logcat

I am currently running the Android Logcat using adb shell in the command prompt. I have noticed that I cannot see any logcat messages with the S priority tag (silent). I know that they do exist but I don't know how to make them visible in the…
0
votes
0 answers

How to read Logcat from past programmatically?

When filtering logcat in terminal by using adb it's possible to command like this: adb logcat -d -T "01-26 00:00:00.000" And filtering all logs after 01-26 00:00:00. But it doesn't work in programmatically mode. This is my Kotlin…
SadeQ digitALLife
  • 1,403
  • 4
  • 16
  • 22
0
votes
0 answers

Use regex when outputing logcat to file

My logcat files are getting filled with garbage from some bluetooth sytem classes and similar, so I wanted to add a regex filter. The filter works fine in the logcat window in Android Studio, but I cant get it to work when outputing the log to…
0
votes
0 answers

Using regex in Android logicat

I have a need at the app level to capture specific (2) logs. In the case below, the first regular expression is the only one that gets captured. I've confirmed by reversing the order of the regex's. val regex = "*Filesize is larger than…
user3050491
  • 95
  • 4
  • 12
0
votes
0 answers

Avoid un-critical logs in Android Studio [logcat]

I connected my physical device via usb debugging in Android Studio to see my app logs on logcat tab I can not see critical logs because of this line fbcNotifySwapBuffers ret=0 is repeating forever as image shown --> How can remove these logs or…
iibrahimbakr
  • 1,116
  • 1
  • 13
  • 32
0
votes
0 answers

Captured Android Emulator API 28 log lacking logcat logs frequently

We are facing frequently (every second to third run) the issue that the actual logcat logs are missing in our captured log file. This issue only appears with an Android emulator employing a x86 image with API level 28. The following logs are…
auermich
  • 130
  • 10
0
votes
0 answers

How to Fix “Android studio new logcat nothing to show ” in Android Studio Dolphin | 2021.3.1?

My Logcat shows nothing and it’s completely blank. I have tried to resolve this problem but my efforts were failed. I have switched on some times "Enable new Logcat tool window" and restarted Android Studio. I have checked "Logcat Format" I have…
0
votes
0 answers

why adb logcat can't show d/w/v logs but only e logs is working

My adb log was working before. But today it just got messed up and only shows error logs. The d/v/w logs from other system/ other libs are also working. only my normal logs stopped working. Log.e("xxx", "onKeyDown") Log.d("xxx",…
Mars
  • 873
  • 1
  • 11
  • 24
0
votes
1 answer

How to only filter tag in the new logcat

This new logcat is driving me crazy to see only one message... I need to setup a lot of conditions in order to do so I have placed a lot of debug logs into my code that I want to see, only those logs since they are in certain order this is what I…
SNM
  • 5,625
  • 9
  • 28
  • 77