Android---------------解决bug的关键点 一、抛出异常,打出异常的的堆信息 System.err.print("ceshi"); e.printStackTrace(); Log.i("ceshi", "exception "+e);