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

Webview is not showing even when theres no errors

My app has a webview . Nothing just a webview to a constraint layout and a website and has the permission set to internet too. Why am I still getting a blank page on my app? My code: Manifest
0
votes
1 answer

LogCat is absent in Android Studio at not Android Studio project

In the context of IONIC based application, I am developing a Native Cordova plugin for Android. I opened the Android prepared and run the application by Android Studio successfully. But I see that LogCat has gone away from everywhere: menu, actions…
Victor Shelepen
  • 1,966
  • 2
  • 16
  • 41
0
votes
1 answer

LogCat filtering - include and exclude at the same time

I'd like to show logs that contain MainActivity but don't contain ActivityManager, so that this match is excluded: I/ActivityManager: Start proc 2666:com.example.app/u0000 for activity {com.example.app/com.example.app.MainActivity} I tried as…
activity
  • 2,653
  • 3
  • 20
  • 44
0
votes
0 answers

getting failure [DELETE_FAILED_INTERNAL_ERROR]

I am trying to remove com.oppo.market from my realme 5 using adb but it is again and again giving me error saying FAILURE [DELETE_FAILED_INTERNAL_ERROR] . I tried both pm uninstall com.oppo.market and pm uninstall -k --user 0 com.oppo.market but no…
sam16930
  • 51
  • 5
0
votes
3 answers

Logcat not showing anything android api level 22

I have problem with Logcat. Logcat not showing anything only if I use some device with Android API level 22. I use Android Studio.I did: change ADB location on device,kill adb server, restart Logcat, Invalidies caches/restart, reinstal Device,…
0
votes
1 answer

Why is Android Studio logcat is not showing the current status despite adding the code in main.java and adding the filter?

I am learning to use Android Studio in OSX Catalina 10.15.3 and as per a tutorial to identify which state my app is running currently I wrote the following in MainActivity.java ' package com.example.learn; import androidx.annotation.NonNull; import…
Arthur
  • 9
  • 1
  • 2
0
votes
0 answers

Android Java with Native C undefined reference to `__android_log_print'

I know this question has been asked a million times, however i have tried all methods listed all types of configurations and can not get this to work. I really need to get logging info out of my C code. I will share relevant files if anyone can help…
0
votes
1 answer

Android - App crashes if there are not a lot of items

I am displaying comments on a post using a recycler adapter. The code is set to scroll the recycler view to the bottom when the edit text is clicked, and when a new comment is posted by the current user. If the keyboard is shown and the recycler…
0
votes
0 answers

One of Log.d methods doesn't execute and doesn't throw an exception at the same time

I have a few lines of Android Java code which are supposed to create a JReJSON (A Java Client Library for RedisJSON) object and print some data from my DB to Logcat: GenericObjectPoolConfig config = new GenericObjectPoolConfig(); …
user13271426
0
votes
1 answer

Do some phones not print messages to Logcat in Android Studio?

I'm new to Android Studio and have been attempting to print messages using Log.d() for an assignment. Because my PC doesn't support virtualization, I've been using my phone the LeEco Le Pro3 to run my apps, but recently I've noticed that the Log.d()…
0
votes
1 answer

Retrofit call with htaccess

In my app, I use an api, the production server of which is open, but the dev server of which is protected by htaccess login. I need to test something that's in the dev server of the api, but can't get around that htaccess wall. I thought I could put…
Paxana Non Grata
  • 379
  • 1
  • 7
  • 23
0
votes
1 answer

Can any one Explain how dalvik GC works or when does it kicks in

DEBUG/dalvikvm(7485): GC_FOR_MALLOC freed 32760 objects / 1861208 bytes in 114ms DEBUG/dalvikvm(778): GC_EXPLICIT freed 1136 objects / 57248 bytes in 70ms DEBUG/dalvikvm(778): GC_FOR_ALLOC freed 1136 objects / 57248 bytes in 70ms Can anyone point me…
user755499
  • 2,241
  • 4
  • 25
  • 34
0
votes
0 answers

Android Studio - Error while creating Table - Logcat

DatabaseHelperClass.java This is the database helper class for creating the database in android. But it is not working as I see in the android logcat. It is unable to point location column in database. Please advise if I made any mistake in the…
Gaurav Bhagat
  • 97
  • 1
  • 5
0
votes
1 answer

Understanding adb logcat and how to filter from a example

I am using Android's adb logcat for my React Native development. This is a sample of what is outputted by adb logcat: 03-19 16:47:01.168 14818 15029 I ReactNativeJS: inside f1 03-19 16:47:01.198 14818 15029 I ReactNativeJS: inside swe_rise_trans of…
preston
  • 3,721
  • 6
  • 46
  • 78
0
votes
1 answer

Is it feasible to develop in Android what would be an equivalent of logcat output in little time?

The question may sound stupid, but I'm explaining: I'm not 100% sure how logcat Works, but I think it's safe to guess that it reads internal produced messages from the app it's monitoring. I think it would be possible to also get to read these…
user2638180
  • 1,013
  • 16
  • 37