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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
30 views

Logcat is empty and not showing details in android studio

I am trying to run an app in android studio and it is giving an error Caused by: org.jetbrains.kotlin.gradle.tasks.CompilationErrorException: Compilation error. See log for more details but when I ...
M Baig's user avatar
  • 87
0 votes
0 answers
26 views

Why do I do I get a adb logcat searching for GlanceAppWidget [closed]

I restart my tablet and then it comes back. How fo I get rid of it permanently? What did I turn on or off? I'm not into programming or the like... It just appeared where the widget I had on the top of ...
David Nahm's user avatar
0 votes
2 answers
51 views

Android Studio logcat message "All logs entries are hidden by the filter"

I am using Android studio giraffe version, and when I clicked on clear logcat, then this message is appearing "All logs entries are hidden by the filter". How can I get rid of this message ...
user2961527's user avatar
0 votes
0 answers
14 views

How to Access USB Connection Logs on Android Without Root Access?

I am working on a project, and I need to access the USB connection logs for debugging purposes. My main challenge is that the target devices for the application cannot be rooted due to security and ...
Hardik Saraf's user avatar
-1 votes
1 answer
30 views

java.lang.reflect.InvocationTargetException . This is the error that is showing in my program pls help here is my code [duplicate]

here is my mainActivity.java file i have created this project for making a TIC TAC TOE game but their is an error . package com.example.tictactoe; import androidx.appcompat.app.AppCompatActivity; ...
Priyabrata Nayak's user avatar
1 vote
1 answer
29 views

How to use a OR condition in Android studio logcat?

Lets say I want to see the logs from Tag named DEBUG_TAG and messages with the string DEBUG_STRING. I tried: message:DEBUG_TAG OR tag:DEBUG_STRING but it didn't work.
Arun Joseph's user avatar
  • 2,840
1 vote
0 answers
26 views

flutter error connect data (something wrong. please try again later)

my code source work good, but when I try to connect him whit new server whit cpanel in neamcheap I got this error in the emulator : something wrong. please try again later. you can see the screen of ...
Azgaou's user avatar
  • 31
0 votes
0 answers
38 views

Logging into Files in Documents External Storage in Android 11 (API 30) with de-and reinstalling the App

I'm trying to put my log output in a file on Android 11. But I have a real struggle with it. Before (Android 10 and below) I logged logcat and lockback and put both in Files on: /storage/emulated/0/...
Shannah's user avatar
  • 39
0 votes
0 answers
47 views

logcat-No connected devices on my Second and third Android Studio versions

I have three versions of Android Studio (Chipmunk | 2021.2.1, Giraffe | 2022.3.1, Iguana | 2023.2.1). I can run my apps on the emulator without any problem, and also, the logcat in the Chipmunk ...
Mahtab's user avatar
  • 11
2 votes
1 answer
64 views

how to print to command line in android

