android get last crash adb

Java
adb logcat -b crash 
Source

Also in Java: