A simple/basic/noob friendly tutorial for grabbing a logcat...i know there are many tut's on xda, but its simple to see here.
So here goes =
1. install android SDK [www.android.com]
note = if u want to use apktool and other smali-backsmali tools, u need to install the API packages too
GB = API 10
ICS till 4.0.4 = API 14, 15
JB 4.1.2 = API 16
JB 4.2 and above = API 17 and above].
2. install java JRE [java official website]
3. java SDK [java official website]
note = java 6 or 7...anything is ok
4. then open command prompt
5. u should know the path of ur sdk, where u installed it.
example my path is =
so in the platform-tools directory, the adb, fastboot and logcat and other applications are located...so finally u need to browse to that path through cmd on ur pc
6. then while in the path type this =
7. the above command gives u the list of devices attached.
8. its basic and very important to enable android debugging in ur phone before doin all this.
9. then type this
adb locat > logcat.txt
10. adb logcat generates a live session of logcat in cmd prompt itself.
and second command generates a remote logcat to a text file called logcat. U can name it watever u want, like for example, if the problem is phone app is force close, then instead of logcat, type phoneFC.txt.
This text file will be located in ur platform-tools folder.
11. so if u want to report about a force close, just simulate the problem of force close when the logcat command is running and ur phone is connected to pc
12. then simply attach it here for debugging and fixing purposes