Cómo imprimir información de pila en Android:
1:
RuntimeException re = new RuntimeException (); re.fillInStackTrace (); Log.e ("información", "información", re);
2:
- Log.w (TAG, Log.getStackTraceString ( nuevo Throwable () ));
3:
- prueba {
- } captura (InterruptedException e) {
- Log.e (TAG, Log.getStackTraceString (e));
- }