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
1
vote
0 answers

Android-NDK : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), how to find error

Good day lads. I'm issuing some problems with my Android application. I've been building and using C libraries (libcurl and my C files from tje JNI interface) with ups and downs but it was a smooth sail until today : while it sometimes works…
PeterGriffin
  • 910
  • 8
  • 19
1
vote
1 answer

How to save and view LogCat errors without eclipse? aLogCat?

I'm developing an app and I'm stuck with a weird error. I can't reproduce it always in my phone (galaxy nexus with 4.2)... It happens sometimes and absolutely never I've achieved to do it when I'm trying the app in eclipse (where I can see easily…
Ivan
  • 180
  • 1
  • 2
  • 16
1
vote
3 answers

Android LogCat sqlite syntax error meaning

I get the log cat error below: 11-18 21:37:49.700: E/AndroidRuntime(19122): Caused by: android.database.sqlite.SQLiteException: no such column: Home1: , while compiling: SELECT _id FROM projects WHERE _name like Home1 11-18 21:37:49.700:…
Jaiesh_bhai
  • 1,778
  • 8
  • 26
  • 41
1
vote
2 answers

Android app crash, can't understand the logcat to find why

I have this code in the main activity: package flash.light.pro; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.content.pm.PackageManager; import android.hardware.Camera; import…
vlio20
  • 8,955
  • 18
  • 95
  • 180
1
vote
0 answers

import data to database while do another activity?

I'm developing a "question and answer" Android app. When a user chooses a wrong answer, the game ends and this question and its answer are imported to a database. But I have a problem, I can import the question and its answer to the database but the…
mr Z
  • 119
  • 1
  • 3
  • 9
1
vote
1 answer

Android SQLite Database onCreate error

I am new to SQLite and am trying to go about creating a basic database for learning purposes. In my Main I declare a new DbHelper and SQLiteDatabase.. // Open Database DbHelper dbHelper = new DbHelper(Main.this); SQLiteDatabase…
mgibson
  • 6,103
  • 4
  • 34
  • 49
1
vote
0 answers

ArrayAdapter for ListView Icons crashing app

I am very very new to Android Development and have little to no experience. However i looked up a tutorial of how to get icons next to text in a listview. I followed the tutorial and after getting no errors, launched my app. When i click any…
user1798956
  • 53
  • 4
  • 12
1
vote
1 answer

AVD/Eclipse Mobile network settings "Data Enabled" bug

Whenever I untick "Data Enabled"(Settings->Mobile network settings) within my AVD I get the following error, I lose LogCat connectivity, and I have to restart the AVD/Eclipse : [2012-10-31 16:11:07 - Unexpected error while launching logcat. Try…
Iraklis
  • 2,762
  • 1
  • 24
  • 31
1
vote
3 answers

unfortunately application has stopped AVD

So I'm creating a simple app that will show a googlemap. I have no project errors but I am getting the unfortunately "application" has stopped error. Here is my logcat 10-29 13:10:00.916: D/AndroidRuntime(458): Shutting down VM 10-29 13:10:00.916:…
Vasman
  • 7
  • 6
1
vote
2 answers

Android: How to find out reason for "Unfortunately [...] has stopped"?

when I run my Android application with an emulator, it works perfectly, and so it does on my phone, but on another phone, trying to run the app, I always get the "Unfortunately [...] has stopped" error. How can I find out the reason for this error…
vauge
  • 801
  • 4
  • 14
  • 30
1
vote
3 answers

Why logcat showing this?

Am using android latest version sdk with 4.1 version emulator in eclipse (Helios). Every thing is working fine. But in my logcat for each run of any application am getting following statement. I/Choreographer(1250): Skipped 1001 frames! The…
Androholic
  • 526
  • 3
  • 9
1
vote
1 answer

How to read full logcat lines with -vtime options with JellyBean?

I have an application on ICS (4.0.3) that uses logcat with -vtime option. It reads the logcat using this code: try { Process process = Runtime.getRuntime().exec("logcat -vtime -d"); BufferedReader bufferedReader = new BufferedReader( new…
Vidango
  • 11
  • 2
1
vote
1 answer

logcat displaying excessive delay setting brightness

i created a simple android app in eclipse and and am running it on an emulator. its really slow and when i checked logcat i saw a couple of 'excessive delay' lines. EDIT: to clarify, the app does run and displays the intended 'Enter a message sir'.…
user571099
  • 1,491
  • 6
  • 24
  • 42
1
vote
1 answer

Is there any alternative to eclipse LogCat?

Maybe I'm too spoiled with Visual Studio debugger but eclipse' LogCat seems really ugly tool to me. Exceptions not descriptive so much Sometimes hard to locate exceptions Ugly interface which wasting my time If I'm wrong, please tell me some good…
Vitalii Korsakov
  • 45,737
  • 20
  • 72
  • 90
1
vote
1 answer

Android logcat bluetooth regex

I am debugging Bluetooth on Android and I want to list all avaliable messages related to Bluetooth but I can't find anywhere a list of Bluetooth tags. Is there a `list` available? or a `regex` that allows me to see all messages related to…
Ahmed
  • 3,398
  • 12
  • 45
  • 64