I am just trying to do some basic debugging by printing off values to the command line but when I try to nothing comes up. I have tried using both Log.d("test", "test") and println(...
joseph cauvy's user avatar
0 votes
0 answers
13 views

Logcat in Android Studio is not writing the tags that I told it

I use, for example, Log.e("Throw Err: ", t.getMessage()); but on the logcat the tag is System.out instead of "Throw Err: ". I was expecting that the column of the tag, printed on ...
Darío Ojeda's user avatar
0 votes
0 answers
43 views

Bluetooth low energy permission error for android

I have created an App to scan and connect BLE devices, but unfortunately the app keeps crashing whenever the MainActivity(BLE Scan) is launched, please help me into find the error in my code as I have ...
UncannyHarmony's user avatar
0 votes
0 answers
37 views

How to properly use the filter function of the Device Log in Visual Studio 2022 (Community)?

I am currently working on a .NET MAUI app and I'm running into issues during debugging with the Device Log printing way too much information. In earlier versions there seem to have been filters ...
Allu's user avatar
  • 1
-1 votes
1 answer
48 views

Why does Android not detect any press of physical buttons on mobile phone devices?

I am using Android Studio Giraffe 2022.3.1 Patch 2 and when I press for instance the power or volume physical button on my physical mobile phone the log is empty. I use two different devices one with ...
DevPeter's user avatar
1 vote
0 answers
24 views

How to collect logcat logs for a certain amount of time

I'm trying to collect some logs in powershell with logcat on a device for a certain number of seconds (60). I can't find any commands or parameters that logcat takes to end a log? This is what I have ...
Sarah's user avatar
  • 41
0 votes
3 answers
2k views

Why do I get "use a newer compileSdk of at least 34" error in Android studio?

" "app is currently compiled against android-33. Recommended action: Update this project to use a newer compileSdk of at least 34, for example 34. Note that updating a library or application'...
Dias's user avatar
  • 1
0 votes
0 answers
74 views

WSA logcat logging is filling out my disk

I have developed few android apps in the past and possibly enabled debugging mode and then disabled it. I had also trying to diagnose a freezing issue in WSA before a while and might have enabled more ...
Saud Aljaffer's user avatar
-2 votes
2 answers
62 views

Android Studio Logcat not showing Dropdown of Verbose, Error and other things

Android Studio is not showing up the dropdown that contains Verbose, Error and other things. I'm following a tutorial and it has that drop down menu, but mine doesn't.enter image description here My ...
Prithviraj Patil's user avatar
0 votes
0 answers
15 views

When I open logcat in my android studio the app closes

when I open my Android Studio, if I don't invalidate cache and restart the app, it closes suddenly. When I access the logcat screen, android studio closes instantly. Has the same thing happened to ...
Francisco Diaz de Vivar's user avatar
0 votes
0 answers
23 views

Get logs from FrameworkStatsLog write

Say below code from android: FrameworkStatsLog.write(FrameworkStatsLog.UID_PROCESS_STATE_CHANGED, uid, ActivityManager.processStateAmToProto(state)); getUidStatsLocked(parentUid, ...
lucky1928's user avatar
  • 8,842
0 votes
0 answers
22 views

Will android Log work after app is force stopped

I have one simple doubt, In android studio we see logs in Logcat. I am using this library for logs android.util.Log So my question is will I be able to see my Application logs, if I force stop app( ...
404NotFound's user avatar
0 votes
0 answers
39 views

In Yocto, adb logcat is not executed

I added android-tools_5.1.1.r37.bb on orangepi. And adb shell,push,pull,etc is working well but adb logcat,adb reboot, adb remount is not working. When executing adb logcat, below is output: $ adb ...
Jaehyun Lee's user avatar
0 votes
0 answers
32 views

How to show logdata data without any redaction or restriction, for dubugging in android studio

I am trying to get the json data, convert it into kotlin object using retrofit, as per the requirement it needs filter, but didn't get the required respond from logcat to get to know about my ...
Rishabh Gupta's user avatar
0 votes
0 answers
22 views

Android Error At com.example.crud_listview.MainActivity.onCreate(MainActivity.java:30)

MainActivity.java package com.example.crud_listview; import android.annotation.SuppressLint; import android.content.Intent; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; ...
Usama Patel's user avatar
2 votes
0 answers
75 views

Logcat no connected devices - even when devices are being shown in Android Studio

The message no connected devices is shown in logcat, even when devices are being shown in Android Studio. The command adb logcat works on powershell. The problem occurs on all my coworkers' machines (...
DRBF's user avatar
  • 131
0 votes
0 answers
18 views

Android Studio Logcat Freezes randomly, with no app crash

I am trying to debug an android app, determining the source of bugs which appear randomly, sometimes after hours of runtime. I have set it up to capture the needed information in the Android Studio ...
Jeremy's user avatar
  • 1
0 votes
1 answer
38 views

Missing Logcat options?

I need to create a new filter. However, there is usually more than options that I have in logcat. What happened to the "show only selected application" button in order to edit the filter ...
trinity's user avatar
  • 37
0 votes
0 answers
32 views

Adb logcat display only OkHttp calls

On android studio you can filter OkHttp calls. Is there a command that allows you to do this from the shell? adb logcat ... Can you give me a hand?
Paul's user avatar
  • 3,936
1 vote
1 answer
106 views

How to output file in the right encoding by PowerShell? [duplicate]

I'm trying to output my log file to disk in PowerShell, but i get wrong file content. Info as follow: Windows 10 Enterprise LTSC 21H2 PowerShell Version: Name Value ---- ...
Yatung Yü's user avatar
0 votes
0 answers
55 views

Adb logcat extended data and how to read it

When I run the adb logcat command on the shell it seems different from what Android Studio gives me when I read the logcat there. For example, the date is in compact format. The pid (what I believe is ...
Paul's user avatar
  • 3,936
0 votes
0 answers
28 views

Mouse cursor stops moving in the Logcat window in Android Studio

I'm on the latest Android Studio beta (Android Studio Hedgehog | 2023.1.1 Beta 1) on a Macbook Pro 2015 running macOS High Sierra. I've been facing this issue since the last few beta versions. The ...
vepzfe's user avatar
  • 4,357
0 votes
1 answer
105 views

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 "...
the_prole's user avatar
  • 8,445
0 votes
0 answers
47 views

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 ...
Kay Bee's user avatar
0 votes
0 answers
28 views

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&...
Peter Baev's user avatar
0 votes
0 answers
86 views

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 ...
Satyam Jha's user avatar
19 votes
3 answers
3k views

How to disable new Logcat in Android Studio Giraffe?

I just updated to Android Studio Giraffe 2022.3.1 and the new Logcat mode has been turned on for me. This was off for me in the previous version as I opted out. Is there a way to keep the old Logcat?
Doron Yakovlev Golani's user avatar
0 votes
0 answers
3 views

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: ...
Shayan.Jpr's user avatar
1 vote
0 answers
609 views

Logcat Android what does this line mean

what does this line mean? FBI 07-02 19:58:00.229 26739 26739 E FBI : Can't load library: dlopen failed: library "libmagtsync.so" not found Bootstrap Error Termux can only be run as the ...
Eduardo 's user avatar
0 votes
1 answer
67 views

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 ...
sreelekha's user avatar
0 votes
0 answers
83 views

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 ...
SimDDang's user avatar
0 votes
0 answers
21 views

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 ...
mahendra nirmal's user avatar
0 votes
0 answers
38 views

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 ...
zaxunobi's user avatar
0 votes
1 answer
292 views

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 ...
Greg Quinn's user avatar
  • 1,936
1 vote
0 answers
20 views

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 ...
Estevan Cruz's user avatar
0 votes
1 answer
83 views

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 ...
Boba Fetti's user avatar
0 votes
0 answers
50 views

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 ...
Synth's user avatar
  • 45
0 votes
0 answers
55 views

My android game build is freezing every 2 seconds on my mobile phone

My android game in some mobile phone (mate 10) freezing every 2 seconds. I debug it from LogCat. Can anyone has an idea? LogCat: 2023.05.24 20:55:19.118 13190 13579 Debug PlayerBase::stop() from ...
Sinan Ali Şeker's user avatar
1 vote
0 answers
54 views

Logcat flooded by Minwook devBounds

today i updated my Samsung A53 to Android 13 and after this when i debug my app the logcat gets flooded by the following message 2023-05-11 16:00:08.936 3766-3892 skia package.name D Minwook ...
Lars's user avatar
  • 794
0 votes
0 answers
68 views

Android Logcat does not output logs unless I restart it

I'm trying to use the new Android Logger for the first time. My TestApplication is: package com.example.test import android.app.Application import android.util.Log import timber.log.Timber class ...
MW2023's user avatar
  • 183

1
2 3 4 5
47