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

An app with four columns

I tried the following code, but the app crashes when I click to view what's stored in the database. DATABASE_TABLE = "EntriesTable" String[] columns = new String[] { KEY_ROWID, KEY_STUDENT, KEY_AGE, KEY_NUMBER, KEY_CLASS }; Cursor…
M.Dixon
  • 23
  • 5
-1
votes
4 answers

Why is android map blank? (No tiles)

I'm trying to get Google Maps working in my signed release build. It doesn't display any grid lines or tiles, it's just blank with my UI shown on top. The map loads perfectly with the debug build. Android studio monitor (logcat) also stopped working…
-1
votes
2 answers

unfortunately application has stopped

I was trying to make a simple Android SQLite database and after I tried to run the app it say "Unfortunately appName has stop" and then I check my LogCat and I encountered some errors. here is my error log: 12-03 12:23:37.659: E/SQLiteLog(1113):…
Ethanhunt
  • 23
  • 5
-1
votes
2 answers

Logcat is displaying my devices details

> I am working on a application and trying to test my on my device (Samsung galaxy). but instead of showing errors and logs, it is showing my mobiles details like temperature, ram etc etc and contentiously displaying the same log again and…
Devraj
  • 1,479
  • 1
  • 22
  • 42
-1
votes
1 answer

Unable to start activity ComponentInfo LogCat

I have no idea what these errors mean and why the app doesn't start :( I have correct names in AndroidManifest .MyActivity package is also the same. LogCat: 08-24 23:38:55.605 370-370/com.example.shinobi.fatburnheartratecalc W/ActivityThread﹕…
Quzziy
  • 65
  • 2
  • 11
-1
votes
1 answer

time on LogCat eclipse for android

is the time on Logcat the finished time or the start time to execute a task? Thanks
shiro
  • 255
  • 2
  • 7
  • 20
-1
votes
2 answers

How do I determine the cause of Android app crash?

I'm using AIDE to develop an Android app on my Nexus 7. The logcat viewer doesn't work well because of changes to security in Jellybean (apps can no longer read each others log files). My tablet is NOT rooted. I started with a basic hello world,…
CaffGeek
  • 21,856
  • 17
  • 100
  • 184
-1
votes
5 answers

Android Error in LogCat

Firstly, i apologize but i am a beginner to android development and with the forum. When i go to run the application on my emulator i get the error; "the application (app name) has stopped unexpectedly. Please try again." And i am struggling to…
user3165683
  • 347
  • 1
  • 9
  • 28
-1
votes
1 answer

No view found for id 0x7f050016

I have fragments with list of elements. When you select element and click it new window with picture and details will apear. Something simple like in Android training That works fine. Now, in other class Activity I have id of window which I want…
Serafins
  • 1,237
  • 1
  • 17
  • 36
-1
votes
1 answer

Error from the main activity when running application

I have been following Android Development tutorials online but when I run the app on the emulator it closes due to errors. I Googled the first error to no avail.But looking through the rest of the log cat I noticed it was throwing errors from the…
Brian Var
  • 6,029
  • 25
  • 114
  • 212
-1
votes
1 answer

what to do if there are no errors in the code but application does not run on the emulator?

I am developing a very simple android app with activities and intents.There are no errors in the code. Console shows: [2013-06-04 15:21:38 - Shoppapp] Android Launch! [2013-06-04 15:21:38 - Shoppapp] adb is running normally. [2013-06-04 15:21:38 -…
-1
votes
2 answers

how to make a sorting letter as alphabets

am new to android ,I juz wanna know how to make like when i click button1, then button2 the text view will show 1 2,,, but if I clicked button2 then button1 it will show 2 1 this is my codes but now when I click button1 then button2, or if i clicked…
-1
votes
1 answer

Does my Java Virtual Machine think that I'm under unix even when I'm on windows?

I'm bewildered about the results that I'm obtaining in the Logcat. I'm trying to read a file but I'm getting a FileNotFoundException. Right now I'm hardcoding the url where the file is located. InputStream readMyFile(String fileName){ File file…
AlvaroSantisteban
  • 5,256
  • 4
  • 41
  • 62
-1
votes
2 answers

Could not run Android app (Application stopped unexpectedly)

I am working on Building up Android Music Player app. I finished designing and coding but when i run it in Emulator it gives me following error : The application Droid Player (process com.droid.droidplayer) has stopped unexpectedly. Please try…
vishalkin
  • 1,175
  • 2
  • 12
  • 24
-1
votes
1 answer

Write logs to Android logcat without using standard apis

I want to implement __android_log_write() functionality using write() or some api available in libc(actually ulibc). The reason being that i cannot use any libraries associated with android as that would increase the memory required. I have very…
Sandeep
  • 18,356
  • 16
  • 68
  • 108