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
-1
votes
1 answer

Main_Activity Launch crashes

I'm trying to make an android app, but on launching the main activity on an developer device the logcat goes like this: The device is Samsung GT-S5282: Rooted: Resurrection Remix (Marshmallow) 07-23 21:35:35.840 28372-28372/? I/art:…
-1
votes
2 answers

Android studio showing device as someAlphanumeric[null]

I am using Redmi Note 5 Pro as a physical device to connect to the android studio. A night before everything was working fine and I was able to install apps from android studio to my physical device and view Logs with ease but Now apparently it's…
Falcon
  • 372
  • 4
  • 20
-1
votes
1 answer

How can I resize items in the LogCat window in Android Studio?

Hi. This has been bothering me for a long time and I haven't found any solution yet so I thought I'd ask here. In the screenshot, you can see that the "search" part in the LogCat is really tiny because of all the other items taking up so much…
Bazinga
  • 489
  • 1
  • 5
  • 16
-1
votes
1 answer

Android App can't get Data from Web

Why I get this Error and my app stop. I try to change all domains and all domains are available. The Mobile Phone have Internet connection and in the Manifest I don't forget the Internet premission. I don't know what I forget. I think it's because I…
-1
votes
3 answers

My app crashes when I try to navigate, can't seem to find issue

I can't seem to find whats wrong with my application... Here is the logcat: 11-05 16:37:30.030 7867-7867/com.capstone.miguel.studentassistant E/AndroidRuntime: FATAL EXCEPTION: main …
migueldeo
  • 3
  • 2
-1
votes
5 answers

Having trouble finding where the issue in this logcat message

I just can't seem to find the root of the crash in this logcat message. I really hope someone can help with it. If not no worries. Here is the message I'm getting right before the app crashes: (i'm really sorry for it being so long) 09-11…
user8580010
-1
votes
1 answer

getting error while using logcat for checking logs of an app in linux

I want to know bugs of my android app so i tried to use logcat to see its log and followed these steps:- You need to use adb server. 1. Connect your android with your laptop/pc 2. Go to developer options and turn on the stay awake and USB debugging…
Akash Tyagi
  • 119
  • 1
  • 1
  • 11
-1
votes
6 answers

Can't see token in logcat for Firebase Push Notification App

I am trying to create an app for Push Notifications using Firebase (on Windows 10) But I'm unable to get the token in logcat. Actually this code have to display token in logcat named as Refreshed Token but it's not displaying it, I have also…
-1
votes
1 answer

How to debug in Android Studio Logcat

I am new to Android Studio and Android programming and am attempting to follow a how to lesson. I am having a lot of trouble following Android Studio Logcat because it is not as straightforward to me as any IDEs have used. Could someone please…
J. Doe
  • 11
  • 3
-1
votes
3 answers

Getting adb logs on PC using a batch file while the Android app is running

I have a created a windows batch file(log.bat) like this below : adb logcat -c adb logcat -d > log.txt But it soon exits whenever I press log.bat command. I want it to keep recording the logs unless I press ctrl+C.
Raulp
  • 7,758
  • 20
  • 93
  • 155
-1
votes
1 answer

Filter Configuration/Adb commands for viewing only Verbose (AND) Debug Logs in Android Studio

How can I create a filter in Android Studio to view only V/ and D/ (Verbose and Debug) Logs only. Currently I can select only one at a time. Alternatively, is there an adb command to capture Debug and Verbose level logs messages only? UPDATE : I am…
Raulp
  • 7,758
  • 20
  • 93
  • 155
-1
votes
2 answers

Creating Filter Log for Logcat in Android Studip

I have something like below logs coming in my android App 01-11 13:31:49.382 4060-4345/? D/VibratorService: Turning vibrator off - ImmVibe. 01-11 13:31:49.377 4060-4359/? I/InputDispatcher: Delivering touch to (12286): action: 0x0, toolType: 1 01-11…
Raulp
  • 7,758
  • 20
  • 93
  • 155
-1
votes
1 answer

Automatically launch apps using adb

I am trying to do some fuzz testing against an Android apk, and I need to launch the apps from adb, input some string value, click submit, and click OK for any pop up. I don't have much knowledge about Android, and I just managed to launch it from…
sqr
  • 365
  • 2
  • 12
  • 29
-1
votes
1 answer

Use two ArrayAdapter in the same ListView

I have these activities: CoffeeActivity and DrinkActivity This is my main activity, which has a ListView public class CalculationHistoryListActivity extends AppCompatActivity { Save saveData; ListView listView; ArrayList…
-1
votes
1 answer

How to get the latest result from an adb logical grep search from python?

I already have an android emulator instance open in the background. I want to write a python script that can use subprocess module to grep the logcat for a certain word, and return the latest (based on timestamp) result from that search as a string.…
user2611836
  • 386
  • 4
  • 6
  • 17