log on computer of application android application running on tablet - android

I have installed some android application on google nexus 7 ( tablet) , I want see the log of those applications.
This applications are not created by me, but yet i want to see where the application crashes through the log.
I was able to do this with my iOS device, by simply connecting and opening the console in xcode. How to do this for android.
Can anyone tell, what code or what procedure is to followed. ?

You can install the android tools and use adb logcat to monitor to logcat output from your device.
You will be able to see the crash stack trace, but not the code which makes it crash.

Well, I got the page which explains this better.
http://developer.android.com/tools/device.html

Related

how to fix "app stopped unexpectedly" on mobile. App is running in unity but not in android phone

I am designing an experiment in unity. It is running on it but not on the android phone. I have tried by changing all the settings. I don't know much about coding but the program is just copied from another program where it is working correctly.
Try to connect your android device with android device monitor and run the app. So that you will get to know which causes the problem to crash the app.You can check the log on using this monitor. Please have some google search to get more info regarding this.
For more info follow the following link.
https://developer.android.com/studio/profile/monitor

How can you get details about crash of Android app?

It is not really a programming question. I have this app that continues to crash on my phone, but works fine for everybody else. I used to program android apps, so I have knowledge in this field.
It something on my phone probably it always crashes at the same stage. I did not program this app. How can I still get the details of the error or the trace of the exception?
I would suggest plugging the phone into your computer or laptop, opening up the Logcat tab in Android Studio and viewing the exception details as the app crashes.
This can be done separately from Android Studio using ADB but it involves more steps.
Of course, make sure that you have enabled USB debugging on your device before this.

Is it possible to see output from log cat without having the app source code?

I have an app installed on my device.
An app that I developed, but I haven't got the source code anymore.
Is it possible to attach log cat to this app?
yes you can, just enable usb debugging on your android device, and plug the device where you have the application installed on it, by that, you will see all the logs on logcat.
Depends if you've left logs in the code. If you did, the easiest method would be probably going into your Android Studio and checking you Android Monitor tab. You can switch devices / applications there.
If you don't have any logs and your question actually means you want to add some logs in, then I'm afraid you can't reliably do that.

Get LogCat From Android Device Manually

My phone cannot connect to the android ADB but I need to check its logs since it seems to be getting unique errors from an app I made. aLogcat app is outdated and getting "bug reports" from developer options is unreadable for me.
Is there any way for me to get a logcat report of my app while I'm running an application on it?
Edit: I use a droid Mini phone and it won't connect to eclipse. After installing the specific driver for the device it worked.
First of all, consider making ADB work for your device. Provided this is totally impossible, consider using ACRA. If you don't want to integrate fully with it, check their logcat collection code.

Why .apk file is not running on the real device

I have developed an Android app. That app is running on the emulator perfectly. My application gets data from webservices. when I run the applicaton on a real device, I am getting force close.
I do not understand what the reason is. I came to know that we can debug our application by running on real device. I don't know exactly how to do it.
I found some link for using a real device for debugging http://developer.android.com/tools/device.html. But in this link it is given that usbdrivers are required for connecting the device to a PC. I am using Samsung Galaxy y . I did not found any drivers for that model (GT-S5360). Can anybody please help me.
Except from device debugging you can also have a look at the device generated log. There are many applications that allows you to do do, CatLog being one.
You should have the Android SDK.
http://developer.android.com/sdk/index.html
Activate USB Debugging on your device and run adb logcat in a command line on the host.
http://www.groovypost.com/howto/mobile/how-to-enable-usb-debugging-android-phone/
If you use eclipse, you can do all this the same way as on the emulator.
http://developer.android.com/tools/building/building-eclipse.html

Categories

Resources