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

App keeps stopping, logcat error not understandable

Do forgive my poor question drafting skill, please help me understand the error shown in logcat which I believe is the reason why my app stopping My Main Activity File package com.syddhoo.bookapp.pack import…
0
votes
1 answer

Left side tab is missing in Logcat android studio. How to get that back

enter image description here How to get that menu bar back, Please answer my question experts, Thanks in advance
0
votes
0 answers

I can't see App error in "Run" Logcat in Android Studio

After updating Android Studio to version 4.2.1, I can not see my application errors in the "run" section on Logcat. Logcat is in No Debuggable Processes mode. please help me.
Nima
  • 1
0
votes
1 answer

How to get logs when running android tests with ADB

I run tests on multiple devices with ADB in parallel: adb -s 11.11.11.111:5555 shell "CLASSPATH=$(pm path androidx.test.services) app_process / androidx.test.services.shellexecutor.ShellMain am instrument -r -w -e targetInstrumentation…
manu
  • 183
  • 1
  • 12
0
votes
1 answer

How to capture App logs in a text file in Android?

For some user experience related stuff, I want to capture logs of only my App (not the whole logcat) and save them in a text file. I am using Kotlin for my app and it supports latest version of android. I checked many solutions and answers on SO for…
RKB
  • 106
  • 10
0
votes
1 answer

What causes ColorUtils: expected specified color aspects

Recently my application started spamming logs with the following set of messages W/ColorUtils: expected specified color aspects (0:0:0:0) D/ReflectedParamUpdater: extent() != 1 for single value type:…
Nick Cardoso
  • 20,807
  • 14
  • 73
  • 124
0
votes
1 answer

can't see logcat from android device using Terminal app: Permission Denied!

I want to see the exception log that my app throws using logcat. I found that it can be done by using some terminal app. In the terminal I need to enter logcat and it will show me the log. when I try to do it I get: ....... Permission Denied. what…
Alex K
  • 5,092
  • 15
  • 50
  • 77
0
votes
1 answer

What to do when logcat shows error in non-existent lines in android studio

I have edited the NullPointerException present in MainActivity and have exported (cut, copy and paste)them into another class. But my Logcat shows an error in MainActivity. After modifying for `NullPointerException this is my code: …
Gayathri
  • 69
  • 8
0
votes
1 answer

Can anyone read adb logcat errors on my react native android release apk?

I am having problem with the release apk of my react native android app, on development it works fine but on release it crashes upon launch. I know there are lots of similar questions like this but it differs from app to app. The last time i build a…
0
votes
1 answer

Android Studio: logcat says null reference but I don´t see why?

So I have 2 java classes, the main one being intents.java and the second one being BrowserView.java I´ve declared both on the android manifest and added the permissions as well. The main XML file is called main_linearlayout Can anyone spot the…
0
votes
0 answers

How to send logcat by curl POST command

Need to send by shellscript every new string in Android logcat by curl POST command to server. Connected to Android by ADB. I was trying this things: #logcat com.mm.en:I -e "chat"| tee /sdcard/Pictures/out.txt It makes a file, and write every new…
Dru44
  • 1
0
votes
1 answer

is there anyway to see logs of a specific app in android and save theme in a file in storage?

i have an react native app and right now there is no way that i could use crashlytics in my application, my app crashes with no message on different situations, i need some logs from logcat to know what causes the crashes. there are some question…
Gray
  • 531
  • 1
  • 10
  • 28
0
votes
0 answers

Android App Closed after Opening without build error

When I launched the apk on test phone, the app hanged and crashed. How can I fix it? I am a beginner in android the console said : Task :prepareKotlinBuildScriptModel UP-TO-DATE BUILD SUCCESSFUL in 3s I/System.out: Debugger has connected …
0
votes
1 answer

Make ConsoleHandler output appear in logcat output

Is there anyway to make the output of ConsoleHandler appear in logcat? I have the following in the code ConsoleHandler consoleHandler = new ConsoleHandler(); consoleHandler.setFormatter (new DMLogFormatter()); consoleHandler.setLevel…
Vino
  • 1,544
  • 1
  • 18
  • 26
0
votes
0 answers

App terminated after X times launching a new Activity

I have a simple app with 2 activities: MainActivity (with 2 Fragments) and GameActivity. In one of the Fragments "FragmentHome" I have a FloatingButton which upon press launches my GameActivity. When the game ends I show an AlertDialog with a button…
Bbosap
  • 65
  • 4