logcat

Collect logs from system classes

荒凉一梦 提交于 2019-12-02 21:13:35
问题 I'm working on an app that uses Android's MediaMuxer for recording the screen. Using Crashlytics, a significant number of users have the "Failed to stop the muxer" crash, but I can't reproduce it locally on any of my devices. According to another question, the MPEG4Writer logs generated while MediaMuxer is running should indicate what the source of the problem is, but since I'm unable to reproduce it locally, I need to collect those logs remotely and pass them over to Crashlytics. So here's

Why do I see “No Debuggable Applications” in Android Studio Logcat while my application is running?

ぃ、小莉子 提交于 2019-12-02 20:03:48
I wanted to filter what is shown in the Android Studio Logcat to show what is relevant to my application only. I have chosen Show only selected applications from the drop down at the top of the logcat as shown in the following screenshot: But in the drop down menu above it which is supposed to show running application(s) (and other options) from which we can choose our application to see Log messages related to it only, I see No debuggable Applications as the only option. Why? WHat should I do to fix this? Note: It does not happen every time I run the project. Sometimes it happens, sometimes

Filtering Logcat Logs on commandline

帅比萌擦擦* 提交于 2019-12-02 18:50:16
public static final TAG = "Legendry Eagle"; Issue: I want to see logs of "Legendry Eagle" from the commandline. I tried: adb logcat -s "Legendry Eagle" adb logcat -s <Legendry Eagle> But Still it is not working. If you only want to show logcat for a specific TAG, do it like this: adb logcat YourTAGHere:Priority *:S The *:S is important, as it sets all other tags to silent. If I want to track only my MainActivity tag at Verbose level, the syntax would look like this. adb logcat MainActivity:V *:S Edit: I found no good way of filtering out tags with spaces. LegendryEagle works fine, but I was

Display Logcat in Terminal?

为君一笑 提交于 2019-12-02 18:45:56
Edit/Solution: execute ./adb logcat in the platform-tools directory. Original Question: I know that there's a way to display the LogCat for an Android device/emulator in Terminal on my Mac, but I'm not sure what the command is. This is mostly due to my incompetence with UNIX commands. Here are my previous failures: adb logcat adb.exe logcat FULL_PATH_TO_PLATFORM_TOOLS/adb logcat FULL_PATH_TO_PLATFORM_TOOLS/adb.exe logcat Ah, just adb logcat should work. You may need to do an explicit path if the Android SDK tools directories aren't in your PATH, but that should do it. If you have NPM, you

Android Studio logger TextView TypeFace style 0

风格不统一 提交于 2019-12-02 16:06:35
In my project, I receive the following in a logcat message, for each TextView in all views of my app: D/TextView: setTypeface with style : 0 The theme I used in styles.xml : <style name="GreenTheme" parent="Base.Theme.AppCompat.Light"> <item name="colorPrimary">@color/primaryGreen</item> <item name="colorPrimaryDark">@color/primaryDarkGreen</item> <item name="colorAccent">@color/accentGreen</item> <item name="windowActionBar">false</item> <item name="windowNoTitle">true</item> </style> I also use buildToolsVersion "26.0.1" I have also tried to use Theme.AppCompat.Light.NoActionBar as the

What does this LogCat error mean?

半世苍凉 提交于 2019-12-02 15:44:45
问题 Im trying to run an example off E3roid examples. Except when i do, i get a force close on the page. Here is the logcat error. By looking at it, can you tell me what it means and what is the problem? 02-28 20:31:51.429: D/AndroidRuntime(1779): Shutting down VM 02-28 20:31:51.429: W/dalvikvm(1779): threadid=1: thread exiting with uncaught exception (group=0x40015578) 02-28 20:31:51.429: E/AndroidRuntime(1779): FATAL EXCEPTION: main 02-28 20:31:51.429: E/AndroidRuntime(1779): java.lang

Android Studio Logcat colors best practice

自闭症网瘾萝莉.ら 提交于 2019-12-02 14:30:34
It is really hard to follow up Android logcat output all in a same color. is there any best practice for changing different logs color? I know that using solid black color logcat in Android Studio is awful!!! Here is my best practice colour codes that you can use for changing the face of you logcat in Android Studio to make it more useful. Go to Android Studio Preferences and search for logcat and 'Save As' your own scheme: Assert : 9C27B0 Debug : 2196F3 Error : F44336 Info : 4CAF50 Warning : FFC107 All colors are picked carefully from google Material Design palette and can help you with more

Android LogCat Filter for multiple tags in Eclipse

杀马特。学长 韩版系。学妹 提交于 2019-12-02 14:22:08
Clicked on create filter could not figure out from docs how to create a filter for say two or more tags. If I have two tags com.test.TestClassA and com.test.TestClassB how do I create a filter that shows log for both of these classes? I saw how you can start ADB for only certain tags, but how can this be done in eclipse? Please provide details thanks. What exactly do I need to enter on the tag line when creating a new filter in eclipse? Idolon As pointed by Brain Reinhold you can combine tag filters with vertical bar | (which obviously means logical "OR"). You can also use that (as well as

LogCat entry meaning 2

倖福魔咒の 提交于 2019-12-02 13:43:32
I don't now the meaning of this LogCat entry. Can someone help me? 12-26 18:33:09.651: E/AndroidRuntime(26038): FATAL EXCEPTION: main 12-26 18:33:09.651: E/AndroidRuntime(26038): java.lang.NullPointerException 12-26 18:33:09.651: E/AndroidRuntime(26038): at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:394) 12-26 18:33:09.651: E/AndroidRuntime(26038): at android.widget.ArrayAdapter.getView(ArrayAdapter.java:362) 12-26 18:33:09.651: E/AndroidRuntime(26038): at android.widget.AbsListView.obtainView(AbsListView.java:2090) 12-26 18:33:09.651: E/AndroidRuntime(26038): at

inserting data in sqlite database errors

二次信任 提交于 2019-12-02 12:33:22
i am trying to get the answers from a form in an application with android. here is the code i used : package com.stage.sondage; import android.app.Activity; import android.content.Intent; import android.database.sqlite.SQLiteException; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.Toast; public class Questionnaire extends Activity { //Création d'une instance de ma classe SurveyAdapter